src/lib/dl-date-time-picker/dl-date-time-picker-change.ts
Emitted when the value of a date/time picker changes.
Accessors |
constructor(newValue: D)
|
||||||||
Constructs a new instance. the new value of the date/time picker.
Parameters :
|
value |
getvalue()
|
Get the new value of the date/time picker.
Returns :
D
|
export class DlDateTimePickerChange<D> {
/**
* The new value of the picker.
*/
private readonly _value: D;
/**
* Constructs a new instance.
* @param newValue
* the new value of the date/time picker.
*/
constructor(newValue: D) {
this._value = newValue;
}
/**
* Get the new value of the date/time picker.
* @returns the new value or null.
*/
get value(): D {
return this._value;
}
}