ElPointerManager class
一个简单的手势竞技场,它的作用是为了阻止 Listener 原始指针事件小部件的事件冒泡
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
Static Methods
-
addPointer(
dynamic id) → bool - 将指针添加到集合中,如果添加成功,则返回 true,ElListener 在指针按下时会调用
-
clean(
) → void - 清空全部指针
-
eager(
dynamic id) → void - 将传入的指针作为唯一胜利者,丢弃其他指针事件
-
isDeprecated(
dynamic id) → bool - 指针是否被丢弃,被丢弃的指针不应该执行绑定的事件逻辑
-
removeAncestorPointer(
dynamic id) → void - 以传入的指针为原点,移除祖先绑定的指针事件,保留后代指针事件
-
removeChildrenPointer(
dynamic id) → void - 以传入的指针为原点,移除后代绑定的指针事件,保留祖先指针事件
-
removePointer(
dynamic id) → bool - 将指针从集合中移除,如果移除成功,则返回 true,ElListener 在指针抬起时、指针被取消时调用