A tag element according to the htmlWebpackPlugin object notation

Hierarchy

  • HtmlTagObject

Properties

attributes: {
    [attributeName: string]: string | boolean | null | undefined;
}

Attributes of the html tag E.g. {'disabled': true, 'value': 'demo'}

Type declaration

  • [attributeName: string]: string | boolean | null | undefined
innerHTML?: string

The inner HTML

meta: {
    plugin?: string;
    [metaAttributeName: string]: any;
}

Meta information about the tag E.g. {'plugin': 'html-webpack-plugin'}

Type declaration

  • [metaAttributeName: string]: any
  • Optional plugin?: string
tagName: string

The tag name e.g. 'div'

voidTag: boolean

Whether this html must not contain innerHTML

Generated using TypeDoc