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

Property Type Description
type string
(Inherited from StringValue)

Links to this page: