svelte-common 4.21.0 → 4.21.1
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 +13 -1
- package/package.json +1 -1
- package/src/util.mjs +2 -0
package/README.md
CHANGED
|
@@ -38,8 +38,10 @@ or the [live example](https://arlac77.github.io/components/svelte-common/example
|
|
|
38
38
|
* [Parameters](#parameters-4)
|
|
39
39
|
* [keyPrefixStore](#keyprefixstore)
|
|
40
40
|
* [Parameters](#parameters-5)
|
|
41
|
-
* [
|
|
41
|
+
* [tokens](#tokens)
|
|
42
42
|
* [Parameters](#parameters-6)
|
|
43
|
+
* [getAttribute](#getattribute)
|
|
44
|
+
* [Parameters](#parameters-7)
|
|
43
45
|
|
|
44
46
|
## filter
|
|
45
47
|
|
|
@@ -110,6 +112,16 @@ Create a derived store where all the object keys are prefixed.
|
|
|
110
112
|
|
|
111
113
|
Returns **WriteableStore** 
|
|
112
114
|
|
|
115
|
+
## tokens
|
|
116
|
+
|
|
117
|
+
Split property path into tokens
|
|
118
|
+
|
|
119
|
+
### Parameters
|
|
120
|
+
|
|
121
|
+
* `string` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 
|
|
122
|
+
|
|
123
|
+
Returns **Iterator<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** 
|
|
124
|
+
|
|
113
125
|
## getAttribute
|
|
114
126
|
|
|
115
127
|
Deliver attribute value.
|
package/package.json
CHANGED