Function native

    • WAAPI animation as a bireactive Animator. Bare-number opts is seconds; object opts passes through to Element.animate (ms).

      Parameters

      • el: Element
      • keyframes: PropertyIndexedKeyframes | Keyframe[] | null
      • opts: number | KeyframeAnimationOptions = {}

      Returns Animator<void>