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

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

The newest version!
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from paper-behaviors 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;


/**
 * 
 */
@JsType(isNative=true)
public interface PaperButtonBehavior {

    @JsOverlay public static final String NAME = "Polymer.PaperButtonBehavior";
    @JsOverlay public static final String SRC = "paper-behaviors/paper-button-behavior.html";


    /**
     * 

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 * @behavior PaperFab */ @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 * @behavior PaperFab */ @JsProperty void setElevation(double value); /** *

If true, the element will not produce a ripple effect when interacted
with via the pointer.

* * JavaScript Info: * @property noink * @type Boolean * @behavior PaperFab */ @JsProperty boolean getNoink(); /** *

If true, the element will not produce a ripple effect when interacted
with via the pointer.

* * JavaScript Info: * @property noink * @type Boolean * @behavior PaperFab */ @JsProperty void setNoink(boolean value); /** *

Ensures this element contains a ripple effect. For startup efficiency
the ripple effect is dynamically on demand when needed.

* * JavaScript Info: * @method ensureRipple * @param {!Event=} optTriggeringEvent * @behavior PaperFab * */ void ensureRipple(JavaScriptObject optTriggeringEvent); /** *

Returns the <paper-ripple> element used by this element to create
ripple effects. The element’s ripple is created on demand, when
necessary, and calling this method will force the
ripple to be created.

* * JavaScript Info: * @method getRipple * @behavior PaperFab * */ void getRipple(); /** *

Returns true if this element currently contains a ripple effect.

* * JavaScript Info: * @method hasRipple * @behavior PaperFab * @return {boolean} */ boolean hasRipple(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy