public class MaterialPathAnimator extends Object
xmlns:ma='urn:import:gwt.material.design.addins.client'
MaterialPathAnimator.animate(Element source, Element target, Runnable callback);
| Constructor and Description |
|---|
MaterialPathAnimator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
animate(com.google.gwt.dom.client.Element source,
com.google.gwt.dom.client.Element target)
Default animate method using Opacity Transition.
|
static void |
animate(com.google.gwt.dom.client.Element source,
com.google.gwt.dom.client.Element target,
Runnable callback)
Custom path animator method with callback.
|
static void |
reverseAnimate(com.google.gwt.dom.client.Element source,
com.google.gwt.dom.client.Element target)
Default Reverse animate method to return to original state of Source component.
|
static void |
reverseAnimate(com.google.gwt.dom.client.Element source,
com.google.gwt.dom.client.Element target,
Runnable callback)
Reverse animation of the target component to return to original
state of the source component with Custom Callback.
|
public MaterialPathAnimator()
public static void animate(com.google.gwt.dom.client.Element source, com.google.gwt.dom.client.Element target)
public static void animate(com.google.gwt.dom.client.Element source, com.google.gwt.dom.client.Element target, Runnable callback)
public static void reverseAnimate(com.google.gwt.dom.client.Element source, com.google.gwt.dom.client.Element target)
public static void reverseAnimate(com.google.gwt.dom.client.Element source, com.google.gwt.dom.client.Element target, Runnable callback)
Copyright © 2016. All rights reserved.