A simple window manager for DOM elements. DOM Window Manager consists of a single class, WindowManager, and a set of utility functions. WindowManager uses the singleton pattern, effectively restricting the instantiation of the class to a singular instance to be used by all components, in any file. At first, you need to import WindowManager and dragElement in each file that you create elements that you want to use with the DOM Window Manager. WindowManager is the class that manages the elements and dragElement is the utility function that makes elements draggable.
Features
- You can now call the dragElement function, with the element as its parameter
- You also need to set the elements z-index value to the base provided by WindowManager
- As you have seen, DOM Window Manager takes a very minimalist approach, providing you with the bare necessities
- Licensed under the GNU Affero General Public License v3.0
- DOM Window Manager consists of a single class, WindowManager, and a set of utility functions
- Makes DOM elements draggable
Categories
Window ManagersLicense
Affero GNU Public LicenseFollow DOM Window Manager
Other Useful Business Software
Build Securely on AWS with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of DOM Window Manager!