Class type Goog.​Ui.​prompt

class type prompt = object..end

Inherits


method getCols : int Js.meth
method getRows : int Js.meth

Return the number of rows in the user input element.

method setCols : int -> unit Js.meth

Set the number of cols in the user input element.

method setDefaultValue : Js.js_string Js.t -> unit Js.meth

Sets the default value of the prompt when it is displayed.

method setRows : int -> unit Js.meth

Set the number of rows in the user input element.

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

Causes the prompt to appear, centered on the screen, gives focus to the text box, and selects the text