Docs Icons Classes Icon

Icon

Syntax

new Icon(name)

Overview

The Icon class represents an icon.

Parameters

name

A string containing the name of the desired icon.

Properties

Inherits properties from its parent, HTMLElement.

Icon.name

Returns the name of the icon.