IconMixin

external interface IconMixin : IconFontSizeMixin

Inheritors

Properties

Link copied to clipboard
abstract var char: String

A hexadecimal code point that specifies a glyph from an icon font.

Link copied to clipboard
abstract var fontFamily: String

The font family to use for the font icon.

Link copied to clipboard
abstract var icon: String

The name of the icon to use. The name should be of the form: iconset_name:icon_name. When using vaadin-icons it is possible to omit the first part and only use icon_name as a value.

Link copied to clipboard
abstract var iconClass: String

Class names defining an icon font and/or a specific glyph inside an icon font.

Link copied to clipboard
abstract var ligature: String

A ligature name that specifies an icon from an icon font with support for ligatures.

Link copied to clipboard
abstract var size: Double

The size of an icon, used to set the viewBox attribute.

Link copied to clipboard
abstract var src: String

The SVG source to be loaded as the icon. It can be:

Link copied to clipboard
abstract var svg: IconSvgLiteral

The SVG icon wrapped in a Lit template literal.

Link copied to clipboard
abstract var symbol: String

The symbol identifier that references an ID of an element contained in the SVG element assigned to the src property