File

projects/dvk/src/lib/dynamic-animations/state-css-mapper/state-css-mapper.model.ts

Description

The shape of an object that can map string state names to CSS classes.

Index

Properties

Properties

add
add: function
Type : function

Add the css class defined by the StateCSSMap for the given state.

destroy
destroy: function
Type : function

Release the references used by the closure.

remove
remove: function
Type : function

Remove the css class defined by the StateCSSMap for the given state.

removeAll
removeAll: function
Type : function

Remove all css classes defined by the StateCSSMap

export interface StateCSSMapper {

  /**
   * Remove the css class defined by the {@link StateCSSMap} 
   * for the given state. 
   */
  remove: (state:string)=>void;

  /**
   * Remove all css classes defined by the {@link StateCSSMap}
   */
  removeAll: ()=>void;

  /**
   * Add the css class defined by the {@link StateCSSMap} 
   * for the given state.
   */
  add: (state:string)=> void;

  /**
   * Release the references used by the closure.
   */
  destroy: ()=> void;
}
  

results matching ""

    No results matching ""