animate

animate some HTML area

void animate(HTMLElement html_element,object animation);

Parameters

html_elementHTMLElementan HTML object (or id) which will be animated
animationobjectconfiguration of animation

Example

webix.animate("some_div", { type: "flip" });

Details

The method is not intended for direct calls. It is called by Multiview or some other components when necessary.

Configuration

  • type - {string} flip, slide, flipback, fade, show
  • direction - {string} right, left, top, bottom
  • subtype - {string} out, in (for slide), horizontal, vertical (for flip)
  • x - {number} slide value for X
  • y - {number} slide value for Y
  • duration - {number} transition duration in ms
  • delay - {number} delay before animation in ms
  • timing - {string} transition timing function
  • callback - {function} code to call after animation end
  • master - {object} object, which will be accessible by "this" in the callback method
Back to top