init() { this.con = document.createElement('section') setHtml(tipsTpl.render(this.opts))(this.con) this.el = $p(this.con)('.tips') addClass('js-anim--in')(this.el) append(this.con)(this.opts.container) return this }
remove() { remove(this.con)(this.opts.container) }
next(() => { if(this.timer) cancelAnimationFrame(this.timer) addClass('js-anim--leave')(this.el) })
next(() => addClass('js-anim--enter')(this.el))