@arcmantle/library
    Preparing search index...

    Function animateTo

    • Animates an element using keyframes.

      Returns a promise that resolves after the animation completes or gets canceled.

      Parameters

      • el: HTMLElement
      • keyframes: Keyframe[]
      • Optionaloptions: KeyframeAnimationOptions

      Returns Promise<unknown>