How to use the troika-animation.Runner function in troika-animation

To help you get started, we’ve selected a few troika-animation examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github protectwise / troika / packages / troika-core / src / facade / Animatable.js View on Github external
constructor(...args) {
      super(...args)

      // Create root runner for all this object's animation and transition tweens
      this.animation$runner = new Runner()
      this.animation$runner.onTick = () => {
        this.afterUpdate()
        this.notifyWorld('needsRender')
      }
    }

troika-animation

Troika Animation Utilities

MIT
Latest version published 25 days ago

Package Health Score

73 / 100
Full package analysis

Similar packages