Node

Namespace: Bolero

HTML fragment.

Union Cases

Union CaseDescription
Component(Type,attrs,children)
Signature: Type * Attr list * Node list

A single Blazor component.

Concat(Node list)
Signature: Node list

A concatenation of several HTML fragments.

Cond(bool,Node)
Signature: bool * Node

A conditional "if" component.

Elt(name,attrs,children)
Signature: string * Attr list * Node list

A single HTML element.

Empty
Signature:

An empty HTML fragment.

ForEach(Node list)
Signature: Node list

A list of similarly structured fragments.

Fragment(RenderFragment)
Signature: RenderFragment

A Blazor fragment.

Match(unionType,value,node)
Signature: Type * obj * Node

A conditional "match" component.

RawHtml(html)
Signature: string

A raw HTML fragment.

Text(text)
Signature: string

A single HTML text node.

Static members

Static memberDescription
Node.BlazorComponent(attrs, children)
Signature: (attrs:Attr list * children:Node list) -> Node
Type parameters: 'T

A single Blazor component, statically typed.