com.vaadin.polymer.iron.event.IronOverlayCanceledEvent Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from vaadin-context-menu project by unknown author
* that is licensed with Apache-2.0 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;
/**
* Fired when the overlay is canceled, but before it is closed.
*/
@JsType(isNative=true)
public interface IronOverlayCanceledEvent extends Event {
@JsOverlay static final String NAME = "iron-overlay-canceled";
@Override
@JsProperty
Detail getDetail();
@JsType(isNative=true)
interface Detail extends Event.Detail {
/**
* The closing of the overlay can be prevented
by calling event.preventDefault()
. The event.detail
is the original event that
originated the canceling (e.g. ESC keyboard event or click event outside the overlay).
*/
@JsProperty JavaScriptObject getEvent();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy