MomentFormatComponent

MomentFormatComponent class

Signature:

export class MomentFormatComponent extends TextComponent 

Extends: TextComponent

Constructors

ConstructorModifiersDescription
(constructor)(containerEl)

Constructs a new instance of the TextComponent class

(Inherited from TextComponent)

Properties

PropertyModifiersTypeDescription
disabledboolean

(Inherited from BaseComponent)

inputElT

(Inherited from AbstractTextComponent)

sampleElHTMLElement

Methods

MethodModifiersDescription
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()