Skip to content

IconValue

Official

Value wrapping a renderable icon.

Import:

import { IconValue } from 'obsidian';

Signature:

export class IconValue extends StringValue

Extends: StringValue

Constructor

new IconValue(value: string)

Constructor.

To get the constructor instance, use getIconValueConstructor from obsidian-typings/implementations.

Properties

PropertyTypeDescription
typestring
(Inherited from StringValue)

Links to this page: