com.vaadin.polymer.iron.IronOverlayBackdropElement Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from iron-overlay-behavior project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.iron;
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;
/**
* iron-overlay-backdrop
is a backdrop used by Polymer.IronOverlayBehavior
. It should be a
singleton.
* Styling
* The following custom properties and mixins are available for styling.
*
*
*
* Custom property
* Description
* Default
*
*
*
*
* --iron-overlay-backdrop-background-color
* Backdrop background color
* #000
*
*
* --iron-overlay-backdrop-opacity
* Backdrop opacity
* 0.6
*
*
* --iron-overlay-backdrop
* Mixin applied to iron-overlay-backdrop
.
* {}
*
*
* --iron-overlay-backdrop-opened
* Mixin applied to iron-overlay-backdrop
when it is displayed
* {}
*
*
*
*/
@JsType(isNative=true)
public interface IronOverlayBackdropElement extends HTMLElement {
@JsOverlay public static final String TAG = "iron-overlay-backdrop";
@JsOverlay public static final String SRC = "iron-overlay-behavior/iron-overlay-behavior.html";
/**
* Returns true if the backdrop is opened.
*
* JavaScript Info:
* @property opened
* @type Boolean
*
*/
@JsProperty boolean getOpened();
/**
* Returns true if the backdrop is opened.
*
* JavaScript Info:
* @property opened
* @type Boolean
*
*/
@JsProperty void setOpened(boolean value);
/**
* Hides the backdrop.
*
* JavaScript Info:
* @method close
*
*
*/
void close();
/**
* Removes the backdrop from document body if needed.
*
* JavaScript Info:
* @method complete
*
*
*/
void complete();
/**
* Shows the backdrop.
*
* JavaScript Info:
* @method open
*
*
*/
void open();
/**
* Appends the backdrop to document body if needed.
*
* JavaScript Info:
* @method prepare
*
*
*/
void prepare();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy