Package-level declarations

Functions

Link copied to clipboard
fun CustomEventParams(document: Document, params: EventParams = EventParams(), payload: Any? = null): CustomEventParams
fun CustomEventParams(document: Document, params: EventParams = EventParams(), payload: Any? = null): CustomEventParams

Creates a new instance of CustomEventParams with the given parameters.

Link copied to clipboard
fun EventParams(bubbles: Boolean = false, cancelable: Boolean = false): EventParams
fun EventParams(bubbles: Boolean = false, cancelable: Boolean = false): EventParams

Creates a new instance of EventParams with the given parameters.

Link copied to clipboard
fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: DomKeyCode = DOM_KEY_CODE_UNSPECIFIED, character: String = ""): KeyEventParams
fun KeyEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), domKeyCode: DomKeyCode = DOM_KEY_CODE_UNSPECIFIED, character: String = ""): KeyEventParams

Creates a new instance of KeyEventParams with the given parameters.

Link copied to clipboard
fun MouseEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), location: Point = Point.empty(), locationOnScreen: Point = Point.empty(), button: MouseEvent.Button = Button.MAIN, clickCount: Int = 0): MouseEventParams
fun MouseEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), location: Point = Point.empty(), locationOnScreen: Point = Point.empty(), button: MouseEvent.Button = Button.MAIN, clickCount: Int = 0): MouseEventParams

Creates a new instance of MouseEventParams with the given parameters.

Link copied to clipboard
fun UiEventModifierParams(eventParams: EventParams = EventParams(), keyModifiers: KeyModifiers = KeyModifiers()): UiEventModifierParams
fun UiEventModifierParams(eventParams: EventParams = EventParams(), keyModifiers: KeyModifiers = KeyModifiers()): UiEventModifierParams

Creates a new instance of UiEventModifierParams with the given parameters.

Link copied to clipboard
fun WheelEventParams(mouseEventParams: MouseEventParams = MouseEventParams(), deltaX: Double = 0.0, deltaY: Double = 0.0, deltaMode: WheelEvent.DeltaMode = DeltaMode.PIXEL): WheelEventParams
fun WheelEventParams(mouseEventParams: MouseEventParams = MouseEventParams(), deltaX: Double = 0.0, deltaY: Double = 0.0, deltaMode: WheelEvent.DeltaMode = DeltaMode.PIXEL): WheelEventParams

Creates a new instance of WheelEventParams with the given parameters.