Changes

Jump to: navigation, search

WebAPI/KeboardIME

28 bytes removed, 08:17, 27 August 2013
m
Proposed API
/*
* Get specified range of text content from the input field.
* @param offset start The offset from the cursor start position where of the range starts. Defaults to 0.
* @param length The range length. Defaults to the end of the text.
*/
Promise<DOMString> getText([optional] offsetstart, [optional] length);
// The start and stop position of the selection.
readonly attribute DOMString textBeforeCursor;
readonly attribute DOMString textAfterCursor;
/*
* Set the selection range of the the editable text.
Confirm
58
edits

Navigation menu