Skip to content

getTextComponentConstructor

Unofficial

Get the obsidian#TextComponent constructor.

Import:

import { getTextComponentConstructor } from '@obsidian-typings/obsidian-catalyst-latest/implementations';

Signature:

function getTextComponentConstructor(): ConstructorBase<[containerEl: HTMLElement], TextComponent>

Returns: ConstructorBase<[containerEl: HTMLElement], TextComponent> — The obsidian#TextComponent constructor.


Links to this page: