Header menu logo Sutil

WebComponent Type

Support for defining Web Components in Sutil

Static members

Static member Description

WebComponent.Register(name, view, init)

Full Usage: WebComponent.Register(name, view, init)

Parameters:
name : string
view : IStore<'T> -> SutilElement
init : 'T

WebComponent.Register(name, view, init)

Full Usage: WebComponent.Register(name, view, init)

Parameters:
name : string
view : IStore<'T> -> Node -> SutilElement
init : 'T

WebComponent.Register(name, view, initValue, initModel, dispose)

Full Usage: WebComponent.Register(name, view, initValue, initModel, dispose)

Parameters:
name : string
view : IStore<'T> -> Node -> SutilElement
initValue : 'T
initModel : unit -> IStore<'T>
dispose : IStore<'T> -> unit

Type something to start searching.