IconContentIconOptions

Options for generating CSS for one icon as pseudo-element content.

Properties

Link copied to clipboard
abstract var color: String?

Color for monotone icons.

Link copied to clipboard
abstract var customise: (String) -> String?

Customise the icon body before generating CSS.

Link copied to clipboard
abstract var format: CSSFormatMode?

Formatter.

Link copied to clipboard
abstract var height: Double

Icon height.

Link copied to clipboard
abstract var iconSelector: String?

Selector used for the icon.

Link copied to clipboard
abstract var rules: dynamic

Additional CSS rules, keyed by property name.

Link copied to clipboard
abstract var width: Double?

Icon width. Defaults to the height adjusted by the icon's width/height ratio.