All Projects → nzbin → Domq

nzbin / Domq

Licence: mit
🛠️ A modular DOM manipulation library.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Domq

Domtastic
Small, fast, and modular DOM and event library for modern browsers.
Stars: ✭ 763 (+1111.11%)
Mutual labels:  modular, jquery
Binda
Headless CMS based on Ruby on Rails
Stars: ✭ 60 (-4.76%)
Mutual labels:  modular
Real Shadow
Module that casts photorealistic shadows
Stars: ✭ 1,066 (+1592.06%)
Mutual labels:  jquery
Nito
A jQuery library for building user interfaces
Stars: ✭ 56 (-11.11%)
Mutual labels:  jquery
Simpleparallax.js
Simple and tiny JavaScript library that adds parallax animations on any images
Stars: ✭ 1,075 (+1606.35%)
Mutual labels:  jquery
Rick And Morty Characters
Rick and Morty Characters Timeline
Stars: ✭ 57 (-9.52%)
Mutual labels:  jquery
Drombler Fx
Drombler FX - the modular application framework for JavaFX.
Stars: ✭ 52 (-17.46%)
Mutual labels:  modular
Morphist
A simple, high-performance and cross-browser jQuery slider / slideshow / carousel plugin for child objects powered by Animate.css.
Stars: ✭ 60 (-4.76%)
Mutual labels:  jquery
Restfeel
RESTFeel: 一个企业级的API管理&测试平台。RESTFeel帮助你设计、开发、测试您的API。
Stars: ✭ 59 (-6.35%)
Mutual labels:  jquery
Cmd Resume
Web-based Command Line Resume
Stars: ✭ 55 (-12.7%)
Mutual labels:  jquery
Paper Ripple
Material Design Ripple effect in pure JS & CSS.
Stars: ✭ 55 (-12.7%)
Mutual labels:  jquery
Mapit
An easy way to embed google maps in your site.
Stars: ✭ 54 (-14.29%)
Mutual labels:  jquery
Jquery Floating Social Share
Social media share buttons with counters.
Stars: ✭ 57 (-9.52%)
Mutual labels:  jquery
Fuchsia Web Demo
RIP Armadillo
Stars: ✭ 54 (-14.29%)
Mutual labels:  jquery
Simplest Startup Starter
Opinionated HTML landing page template
Stars: ✭ 60 (-4.76%)
Mutual labels:  jquery
Jquery Circle Progress
jQuery Plugin to draw animated circular progress bars
Stars: ✭ 1,065 (+1590.48%)
Mutual labels:  jquery
Github
Ruby interface to GitHub API
Stars: ✭ 1,081 (+1615.87%)
Mutual labels:  modular
React Grid Table
A modular table, based on a CSS grid layout, optimized for customization.
Stars: ✭ 57 (-9.52%)
Mutual labels:  modular
Audiobench
Open source modular synthesizer
Stars: ✭ 63 (+0%)
Mutual labels:  modular
Jquery.numpad
Touch-optimized numeric on-screen keypad for jQuery
Stars: ✭ 60 (-4.76%)
Mutual labels:  jquery

Domq

Travis npm license

Domq is a modular DOM manipulation library. It's built according to Zepto.js.

Who uses it?

Installation

$ npm install domq.js --save

There have four files in dist after build.

dist
├── domq.js (UMD)
├── domq.common.js (CJS)
├── domq.esm.js (ESM)
└── domq.modular.js (MODULAR)

It's used domq.modular.js by default.

import { D } from 'domq.js';

Or you can also import the other file as needed.

import { D } from 'domq.js/dist/domq.esm.js';

Modular Usage

You should put the methods as needed on D function manually.

import { D, isArray, addClass } from 'domq.js/src/domq.modular';

// Static methods
const methods = {
  isArray,
};

// Instance methods
const fnMethods = {
  addClass,
};

D.extend(methods);
D.fn.extend(fnMethods);

API

Instance methods

  • D().css()
  • D().attr()
  • D().removeAttr()
  • D().prop()
  • D().removeProp()
  • D().hasClass()
  • D().addClass()
  • D().removeClass()
  • D().toggleClass()
  • D().offset()
  • D().offsetParent()
  • D().position()
  • D().scrollTop()
  • D().scrollLeft()
  • D().width()
  • D().height()
  • D().remove()
  • D().empty()
  • D().clone()
  • D().html()
  • D().text()
  • D().append()
  • D().prepend()
  • D().after()
  • D().before()
  • D().replaceWith()
  • D().appendTo()
  • D().prependTo()
  • D().insertAfter()
  • D().insertBefore()
  • D().replaceAll()
  • D().find()
  • D().filter()
  • D().has()
  • D().not()
  • D().is()
  • D().add()
  • D().contents()
  • D().closest()
  • D().parents()
  • D().parent()
  • D().children()
  • D().siblings()
  • D().prev()
  • D().next()
  • D().index()
  • D().wrap()
  • D().wrapAll()
  • D().wrapInner()
  • D().unwrap()
  • D().val()
  • D().one()
  • D().on()
  • D().off()
  • D().trigger()
  • D().triggerHandler()
  • D().animate()
  • D().anim()
  • D().show()
  • D().hide()
  • D().toggle()
  • D().fadeTo()
  • D().fadeIn()
  • D().fadeOut()
  • D().fadeToggle()

Static methods

  • D.type()
  • D.contains()
  • D.camelCase()
  • D.isFunction()
  • D.isWindow()
  • D.isEmptyObject()
  • D.isPlainObject()
  • D.isNumeric()
  • D.isArray()
  • D.inArray()
  • D.trim()
  • D.grep()
  • D.noop()
  • D.Event()
  • D.proxy()

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].