Dart Documentationchrome.inputInputImeUpdateMenuItemsParams

InputImeUpdateMenuItemsParams class

class InputImeUpdateMenuItemsParams extends ChromeObject {
 InputImeUpdateMenuItemsParams({String engineID, List<MenuItem> items}) {
   if (engineID != null) this.engineID = engineID;
   if (items != null) this.items = items;
 }
 InputImeUpdateMenuItemsParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * ID of the engine to use
  */
 String get engineID => jsProxy['engineID'];
 set engineID(String value) => jsProxy['engineID'] = value;

 /**
  * Array of MenuItems to update
  */
 List<MenuItem> get items => listify(jsProxy['items'], _createMenuItem);
 set items(List<MenuItem> value) => jsProxy['items'] = jsify(value);
}

Extends

ChromeObject > InputImeUpdateMenuItemsParams

Constructors

new InputImeUpdateMenuItemsParams({String engineID, List<MenuItem> items}) #

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

docs inherited from ChromeObject
InputImeUpdateMenuItemsParams({String engineID, List<MenuItem> items}) {
 if (engineID != null) this.engineID = engineID;
 if (items != null) this.items = items;
}

new InputImeUpdateMenuItemsParams.fromProxy(JsObject jsProxy) #

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

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

Properties

String engineID #

ID of the engine to use

String get engineID => jsProxy['engineID'];
set engineID(String value) => jsProxy['engineID'] = value;

List<MenuItem> items #

Array of MenuItems to update

List<MenuItem> get items => listify(jsProxy['items'], _createMenuItem);
set items(List<MenuItem> value) => jsProxy['items'] = jsify(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();