Class type Goog.​Ui.​popupDatePicker

class type popupDatePicker = object..end

Inherits


method attach : 'a. (#Dom_html.element as 'a) Js.t -> unit Js.meth

Attaches the popup date picker to an element.

method canDecorate : 
'b. (#Dom_html.element as 'b) Js.t -> bool Js.t Js.meth

DatePicker cannot be used to decorate pre-existing html, since they're not based on Components. Returns Returns always false.

method createDom : unit Js.meth
method detach : 'c. (#Dom_html.element as 'c) Js.t -> unit Js.meth

Detatches the popup date picker from an element.

method disposeInternal : unit Js.meth
method enterDocument : unit Js.meth
method getAllowAutoFocus : bool Js.t Js.meth

Returns Whether the date picker can automatically move focus to its key event target when it is set to visible.

method getDate : Goog.Date.date Js.t Js.opt Js.meth

Returns The selected date, if any. See goog.ui.DatePicker.getDate().

method getDatePicker : datePicker Js.t Js.meth

Returns The date picker instance.

method getLastTarget : 'd. (#Dom_html.element as 'd) Js.t Js.meth

Returns The last element that triggered the popup.

method hidePopup : unit Js.meth

Hides this popup.

method setAllowAutoFocus : bool Js.t -> unit Js.meth

Sets whether the date picker can automatically move focus to its key event target when it is set to visible.

method setDate : Goog.Date.date Js.t Js.opt -> unit Js.meth

Sets the selected date. See goog.ui.DatePicker.setDate().

method showPopup : 'e. (#Dom_html.element as 'e) Js.t -> unit Js.meth

Show the popup at the bottom-left corner of the specified element.