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

com.vaadin.polymer.neon.NeonAnimatableElement Maven / Gradle / Ivy

The 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.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;

/**
 * 

<neon-animatable> is a simple container element implementing Polymer.NeonAnimatableBehavior. This is a convenience element for use with <neon-animated-pages>.

*
<neon-animated-pages selected="0"
 *                      entry-animation="slide-from-right-animation"
 *                      exit-animation="slide-left-animation">
 *   <neon-animatable>1</neon-animatable>
 *   <neon-animatable>2</neon-animatable>
 * </neon-animated-pages>
 * 
*/ @JsType(isNative=true) public interface NeonAnimatableElement extends HTMLElement { @JsOverlay public static final String TAG = "neon-animatable"; @JsOverlay public static final String SRC = "neon-animation/neon-animation.html"; /** *

Animation configuration. See README for more info.

* * JavaScript Info: * @property animationConfig * @type Object * @behavior PaperTooltip */ @JsProperty JavaScriptObject getAnimationConfig(); /** *

Animation configuration. See README for more info.

* * JavaScript Info: * @property animationConfig * @type Object * @behavior PaperTooltip */ @JsProperty void setAnimationConfig(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 * @behavior PaperTooltip */ @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 * @behavior PaperTooltip */ @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 * @behavior PaperTooltip */ @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 * @behavior PaperTooltip */ @JsProperty void setExitAnimation(String value); /** *

Used to assign the closest resizable ancestor to this resizable
if the ancestor detects a request for notifications.

* * JavaScript Info: * @method assignParentResizable * @param {} parentResizable * @behavior VaadinSplitLayout * */ void assignParentResizable(Object parentResizable); /** *

Used to remove a resizable descendant from the list of descendants
that should be notified of a resize change.

* * JavaScript Info: * @method stopResizeNotificationsFor * @param {} target * @behavior VaadinSplitLayout * */ void stopResizeNotificationsFor(Object target); /** *

This method can be overridden to filter nested elements that should or
should not be notified by the current element. Return true if an element
should be notified, or false if it should not be notified.

* * JavaScript Info: * @method resizerShouldNotify * @param {HTMLElement} element * @behavior VaadinSplitLayout * @return {boolean} */ boolean resizerShouldNotify(JavaScriptObject element); /** *

Can be called to manually notify a resizable and its descendant
resizables of a resize change.

* * JavaScript Info: * @method notifyResize * @behavior VaadinSplitLayout * */ void notifyResize(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy