当前位置: 首页 > 文档资料 > Snap.svg 英文文档 >

Element.inAnim()

优质
小牛编辑
129浏览
2023-12-01

Returns a set of animations that may be able to manipulate the current element

Returns: object in format:

  1. {
    1. anim objectanimation object,
    2. mina object mina object,
    3. curStatus number0..1 — status of the animation: 0 — just started, 1 — just finished,
    4. status functiongets or sets the status of the animation,
    5. stop functionstops the animation
  2. }