com.vaadin.polymer.iron.event.KeysPressedEvent Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from iron-a11y-keys project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.iron.event;
import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JavaScriptObject;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
/**
*
*/
@JsType(isNative=true)
public interface KeysPressedEvent extends Event {
@JsOverlay static final String NAME = "keys-pressed";
@Override
@JsProperty
Detail getDetail();
@JsType(isNative=true)
interface Detail extends Event.Detail {
/**
*
*/
@JsProperty JavaScriptObject getDetail();
/**
* true if shift key is pressed
*/
@JsProperty boolean getShift();
/**
* true if ctrl key is pressed
*/
@JsProperty boolean getCtrl();
/**
* true if meta key is pressed
*/
@JsProperty boolean getMeta();
/**
* true if alt key is pressed
*/
@JsProperty boolean getAlt();
/**
* the normalized key
*/
@JsProperty String getKey();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy