JSPM

manipulatable-dom-element

0.2.6
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q25833F
  • License ISC

A concise utility class for DOM Manipulation, with a jQuery-like API.

Package Exports

  • manipulatable-dom-element

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (manipulatable-dom-element) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

manipulatable-dom-element

A utility class and convienence wrapper for DOM Manipulation. Focused on modern browsers, with a jQuery-like API.

Includes each, on, off, attr, addClass, removeClass, toggleClass, text, html.

Using the dom export

import { dom as $ } from 'manipulatable-dom-element';

$('body').addClass('hello-world');

$('.className').on('click', function(event) {
    event.preventDefault()
});