dom7
Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API
Last updated 3 years ago by nolimits4web .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install dom7 
SYNC missed versions from official npm registry.

Dom7

Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API

Dom7 - is the default DOM manipulation library built-in Framework7. It utilizes most edge and high-performance methods for DOM manipulation. You don’t need to learn something new, its usage is very simple because it has the same syntax as well known jQuery library with support of the most popular and widely used methods and jQuery-like chaining.

See Framework7 Dom7 documentation for usage examples and available methods.

Installation

Dom7 can be installed with NPM:

npm install dom7 --save

Usage

// import Dom7 and methods you need
import { $, addClass, removeClass, toggleClass, on } from 'dom7';

// install methods
$.fn.addClass = addClass;
$.fn.removeClass = removeClass;
$.fn.toggleClass = toggleClass;
$.fn.on = on;

// use
$('p').addClass('custom-paragraph');

$('p').on('click', function() {
  $(this).toggleClass('custom-paragraph');
});

Documentation

See full documenation here

Contribution

Yes please! See the contributing guidelines for details.

Licence

This project is licensed under the terms of the MIT license.

Current Tags

  • 4.0.0-beta.3                                ...           beta (3 years ago)
  • 4.0.6                                ...           latest (2 years ago)
  • 3.0.0-alpha.10                                ...           next (4 years ago)

40 Versions

  • 4.0.6                                ...           2 years ago
  • 4.0.5                                ...           2 years ago
  • 4.0.4                                ...           3 years ago
  • 4.0.3                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 4.0.0-beta.3                                ...           3 years ago
  • 4.0.0-beta.2                                ...           3 years ago
  • 4.0.0-beta.1                                ...           3 years ago
  • 3.0.0                                ...           4 years ago
  • 3.0.0-alpha.10                                ...           4 years ago
  • 3.0.0-alpha.9                                ...           4 years ago
  • 3.0.0-alpha.8                                ...           4 years ago
  • 3.0.0-alpha.7                                ...           4 years ago
  • 3.0.0-alpha.6                                ...           4 years ago
  • 3.0.0-alpha.5                                ...           5 years ago
  • 3.0.0-alpha.4                                ...           5 years ago
  • 2.1.5                                ...           5 years ago
  • 3.0.0-alpha.3                                ...           5 years ago
  • 3.0.0-alpha.2                                ...           5 years ago
  • 2.1.3                                ...           6 years ago
  • 2.1.2                                ...           6 years ago
  • 2.1.1                                ...           6 years ago
  • 2.1.0                                ...           6 years ago
  • 2.0.7                                ...           7 years ago
  • 2.0.6                                ...           7 years ago
  • 2.0.5                                ...           7 years ago
  • 2.0.3                                ...           7 years ago
  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           7 years ago
  • 1.7.2                                ...           7 years ago
  • 1.7.1                                ...           7 years ago
  • 1.7.0                                ...           7 years ago
  • 1.6.4                                ...           7 years ago
  • 1.6.3                                ...           8 years ago
  • 1.6.2                                ...           8 years ago
  • 1.6.1                                ...           8 years ago
  • 1.6.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 19
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE