Skip to content

SettingEx.addDateTime method

SettingEx › addDateTime

Adds a DateTimeComponent to the setting.

Signature:

addDateTime(cb: (dateTime: DateTimeComponent) => void): this

Parameters:

ParameterTypeDescription
cb(dateTime: DateTimeComponent) => voidThe callback to call with the component.

Returns: thisThe setting instance.