com.vaadin.polymer.platinum.event.ServiceWorkerInstalledEvent Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from platinum-sw project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.platinum.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 initial service worker installation completes successfully.
The service worker will normally only be installed once, the first time a page with a
<platinum-sw-register>
element is visited in a given browser. If the same page is visited
again, the existing service worker will be reused, and there won’t be another
service-worker-installed
fired.
*/
@JsType(isNative=true)
public interface ServiceWorkerInstalledEvent extends Event {
@JsOverlay static final String NAME = "service-worker-installed";
@Override
@JsProperty
Detail getDetail();
@JsType(isNative=true)
interface Detail extends Event.Detail {
/**
* message indicating that the installation succeeded.
*/
@JsProperty String getA();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy