designertool 0.28.0 → 0.29.0
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 +8 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,12 +25,17 @@ npm install designertool
|
|
|
25
25
|
|
|
26
26
|
Default config:
|
|
27
27
|
|
|
28
|
-
```
|
|
28
|
+
```js
|
|
29
29
|
{
|
|
30
|
+
// TO BE ADDDED:
|
|
31
|
+
"initialHtml": "<html>... HTML GENERATED BY A DESIGNERTOOL INSTANCE ... </html>",
|
|
32
|
+
|
|
33
|
+
// Existing:
|
|
30
34
|
"size": {
|
|
31
35
|
"w": 9,
|
|
32
36
|
"h": 6
|
|
33
37
|
},
|
|
38
|
+
"template_scope": undefined,
|
|
34
39
|
"flags": {
|
|
35
40
|
"disable_default_templates": false
|
|
36
41
|
},
|
|
@@ -121,8 +126,8 @@ Use the component in your application:
|
|
|
121
126
|
|
|
122
127
|
```js
|
|
123
128
|
<script setup lang="ts">
|
|
124
|
-
import {
|
|
125
|
-
|
|
129
|
+
import { register } from 'designertool'
|
|
130
|
+
register()
|
|
126
131
|
|
|
127
132
|
</script>
|
|
128
133
|
|