Skip to main content

MomentFormatComponent

Extends TextComponent

Constructor​

constructor(containerEl: HTMLElement);

Properties​

sampleEl​

sampleEl: HTMLElement

Methods​

setDefaultFormat​

setDefaultFormat(defaultFormat: string): this;

Sets the default format when input is cleared. Also used for placeholder.

setSampleEl​

setSampleEl(sampleEl: HTMLElement): this;

setValue​

setValue(value: string): this;

onChanged​

onChanged(): void;

updateSample​

updateSample(): void;