@cosmic-plus/domutils
v2.2.0
Published
Generic browser utilities that are not related to Stellar
Downloads
21
Readme
@cosmic-plus/domutils
Generic browser utilities that are not related to Stellar.
Note: This is an internal library and may be modified in compatibility-breaking ways.
Install
- Npm
npm install @cosmic-plus/domutils
- Yarn
yarn add @cosmic-plus/domutils
Then: const { $module, ... } = require("@cosmic-plus/domutils")
To pick a module: const $module = require("@cosmic-plus/domutils/es5/$module")
Modules
- dom: Easy access to DOM tree elements.
- file: Load/save file.
- form: A class to ease form creation.
- gui: A light component-driven development solution.
- html: A few methods to deal with HTML elements.
- load: Asynchronously load CSS.
- page: Tab-based browsing.
- params: An Object that reflect query string parameters.
- polyfill: A few important polyfill.
- service-worker: Easy way to setup a service worker.
- tabs: A simple tabbed view generator.
Additional Resources
- GitHub repository: https://github.com/cosmic-plus/js-domutils
- NPM package: https://npmjs.com/@cosmic-plus/domutils
- Yarn package: https://yarn.pm/@cosmic-plus/domutils