<hx-file-icon> v0.9.0+ HelixUI v0.9.0 or later required

The custom <hx-file-icon> element renders a "file" icon with a customizable image and extension.

Attributes

Attributes enable declarative configuration of an element, via HTML markup.

extension {String} (optional)
Sets the extension of the file icon.
type {String}
Changes the displayed icon to one of the available icons

Properties

JavaScript properties enable programmatic access to an element's configuration and state.

extension {String}

Manipulates the extension attribute.

type {String}
Changes the displayed icon to one of the available icons

See Also