Skip to content
Generic browser utilities that are not related to Stellar
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
src
.eslintrc.json
.gitignore
.npmignore
AUTHORS
CHANGELOG.md
LICENSE
README.md
babel.config.js
package.json

README.md

@cosmic-plus/domutils

Licence Dependencies Vulnerabilities Size Downloads

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

You can’t perform that action at this time.