@fest-lib/lure 0.1.21 → 0.1.22
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.
- package/README.md +26 -4
- package/dist/lure.js +28001 -19881
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,18 +29,40 @@
|
|
|
29
29
|
|
|
30
30
|
---
|
|
31
31
|
|
|
32
|
+
## 📦 Installation
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
npm install @fest-lib/core
|
|
36
|
+
npm install @fest-lib/object
|
|
37
|
+
npm install @fest-lib/dom
|
|
38
|
+
npm install @fest-lib/uniform
|
|
39
|
+
npm install @fest-lib/lure
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- Where last line is main library...
|
|
43
|
+
- Other previously is dependencies.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
32
47
|
## 🔌 API Overview
|
|
33
48
|
|
|
34
49
|
The core API provides a concise and powerful way to work with the DOM:
|
|
35
50
|
|
|
36
51
|
- `E(Element|Selector, { attributes, dataset, style, ... }, children[] | mapped)`
|
|
37
|
-
- Create a DOM element with specified properties and children.
|
|
52
|
+
- Create or wrap a DOM element with specified properties and children (binding).
|
|
38
53
|
- `M(Array|Set, generateCb)`
|
|
39
54
|
- Map arrays or sets to DOM elements.
|
|
40
|
-
- `H(DOMCode)`
|
|
55
|
+
- `H(DOMCode)` or `` H`DOMCode` ``
|
|
41
56
|
- Create static DOM HTML from code.
|
|
42
|
-
- `T(String|StringRef)`
|
|
43
|
-
- Create a TextNode object.
|
|
57
|
+
- `T(String|StringRef)` or `` T`Code` ``
|
|
58
|
+
- Create a TextNode object (with reactive support).
|
|
59
|
+
- `C(ref, whatToMake)`
|
|
60
|
+
- Create changeable DOM element (include for texts).
|
|
61
|
+
- `S(CSSCode)` or `` S`CSSCode` ``
|
|
62
|
+
- Create controllable CSS code for elements
|
|
63
|
+
- `Q(selector, root)`
|
|
64
|
+
- Make dynamically query selected wrapper
|
|
65
|
+
- Alternative of JQuery features, which is static
|
|
44
66
|
|
|
45
67
|
---
|
|
46
68
|
|