MomentFormatComponent class
Signature:
export class MomentFormatComponent extends TextComponent
Extends: TextComponent
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(containerEl) | Constructs a new instance of the (Inherited from TextComponent) |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
disabled | boolean | (Inherited from BaseComponent) | |
inputEl | T | (Inherited from AbstractTextComponent) | |
sampleEl | HTMLElement |
Methods
Method | Modifiers | Description |
---|---|---|
getValue() | (Inherited from AbstractTextComponent) | |
onChange(callback) | (Inherited from AbstractTextComponent) | |
onChanged() | ||
registerOptionListener(listeners, key) | (Inherited from ValueComponent) | |
setDefaultFormat(defaultFormat) | Sets the default format when input is cleared. Also used for placeholder. | |
setDisabled(disabled) | (Inherited from AbstractTextComponent) | |
setPlaceholder(placeholder) | (Inherited from AbstractTextComponent) | |
setSampleEl(sampleEl) | ||
setValue(value) | ||
then(cb) | Facilitates chaining (Inherited from BaseComponent) | |
updateSample() |