All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.platinum.widget.event.ServiceWorkerUpdatedEvent 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.widget.event;

import com.google.gwt.event.dom.client.DomEvent;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 

Fired when the service worker update flow completes successfully.
If you make changes to your <platinum-sw-register> configuration (i.e. by adding in new
<platinum-sw-*> child elements, or changing their attributes), users who had the old
service worker installed will get the update installed when they see the modified elements.

*/ public class ServiceWorkerUpdatedEvent extends DomEvent { public static Type TYPE = new Type( com.vaadin.polymer.platinum.event.ServiceWorkerUpdatedEvent.NAME, new ServiceWorkerUpdatedEvent()); public ServiceWorkerUpdatedEvent() { } public Type getAssociatedType() { return TYPE; } protected void dispatch(ServiceWorkerUpdatedEventHandler handler) { handler.onServiceWorkerUpdated(this); } public com.vaadin.polymer.platinum.event.ServiceWorkerUpdatedEvent getPolymerEvent() { return (com.vaadin.polymer.platinum.event.ServiceWorkerUpdatedEvent)super.getNativeEvent(); } /** *

message indicating that the update succeeded.

*/ public String getA() { return getPolymerEvent().getDetail().getA(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy