@JsType(isNative=true, namespace="window", name="envelope") public class KeyboardShortcutsApiInteropWrapper extends Object
Constructor and Description |
---|
KeyboardShortcutsApiInteropWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
deregister(int id) |
static KeyboardShortcutsApiInteropWrapper |
get() |
int |
registerKeyDownThenUp(String combination,
String label,
KeyboardShortcutsApi.Action onKeyDown,
KeyboardShortcutsApi.Action onKeyUp,
KeyboardShortcutsApiOpts opts) |
int |
registerKeyPress(String combination,
String label,
KeyboardShortcutsApi.Action onKeyDown,
KeyboardShortcutsApiOpts opts) |
public int registerKeyPress(String combination, String label, KeyboardShortcutsApi.Action onKeyDown, KeyboardShortcutsApiOpts opts)
public int registerKeyDownThenUp(String combination, String label, KeyboardShortcutsApi.Action onKeyDown, KeyboardShortcutsApi.Action onKeyUp, KeyboardShortcutsApiOpts opts)
public void deregister(int id)
@JsProperty(name="keyboardShortcuts") public static KeyboardShortcutsApiInteropWrapper get()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.