UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

21 lines (17 loc) 558 B
const Animatable = function () { // @Animatable // // Provides a Component animation abilities. // // To be able to stop CSS transitions and remove listeners gracefully, // we must remember possible handler functions. // See :animate and :animateOnce. this.ontransitioncancel = null this.ontransitionend = null } module.exports = Animatable const proto = Animatable.prototype proto.isAnimatable = true proto.animate = require('./animate') proto.animateOnce = require('./animateOnce') proto.cancelAnimation = require('./cancelAnimation')