UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

16 lines (15 loc) 308 B
module.exports = function (id) { // @TreeLoader:hasSpace(id) // // Test if the loader has the space by its ID. // Useful for checking if the space is ready or removed. // // Parameters: // id // a string, the space ID // // Return // a boolean // return id in this.spaces }