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
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.