Dart Documentationchrome.inputInputImeDeleteSurroundingTextParams

InputImeDeleteSurroundingTextParams class

class InputImeDeleteSurroundingTextParams extends ChromeObject {
 InputImeDeleteSurroundingTextParams({String engineID, int contextID, int offset, int length}) {
   if (engineID != null) this.engineID = engineID;
   if (contextID != null) this.contextID = contextID;
   if (offset != null) this.offset = offset;
   if (length != null) this.length = length;
 }
 InputImeDeleteSurroundingTextParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

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

 /**
  * ID of the context where the surrounding text will be deleted.
  */
 int get contextID => jsProxy['contextID'];
 set contextID(int value) => jsProxy['contextID'] = value;

 /**
  * The offset from the caret position where deletion will start. This value
  * can be negative.
  */
 int get offset => jsProxy['offset'];
 set offset(int value) => jsProxy['offset'] = value;

 /**
  * The number of characters to be deleted
  */
 int get length => jsProxy['length'];
 set length(int value) => jsProxy['length'] = value;
}

Extends

ChromeObject > InputImeDeleteSurroundingTextParams

Constructors

new InputImeDeleteSurroundingTextParams({String engineID, int contextID, int offset, int length}) #

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

docs inherited from ChromeObject
InputImeDeleteSurroundingTextParams({String engineID, int contextID, int offset, int length}) {
 if (engineID != null) this.engineID = engineID;
 if (contextID != null) this.contextID = contextID;
 if (offset != null) this.offset = offset;
 if (length != null) this.length = length;
}

new InputImeDeleteSurroundingTextParams.fromProxy(JsObject jsProxy) #

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

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

Properties

int contextID #

ID of the context where the surrounding text will be deleted.

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

String engineID #

ID of the engine receiving the event.

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

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int length #

The number of characters to be deleted

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

int offset #

The offset from the caret position where deletion will start. This value can be negative.

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

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();