com.vaadin.polymer.neon.NeonSharedElementAnimatableBehavior Maven / Gradle / Ivy
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from neon-animation project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.neon;
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;
/**
* Use Polymer.NeonSharedElementAnimatableBehavior
to implement elements containing shared element
animations.
*/
@JsType(isNative=true)
public interface NeonSharedElementAnimatableBehavior {
@JsOverlay public static final String NAME = "Polymer.NeonSharedElementAnimatableBehavior";
@JsOverlay public static final String SRC = "neon-animation/neon-animation.html";
/**
* Animation configuration. See README for more info.
*
* JavaScript Info:
* @property animationConfig
* @type Object
*
*/
@JsProperty JavaScriptObject getAnimationConfig();
/**
* Animation configuration. See README for more info.
*
* JavaScript Info:
* @property animationConfig
* @type Object
*
*/
@JsProperty void setAnimationConfig(JavaScriptObject value);
/**
* A map of shared element id to node.
*
* JavaScript Info:
* @property sharedElements
* @type Object
*
*/
@JsProperty JavaScriptObject getSharedElements();
/**
* A map of shared element id to node.
*
* JavaScript Info:
* @property sharedElements
* @type Object
*
*/
@JsProperty void setSharedElements(JavaScriptObject value);
/**
* Convenience property for setting an ‘entry’ animation. Do not set animationConfig.entry
manually if using this. The animated node is set to this
if using this property.
*
* JavaScript Info:
* @property entryAnimation
* @type String
*
*/
@JsProperty String getEntryAnimation();
/**
* Convenience property for setting an ‘entry’ animation. Do not set animationConfig.entry
manually if using this. The animated node is set to this
if using this property.
*
* JavaScript Info:
* @property entryAnimation
* @type String
*
*/
@JsProperty void setEntryAnimation(String value);
/**
* Convenience property for setting an ‘exit’ animation. Do not set animationConfig.exit
manually if using this. The animated node is set to this
if using this property.
*
* JavaScript Info:
* @property exitAnimation
* @type String
*
*/
@JsProperty String getExitAnimation();
/**
* Convenience property for setting an ‘exit’ animation. Do not set animationConfig.exit
manually if using this. The animated node is set to this
if using this property.
*
* JavaScript Info:
* @property exitAnimation
* @type String
*
*/
@JsProperty void setExitAnimation(String value);
}