1.1.0 • Published 9 months ago

tiny-query-dom v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

TinyQuery

A lightweight and modern JavaScript library for DOM manipulation and event handling, inspired by jQuery.

Installation

npm install tiny-query-dom
import { $ } from 'tiny-query-dom';

$("#test").on("click", () => {
    $("#subject")
        .toggle()
        .css({ color: "red", font: "32px bold" })
        .text("No Subject!");
});

Features

  • DOM Manipulation: text(), html(), val(), append(), prepend()
  • Event Handling: on(), off(), trigger(), click()
  • CSS Manipulation: css(), addClass(), removeClass(), toggleClass()
  • Traversing: parent(), children()
  • Form Handling: serialize()
  • Chaining Methods
  • Utility Functions: each()
1.0.2

9 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.3

9 months ago

1.0.0

9 months ago

0.6.6

9 months ago

0.6.2

9 months ago

0.6.1

9 months ago