HtmlMouse class
Support for mouse in in-browser context by dispatching MouseEvents.
- Implemented types
Properties
Methods
-
down(
MouseButton button, {PageLoaderElement? eventTarget, ClickOption? clickOption}) → Future -
Press
button
on the mouse at its current location withclickOption
. IfeventTarget
is specified, PageLoader will attempt to fire the corresponding mouse events on that target, otherwise it will fire the events on the target that is under the current mouse location.clickOption
is only used for Html.override -
moveTo(
covariant HtmlPageLoaderElement element, int? xOffset, int? yOffset, {List< PageLoaderElement> ? dispatchTo = const <PageLoaderElement>[], int? stepPixels, Duration? duration = Duration.zero}) → Future -
Move the mouse from previous location to a location relative to
element
, offset byxOffset
andyOffset
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
up(
MouseButton button, {PageLoaderElement? eventTarget, ClickOption? clickOption}) → Future -
Release
button
on the mouse at its current location withclickOption
. IfeventTarget
is specified, PageLoader will attempt to fire the corresponding mouse events on that target, otherwise it will fire the events on the target that is under the current mouse location.clickOption
is only used for Html.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited