jqx-es 1.6.6 → 1.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,20 +1,20 @@
1
- <div align="center">
2
- <a target="_blank" href="https://www.npmjs.com/package/jqx-es"
3
- ><img src="https://img.shields.io/npm/v/jqx-es.svg?labelColor=cb3837&logo=npm&color=dcfdd9"></a>
4
- </div>
1
+ [![](https://flat.badgen.net/bundlephobia/min/jqx-es)](https://bundlephobia.com/package/jqx-es@latest)
2
+ [![](https://img.shields.io/npm/v/jqx-es.svg?labelColor=cb3837&logo=npm&color=dcfdd9)](https://www.npmjs.com/package/jqx-es)
3
+ [![](https://depx.co/api/badge/jqx-es)](https://depx.co/pkg/jqx-es)
4
+ [![](https://badgen.net/static/Download%20bundle/@JSDeliver/blue)](https://cdn.jsdelivr.net/gh/KooiInc/JQx@latest/Bundle/jqx.min.js)
5
5
 
6
6
  > [!NOTE]
7
7
  > The listening to - and handling of events has been overhauled. This means that
8
- > callbacks for event listeners now are always expected to have the
8
+ > callbacks for event listeners now are always expected to have the
9
9
  > signature`[handler]({evt, [me|self]})`. If you use `[JQx].delegate` or
10
10
  > `[JQx instance].on` in your code, please review.
11
- >
11
+ >
12
12
  > See also [documentation](https://kooiinc.codeberg.page/JQx/Resource/Docs/)
13
13
 
14
14
  # JQx
15
15
 
16
- This module was inspired by the idea that some parts of [JQuery](https://jquery.com) are too good [to ditch](https://youmightnotneedjquery.com/).
17
- JQx is **not** a replacement for JQuery.
16
+ This module was inspired by the idea that some parts of [JQuery](https://jquery.com) are too good [to ditch](https://youmightnotneedjquery.com/).
17
+ JQx is **not** a replacement for JQuery.
18
18
  Consider it a set of JQuery alike ES/JS-methods to programmatically ***create***, ***retrieve***, ***modify***, ***style*** and/or ***manipulate***
19
19
  (collections of) HTML elements in a HTML document.
20
20
 
@@ -22,13 +22,13 @@ The code is written in a modular fashion and uses plain ES20xx, so not really (o
22
22
 
23
23
  ### Documentation/demo
24
24
  - Documentation can be found @[Codeberg](https://kooiinc.codeberg.page/JQx/Resource/Docs/)
25
- or @[Github](https://kooiinc.github.io/JQx/Resource/Docs).
25
+ or @[Github](https://kooiinc.github.io/JQx/Resource/Docs).
26
26
  - A test and demo of this module can be found @[Codeberg](https://kooiinc.codeberg.page/JQx/Resource/Demo)
27
27
  or @[Github](https://kooiinc.github.io/JQx/Resource/Demo).
28
28
 
29
29
  ## Install/Import/Initialize
30
30
 
31
- ### NPM
31
+ ### NPM
32
32
  You can install this module from npm (package *jqx-es*). To create a HTML tree (DOM Object) server side you need a library like [jsdom](https://github.com/jsdom/jsdom).
33
33
  ```
34
34
  npm i jqx-es
@@ -42,8 +42,8 @@ For each flavor, the script is (bundled and) minified. The location of the minif
42
42
  ```javascript
43
43
  import $ from "https://kooiinc.codeberg.page/JQx/Bundle/jqx.min.js";
44
44
  // or
45
- const $ = ( await
46
- import("https://kooiinc.codeberg.page/JQx/Bundle/jqx.min.js")
45
+ const $ = ( await
46
+ import("https://kooiinc.codeberg.page/JQx/Bundle/jqx.min.js")
47
47
  ).default;
48
48
  $.div(`Hello JQx!`).appendTo(document.body);
49
49
  // ...
@@ -60,7 +60,7 @@ $.div(`Hello JQx!`).appendTo(document.body);
60
60
  ```
61
61
 
62
62
  > [!NOTE]
63
- > This repository was formerly known as **JQL**, residing on [Github](https://github.com/KooiInc/JQx).
63
+ > This repository was formerly known as **JQL**, residing on [Github](https://github.com/KooiInc/JQx).
64
64
  > The *authorative* code base for this module is now: @[https://codeberg.org/KooiInc/JQx](https://codeberg.org/KooiInc/JQx).
65
65
  >
66
66
  > The NPM package is copied to a new package (see top link).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jqx-es",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "JQuery alike with a few twists",