Skip to content

SettingEx.addDateTime method

SettingEx › addDateTime

Adds a DateTimeComponent to the setting.

Signature:

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

Parameters:

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

Returns: thisThe setting instance.