UIEventPhase

enum UIEventPhase : Enum<UIEventPhase>

Represents the possible phases of event propagation for an UIEvent which is very similar to how it works in a browser.

Entries

CAPTURE
Link copied to clipboard
common
The capture phase happens when the ui components are being traversed from the root to the target.
TARGET
Link copied to clipboard
common
The target phase is when the target receives the event.
BUBBLE
Link copied to clipboard
common
The bubbling phase happens when the ui components are being traversed backwards from the target to the root.

Functions

compareTo
Link copied to clipboard
common
operator override fun compareTo(other: UIEventPhase): Int
equals
Link copied to clipboard
common
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int

Sources

(source)
Link copied to clipboard