IconAttributes

Attribute names of <vaadin-icon>, for use with setAttribute.

Properties

Link copied to clipboard
const val char: String

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

Link copied to clipboard
const val class: String
Link copied to clipboard
const val fontFamily: String

The font family to use for the font icon.

Link copied to clipboard
const val 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
const val iconClass: String

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

Link copied to clipboard
const val ligature: String

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

Link copied to clipboard
const val size: String

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

Link copied to clipboard
const val src: String

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

Link copied to clipboard
const val symbol: String

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

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.