Element to bind props to
Optional
props: null | AllHTMLElementPropsProps to bind with
Optional
ns: falseIf namespace element
Binds children to element.
boolean
will be treated as a boolean attribute usind toggleAttribute
, and will
follow the rules of boolean
attributesstring
, number
, bigint
will be cast to a string before being added as an
attribute to element
ref
prop can be a Ref
or array of Ref
, and the current value of the ref(s) will be set
to the current elementnull
will be removed from element
undefined
will be ignoredElement to bind props to
Props to bind with
If namespace element
Binds children to element.
boolean
will be treated as a boolean attribute usind toggleAttribute
, and will
follow the rules of boolean
attributesstring
, number
, bigint
will be cast to a string before being added as an
attribute to element
ref
prop can be a Ref
or array of Ref
, and the current value of the ref(s) will be set
to the current elementnull
will be removed from element
undefined
will be ignoredElement to bind props to
Optional
props: null | GeneralProps<Node>Props to bind with
Optional
ns: booleanIf namespace element
Generated using TypeDoc
Binds children to element.
boolean
will be treated as a boolean attribute usindtoggleAttribute
, and will follow the rules of boolean attributesstring
,number
,bigint
will be cast to a string before being added as an attribute toelement
ref
prop can be aRef
or array ofRef
, and the current value of the ref(s) will be set to the current elementnull
will be removed fromelement
undefined
will be ignored