UNPKG

tapspace

Version:

A zoomable user interface lib for web apps

20 lines (17 loc) 456 B
module.exports = function (target) { // @Component:sendBelow(target) // // Reinsert this element below the given target element. // In other words, reinsert this element just before the target in DOM // so that the target is rendered after this element. // // Parameters: // target // a Component // // Return // this, for chaining // this.element.parentNode.insertBefore(this.element, target.element) return this }