Header menu logo Sutil

SutilEventEngine Type

DOM attributes for listening to events

Example

 Html.button [
     Ev.onClick (fun _ -> Fable.Core.JS.console.log("Clicked"))
 ]

Constructors

Constructor Description

SutilEventEngine()

Full Usage: SutilEventEngine()

Returns: SutilEventEngine
Returns: SutilEventEngine

Instance members

Instance member Description

this.onMount handler

Full Usage: this.onMount handler

Parameters:
    handler : Event -> unit

Returns: SutilElement
handler : Event -> unit
Returns: SutilElement

this.onUnmount handler

Full Usage: this.onUnmount handler

Parameters:
    handler : Event -> unit

Returns: SutilElement
handler : Event -> unit
Returns: SutilElement

Type something to start searching.