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

com.vaadin.polymer.app.AppNetworkStatusBehavior Maven / Gradle / Ivy

The newest version!
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from app-storage project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.app;

import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;


/**
 * 

Polymer.AppNetworkStatusBehavior tracks the status of whether the browser
is online or offline. True if the browser is online, and false if the browser is
offline matching the HTML browser state spec.

*/ @JsType(isNative=true) public interface AppNetworkStatusBehavior { @JsOverlay public static final String NAME = "Polymer.AppNetworkStatusBehavior"; @JsOverlay public static final String SRC = "app-storage/app-network-status-behavior.html"; /** *

True if the browser is online, and false if the browser is offline
matching the HTML browser state spec.

* * JavaScript Info: * @property online * @type Boolean * */ @JsProperty boolean getOnline(); /** *

True if the browser is online, and false if the browser is offline
matching the HTML browser state spec.

* * JavaScript Info: * @property online * @type Boolean * */ @JsProperty void setOnline(boolean value); /** *

Updates the online property to reflect the browser connection status.

* * JavaScript Info: * @method refreshNetworkStatus * * */ void refreshNetworkStatus(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy