File

src/lib/dl-date-time-picker/dl-date-time-picker-change.ts

Description

Emitted when the value of a date/time picker changes.

Index

Accessors

Constructor

constructor(newValue: D)

Constructs a new instance. the new value of the date/time picker.

Parameters :
Name Type Optional Description
newValue D No

the new value of the date/time picker.

Accessors

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;
  }
}

results matching ""

    No results matching ""