@khesira/textflow 1.2.0 → 1.2.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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ bun add @khesira/textflow
|
|
|
27
27
|
|
|
28
28
|
## Usage
|
|
29
29
|
|
|
30
|
-
1. In Astro (or similar Frontend Frameworks)
|
|
30
|
+
### 1. In Astro (or similar Frontend Frameworks)
|
|
31
31
|
Register the custom element in your client-side script and pass your configuration via data-* attributes.
|
|
32
32
|
|
|
33
33
|
```html
|
|
@@ -65,7 +65,7 @@ const settings: Settings = {
|
|
|
65
65
|
</script>
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
### 2. Pure HTML / JavaScript
|
|
69
69
|
|
|
70
70
|
```html
|
|
71
71
|
<!DOCTYPE html>
|