Confirmed users
478
edits
m (→Proposed API) |
|||
Line 76: | Line 76: | ||
// OS should ignore this request if the app is currently not the active one. | // OS should ignore this request if the app is currently not the active one. | ||
void next(); | void next(); | ||
// Clear the focus of the current input field. | // Clear the focus of the current input field. | ||
// The OS might respond with hidden of the virtual keyboard and void the input context. | // The OS might respond with hidden of the virtual keyboard and void the input context. | ||
Line 99: | Line 99: | ||
*/ | */ | ||
DOMString inputmode; | DOMString inputmode; | ||
/* | |||
* The primary language for the input field. | |||
* It is the value of HTMLElement.lang. | |||
* See http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#htmlelement | |||
*/ | |||
DOMString lang; | |||
/* | /* | ||
* This event is sent when the text around the cursor is changed, due to either text | * This event is sent when the text around the cursor is changed, due to either text | ||
Line 178: | Line 178: | ||
Promise<boolean> clearComposition(); | Promise<boolean> clearComposition(); | ||
}; | }; | ||
== Examples == | == Examples == |