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

com.vaadin.polymer.transform.element.TransformAnimationElement 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 neon-animation project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.transform.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;

/**
 * 

<transform-animation> animates a custom transform on an element. Use this to animate multiple
transform properties, or to apply a custom transform value.

*

Configuration:

*
{
 *   name: 'transform-animation',
 *   node: <node>,
 *   transformOrigin: <transform-origin>,
 *   transformFrom: <transform-from-string>,
 *   transformTo: <transform-to-string>,
 *   timing: <animation-timing>
 * }
 * 
*/ @JsType public interface TransformAnimationElement extends HTMLElement { public static final String TAG = "transform-animation"; public static final String SRC = "neon-animation/neon-animation.html"; /** * * * JavaScript Info: * @method configure * @param {{node: !Element, transformOrigin: (string|undefined), transformFrom: (string|undefined), transformTo: (string|undefined), timing: (Object|undefined)}} config * */ void configure(JavaScriptObject config); /** *

Defines the animation timing.

* * JavaScript Info: * @property animationTiming * @type Object * @behavior TransformAnimation */ @JsProperty JavaScriptObject getAnimationTiming(); /** *

Defines the animation timing.

* * JavaScript Info: * @property animationTiming * @type Object * @behavior TransformAnimation */ @JsProperty void setAnimationTiming(JavaScriptObject value); /** *

Called when the animation finishes.

* * JavaScript Info: * @method complete * @behavior TransformAnimation */ void complete(); /** *

Sets transform and transformOrigin properties along with the prefixed versions.

* * JavaScript Info: * @method setPrefixedProperty * @param {} node * @param {} property * @param {} value * @behavior TransformAnimation */ void setPrefixedProperty(JavaScriptObject node, JavaScriptObject property, JavaScriptObject value); /** *

Returns the animation timing by mixing in properties from config to the defaults defined
by the animation.

* * JavaScript Info: * @method timingFromConfig * @param {} config * @behavior TransformAnimation */ void timingFromConfig(JavaScriptObject config); /** * * * JavaScript Info: * @method registered * @behavior TransformAnimation */ void registered(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy