Hierarchy

  • Animator

Implements

Constructors

Methods

Constructors

Methods

  • Performs the changes declared in animFunction with animation. Duration indicates how long the animation will take in milliseconds.

    Android

    Ios

    Since

    0.1

    Returns Animator

  • Chains the perform method to another animator.

    Android

    Ios

    Since

    0.1

    Parameters

    • duration: number
    • animFn: (() => void)
        • (): void
        • Returns void

    Returns Animator

  • Runs the function provided after all animations are completed. Note that: It does not perform any animations.

    Android

    Ios

    Since

    0.1

    Parameters

    • callback: (() => void)
        • (): void
        • Returns void

    Returns void

  • Performs the changes declared in animFunction with animation inside the layout provided. Duration indicates how long the animation will take in milliseconds. For animation rootLayout you should choose parent layout for Android, you can choose page layout for iOS as shown in example. While animating Textbox, you may see the hint of the Textbox disappear on Android. This is related with Android internal issue (same reason of Google Issue Tracker 38303812, 37048478). For getting over from this problem you should set empty text to the Textbox onComplete callback of animation.

    Android

    Ios

    Since

    0.1

    Parameters

    Returns Animator

Generated using TypeDoc