InputContext class
Describes an input Context
class InputContext extends ChromeObject { InputContext({int contextID, String type}) { if (contextID != null) this.contextID = contextID; if (type != null) this.type = type; } InputContext.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * This is used to specify targets of text field operations. This ID becomes * invalid as soon as onBlur is called. */ int get contextID => jsProxy['contextID']; set contextID(int value) => jsProxy['contextID'] = value; /** * Type of value this text field edits, (Text, Number, Password, etc) * enum of `text`, `number`, `password` */ String get type => jsProxy['type']; set type(String value) => jsProxy['type'] = value; }
Extends
ChromeObject > InputContext
Constructors
new InputContext({int contextID, String type}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
InputContext({int contextID, String type}) { if (contextID != null) this.contextID = contextID; if (type != null) this.type = type; }
new InputContext.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
InputContext.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int contextID #
This is used to specify targets of text field operations. This ID becomes invalid as soon as onBlur is called.
int get contextID => jsProxy['contextID'];
set contextID(int value) => jsProxy['contextID'] = value;
String type #
Type of value this text field edits, (Text, Number, Password, etc)
enum of text
, number
, password
String get type => jsProxy['type'];
set type(String value) => jsProxy['type'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();