{ [attr:string]: string | Observable<string | undefined> }
{
[prop:string]:
| any
| Observable<any>
}
{
[event:string]:
| (event:Event) => any
| Observer<Event>
}
event
event. An observer will also receive complete
signal upon element removal from DOM.{
[styleProp]:
| string
| Observable<string|undefined>
}
(element: HTMLElement) => any
(element: HTMLElement) => any
ref
is provided with the element reference."immediate" | "self" | "branch"
html.*
functions return DOMElement
structure that second argument of html.*
, svg.*
and mount
can consist of. Second argument can be composed also from string
s which will be responsible of creation Text
nodes.textContent
is preferred.span
s with textContent
pointed to a stream of these texts.