Skip to content

MomentFormatComponent.setDefaultFormat method

MomentFormatComponent › setDefaultFormat

Official

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

Signature:

setDefaultFormat(defaultFormat: string): this

Parameters:

Parameter Type Description
defaultFormat string

Returns: this

Since: 0.9.7