UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

17 lines (16 loc) 300 B
module.exports = function (name) { // @InteractiveComponent:hasInteraction(name) // // Test if the component has an active interaction. // // Example: // ``` // > item.hasInteraction('tap') // false // ``` // // Return // a boolean // return name in this.interactions }