Header menu logo Sutil

SutilEffect Type

A SutilEffect is the result of evaluating a SutilElement, and can be one of the following:

SideEffect
This usually means the SutilElement was an attribute, and its evaluation resulted in a DOM call such as setAttribute, or classlist.add, etc
DomNode of Node
The SutilElement created a DOM Node. This is usually a Text or an HTMLElement
Group of SutilGroup
A SutilGroup has been created

Union cases

Union case Description

DomNode Node

Full Usage: DomNode Node

Parameters:
Item : Node

Group SutilGroup

Full Usage: Group SutilGroup

Parameters:
Item : SutilGroup

SideEffect

Full Usage: SideEffect

Instance members

Instance member Description

this.AsDomNode

Full Usage: this.AsDomNode

Returns: Node
Returns: Node

this.Dispose

Full Usage: this.Dispose

this.Register

Full Usage: this.Register

Parameters:
childGroup : SutilGroup

Static members

Static member Description

SutilEffect.MakeGroup(name, parent, prevInit)

Full Usage: SutilEffect.MakeGroup(name, parent, prevInit)

Parameters:
Returns: SutilGroup
name : string
parent : SutilEffect
prevInit : SutilEffect
Returns: SutilGroup

SutilEffect.RegisterDisposable(node, d)

Full Usage: SutilEffect.RegisterDisposable(node, d)

Parameters:
node : SutilEffect
d : IDisposable

SutilEffect.RegisterDisposable(node, d)

Full Usage: SutilEffect.RegisterDisposable(node, d)

Parameters:
node : Node
d : IDisposable

SutilEffect.RegisterUnsubscribe(node, d)

Full Usage: SutilEffect.RegisterUnsubscribe(node, d)

Parameters:
node : SutilEffect
d : unit -> unit

SutilEffect.RegisterUnsubscribe(node, d)

Full Usage: SutilEffect.RegisterUnsubscribe(node, d)

Parameters:
    node : Node
    d : unit -> unit

node : Node
d : unit -> unit

Type something to start searching.