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

com.vaadin.polymer.paper.PaperMaterialElement Maven / Gradle / Ivy

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

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;

/**
 * 

Material design: Cards

*

paper-material is a container that renders two shadows on top of each other to
create the effect of a lifted piece of paper.

*

Example:

*
<paper-material elevation="1">
 *   ... content ...
 * </paper-material>
 * 
 * 
 * 
*/ @JsType(isNative=true) public interface PaperMaterialElement extends HTMLElement { @JsOverlay public static final String TAG = "paper-material"; @JsOverlay public static final String SRC = "paper-material/paper-material.html"; /** *

Set this to true to animate the shadow when setting a new
elevation value.

* * JavaScript Info: * @property animated * @type Boolean * */ @JsProperty boolean getAnimated(); /** *

Set this to true to animate the shadow when setting a new
elevation value.

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

The z-depth of this element, from 0-5. Setting to 0 will remove the
shadow, and each increasing number greater than 0 will be “deeper”
than the last.

* * JavaScript Info: * @property elevation * @type Number * */ @JsProperty double getElevation(); /** *

The z-depth of this element, from 0-5. Setting to 0 will remove the
shadow, and each increasing number greater than 0 will be “deeper”
than the last.

* * JavaScript Info: * @property elevation * @type Number * */ @JsProperty void setElevation(double value); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy