StopPropagation

object StopPropagation : UIEventResponse

StopPropagation will not only prevent default actions but stops propagation altogether so the event won't reach any other listener.

Return this object if you acted on an event and you don't want any other listeners to have the chance of handling the event.

Functions

allowsDefaults
Link copied to clipboard
common
fun allowsDefaults(): Boolean
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
hasPrecedenceOver
Link copied to clipboard
common
fun hasPrecedenceOver(other: UIEventResponse): Boolean
pickByPrecedence
Link copied to clipboard
common
fun pickByPrecedence(other: UIEventResponse): UIEventResponse
Picks the UIEventResponse which has higher precedence from this one and the other.
shouldStopPropagation
Link copied to clipboard
common
fun shouldStopPropagation(): Boolean
toString
Link copied to clipboard
common
open fun toString(): String

Properties

eventProcessed
Link copied to clipboard
common
val eventProcessed: Boolean
Tells whether the UIEvent had any effect on the underlying system or not.

Sources

(source)
Link copied to clipboard