IconSvgInfo

external interface IconSvgInfo

An icon of a registered iconset, as returned by Iconset.getIconSvg.

Assign svg to IconMixin.svg to render the icon.

Properties

Link copied to clipboard
abstract val size: Double?

The size in pixels declared by the iconset.

Link copied to clipboard
abstract val svg: IconSvgLiteral

The icon content as an SVG literal, or the nothing sentinel when the icon was not found.

Link copied to clipboard
abstract val viewBox: String?

The viewBox attribute of the iconset entry, or null when the entry has none.