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

com.vaadin.polymer.paper.element.PaperToastElement Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from paper-toast project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.paper.element;

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

/**
 * 

paper-toast provides a subtle notification toast.

*/ @JsType public interface PaperToastElement extends HTMLElement { public static final String TAG = "paper-toast"; public static final String SRC = "paper-toast/paper-toast.html"; /** *

The duration in milliseconds to show the toast.

* * JavaScript Info: * @property duration * @type Number * */ @JsProperty double getDuration(); /** *

The duration in milliseconds to show the toast.

* * JavaScript Info: * @property duration * @type Number * */ @JsProperty void setDuration(double value); /** *

Hide the toast

* * JavaScript Info: * @method hide * */ void hide(); /** *

Show the toast.

* * JavaScript Info: * @method show * */ void show(); /** *

The text to display in the toast.

* * JavaScript Info: * @property text * @type String * */ @JsProperty String getText(); /** *

The text to display in the toast.

* * JavaScript Info: * @property text * @type String * */ @JsProperty void setText(String value); /** *

Toggle the opened state of the toast.

* * JavaScript Info: * @method toggle * */ void toggle(); /** *

True if the toast is currently visible.

* * JavaScript Info: * @property visible * @type Boolean * */ @JsProperty boolean getVisible(); /** *

True if the toast is currently visible.

* * JavaScript Info: * @property visible * @type Boolean * */ @JsProperty void setVisible(boolean value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy