yapp 5.0.17 → 5.0.20
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 +2 -2
- package/css/woff2/JuliaMono-Regular.woff2 +0 -0
- package/example.js +6 -4
- package/lib/utilities/element.js +6 -4
- package/package.json +1 -1
- package/src/utilities/element.js +9 -3
package/README.md
CHANGED
|
@@ -84,9 +84,9 @@ const body = document.querySelector("body"),
|
|
|
84
84
|
|
|
85
85
|
renderYappStyles();
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
mountYapp(yapp, body);
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
unmountYapp(yapp); // At some later time.
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
Note that if you take this approach then you must call the `mountYapp()` function with the Yapp instance as an argument. Similarly if you remove an instance of Yapp from the DOM then you must call the `unmountYapp()` function.
|
|
Binary file
|