API Reference 0.3.24dart_web_toolkit_eventHasAnimation

HasAnimation abstract class

A {@link Widget} that uses an animation should implement this class so users can enable or disable animations.

abstract class HasAnimation {

 /**
  * Returns true if animations are enabled, false if not.
  */
 bool isAnimationEnabled();

 /**
  * Enable or disable animations.
  *
  * @param enable true to enable, false to disable
  */
 void setAnimationEnabled(bool enable);
}

Subclasses

DeckPanel, DisclosurePanel, MenuBar, PopupPanel, TabPanel, Tree

Methods

abstract bool isAnimationEnabled() #

Returns true if animations are enabled, false if not.

abstract void setAnimationEnabled(bool enable) #

Enable or disable animations.

@param enable true to enable, false to disable