MomentFormatComponent.setDefaultFormat method
MomentFormatComponent › setDefaultFormat
Official
Sets the default format when input is cleared. Also used for placeholder.Signature:
setDefaultFormat(defaultFormat: string): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| defaultFormat | string |
Returns: this
Since: 0.9.7