GenericElement

Definition

function GenericElement(...children: HTMLElement) {
    return HTMLElement
}

Generic List

The GenericElement represents all the HTML Element present as of HTML5 Specification. Checkout the list of HTML5 Elements here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element

Example

function div(...children: HTMLElement) {
    return HTMLElement //a div container
}

Input

  • children : list of the reference to a valid bolt app, a bolt functional component or a valid bold variable component

Returns HTMLElement

Creates a new generic HTMLElement and returns the HTMLElement

Last updated