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
Time tracking software for the global workforce
It's easy with Hubstaff, a time-tracking and workforce management platform that automates almost every aspect of running or growing a business. Teams can track time to projects and to-dos using Hubstaff's desktop, web, or mobile applications. You'll be able to see how much time your team spends on different tasks, plus productivity metrics like activity rates and app usage through Hubstaff's online dashboard. Most of the available features are customizable on a per-user basis, so you can create the team management tool you need.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of DOM Window Manager!