Table of Contents

Method Fragment

Namespace
TinyComponents
Assembly
TinyComponents.dll

Fragment(params object?[])

Creates an fragment HtmlElement with specified children.

public static HtmlElement Fragment(params object?[] children)

Parameters

children object[]

An array of objects to put as children of the creating fragment.

Returns

HtmlElement

Fragment(Action<HtmlElement>)

Creates an fragment HtmlElement with specified self-action.

public static HtmlElement Fragment(Action<HtmlElement> action)

Parameters

action Action<HtmlElement>

An action that defines content for the creating HTML element.

Returns

HtmlElement