Dart Documentationchrome.inputInputImeSetCandidatesParams

InputImeSetCandidatesParams class

class InputImeSetCandidatesParams extends ChromeObject {
 InputImeSetCandidatesParams({int contextID, List<Map> candidates}) {
   if (contextID != null) this.contextID = contextID;
   if (candidates != null) this.candidates = candidates;
 }
 InputImeSetCandidatesParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * ID of the context that owns the candidate window.
  */
 int get contextID => jsProxy['contextID'];
 set contextID(int value) => jsProxy['contextID'] = value;

 /**
  * List of candidates to show in the candidate window
  */
 List<Map> get candidates => listify(jsProxy['candidates'], mapify);
 set candidates(List<Map> value) => jsProxy['candidates'] = jsify(value);
}

Extends

ChromeObject > InputImeSetCandidatesParams

Constructors

new InputImeSetCandidatesParams({int contextID, List<Map> candidates}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
InputImeSetCandidatesParams({int contextID, List<Map> candidates}) {
 if (contextID != null) this.contextID = contextID;
 if (candidates != null) this.candidates = candidates;
}

new InputImeSetCandidatesParams.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
InputImeSetCandidatesParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

List<Map> candidates #

List of candidates to show in the candidate window

List<Map> get candidates => listify(jsProxy['candidates'], mapify);
set candidates(List<Map> value) => jsProxy['candidates'] = jsify(value);

int contextID #

ID of the context that owns the candidate window.

int get contextID => jsProxy['contextID'];
set contextID(int value) => jsProxy['contextID'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();