Type alias ElementBaseAttrs

ElementBaseAttrs: { readonly [ T in ElementAttrNames]?: string }

The base attributes for a virtual element node.

These are the attributes which are applied to a real DOM element via element.setAttribute(). The supported attribute names are defined by the ElementAttrNames type.

Node attributes are specified using the lower-case HTML name instead of the camel-case JS name due to browser inconsistencies in handling the JS versions.

Generated using TypeDoc