Skip to content

ImageValue

Official

Value wrapping a path to an image resource in the vault.

Import:

import { ImageValue } from 'obsidian';

Signature:

export class ImageValue extends StringValue

Extends: StringValue

Constructor

new ImageValue(value: string)

Constructor.

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

Properties

Property Type Description
type string
(Inherited from StringValue)

Links to this page: