jqx-es 1.6.7 → 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 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,19 +1,20 @@
1
- [![minsize](https://flat.badgen.net/bundlephobia/min/jqx-es)](https://bundlephobia.com/package/jqx-es@latest)
2
- [<img src="https://img.shields.io/npm/v/jqx-es.svg?labelColor=cb3837&logo=npm&color=dcfdd9">](https://www.npmjs.com/package/jqx-es)
3
- [![dependencies](https://depx.co/api/badge/jqx-es)](https://depx.co/pkg/jqx-es)
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)
4
5
 
5
6
  > [!NOTE]
6
7
  > The listening to - and handling of events has been overhauled. This means that
7
- > callbacks for event listeners now are always expected to have the
8
+ > callbacks for event listeners now are always expected to have the
8
9
  > signature`[handler]({evt, [me|self]})`. If you use `[JQx].delegate` or
9
10
  > `[JQx instance].on` in your code, please review.
10
- >
11
+ >
11
12
  > See also [documentation](https://kooiinc.codeberg.page/JQx/Resource/Docs/)
12
13
 
13
14
  # JQx
14
15
 
15
- This module was inspired by the idea that some parts of [JQuery](https://jquery.com) are too good [to ditch](https://youmightnotneedjquery.com/).
16
- 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.
17
18
  Consider it a set of JQuery alike ES/JS-methods to programmatically ***create***, ***retrieve***, ***modify***, ***style*** and/or ***manipulate***
18
19
  (collections of) HTML elements in a HTML document.
19
20
 
@@ -21,13 +22,13 @@ The code is written in a modular fashion and uses plain ES20xx, so not really (o
21
22
 
22
23
  ### Documentation/demo
23
24
  - Documentation can be found @[Codeberg](https://kooiinc.codeberg.page/JQx/Resource/Docs/)
24
- or @[Github](https://kooiinc.github.io/JQx/Resource/Docs).
25
+ or @[Github](https://kooiinc.github.io/JQx/Resource/Docs).
25
26
  - A test and demo of this module can be found @[Codeberg](https://kooiinc.codeberg.page/JQx/Resource/Demo)
26
27
  or @[Github](https://kooiinc.github.io/JQx/Resource/Demo).
27
28
 
28
29
  ## Install/Import/Initialize
29
30
 
30
- ### NPM
31
+ ### NPM
31
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).
32
33
  ```
33
34
  npm i jqx-es
@@ -41,8 +42,8 @@ For each flavor, the script is (bundled and) minified. The location of the minif
41
42
  ```javascript
42
43
  import $ from "https://kooiinc.codeberg.page/JQx/Bundle/jqx.min.js";
43
44
  // or
44
- const $ = ( await
45
- import("https://kooiinc.codeberg.page/JQx/Bundle/jqx.min.js")
45
+ const $ = ( await
46
+ import("https://kooiinc.codeberg.page/JQx/Bundle/jqx.min.js")
46
47
  ).default;
47
48
  $.div(`Hello JQx!`).appendTo(document.body);
48
49
  // ...
@@ -59,7 +60,7 @@ $.div(`Hello JQx!`).appendTo(document.body);
59
60
  ```
60
61
 
61
62
  > [!NOTE]
62
- > 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).
63
64
  > The *authorative* code base for this module is now: @[https://codeberg.org/KooiInc/JQx](https://codeberg.org/KooiInc/JQx).
64
65
  >
65
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.7",
3
+ "version": "1.6.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "JQuery alike with a few twists",