@mmanos/swing-js
v2.1.4
Published
A lightweight collection of javascript components to help reduce the need for bloated 3rd-party libraries.
Downloads
15
Readme
Swing.js
Swing.js is a lightweight collection of javascript components to help reduce the need for bloated 3rd-party libraries. It's primary goals are:
- Keeping filesizes small where possible.
- Allowing components to be loaded independently (only load what you need).
- Allowing components to be loaded in any sequence.
- Supporting all modern browsers.
Components
The current list of components:
- alert.js - HTML component for showing alert or confirm prompts.
- asset.js - Utility to dynamically load javascript and css files.
- collection.js - Utility to store and work with a set of models.
- cookie.js - Utility to manage browser cookies.
- core.js - Common helper functions used by several components.
- date.js - Utility to manipulate and display dates.
- dom.js - jQuery-like syntax for working with DOM elements.
- dropdown.js - HTML component to render dropdown menus.
- events.js - Utility to normalize and work with browser and custom events.
- messenger.js - HTML component for rendering status messages in a browser.
- modal.js - HTML component to render modal dialog boxes.
- model.js - Utility to work with database models.
- paginate.js - HTML component for rendering pagination links.
- promise.js - Utility that implements the common promise pattern.
- require.js - Utility to manage component dependencies.
- resizer.js - Utility to help resize DOM elements to full page height.
- resource.js - Utility to work with database resources.
- validate.js - Utility and HTML component to help validate form input and render error messages.