Home > borogove > Html > element

Html.element() method

HTML builder, make an element

Signature:

static element(tag: string, attrs: { [key: string]: string }, children: borogove_Html[]): borogove_Html;

Parameters

Parameter Type Description
tag string
attrs { [key: string]: string }
children borogove_Html[]

Returns:

borogove_Html