UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

17 lines (14 loc) 321 B
module.exports = function () { // @InteractiveComponent:removeAllInteractions() // // Unregister all interactions. // // return // this, for chaining // const names = Object.keys(this.interactions) for (let i = 0; i < names.length; i += 1) { this.removeInteraction(names[i]) } return this }