svelte-typewriter
Advanced tools
Comparing version 1.3.4 to 1.4.0
@@ -7,2 +7,8 @@ ### Changelog | ||
#### [v1.3.4](https://github.com/henriquehbr/svelte-typewriter/compare/v1.3.0...v1.3.4) | ||
> 21 November 2019 | ||
- fix(fouc): prevent flash of unstyled content [`f373766`](https://github.com/henriquehbr/svelte-typewriter/commit/f37376623ed7a37779df40076e7f7699908570c0) | ||
#### [v1.3.0](https://github.com/henriquehbr/svelte-typewriter/compare/v1.2.1...v1.3.0) | ||
@@ -12,4 +18,5 @@ | ||
- feat(loop): add `loop` option [`2bc1274`](https://github.com/henriquehbr/svelte-typewriter/commit/2bc1274527349f00b88041ae53cebcc722528437) | ||
- chore: add auto-changelog `version` script [`bc42761`](https://github.com/henriquehbr/svelte-typewriter/commit/bc427616a082c816ac2f745b713fea6f79fb32e3) | ||
- feat(loop): add `loop` option, closes #3 [`#3`](https://github.com/henriquehbr/svelte-typewriter/issues/3) | ||
- generate CHANGELOG.md [`5e01481`](https://github.com/henriquehbr/svelte-typewriter/commit/5e014817e84ab476e3f2450159ec29d5d52054f7) | ||
- chore: add auto-changelog `version` script [`356e9af`](https://github.com/henriquehbr/svelte-typewriter/commit/356e9af9585ef091255ed8b7940e7c2a6b7aee2b) | ||
- chore: change CHANGELOG generation commit message [`d6dc3fa`](https://github.com/henriquehbr/svelte-typewriter/commit/d6dc3fa8fe5a20d2f3f8104685e23c348dc7bcbc) | ||
@@ -16,0 +23,0 @@ |
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "1.3.4", | ||
"version": "1.4.0", | ||
"main": "Typewriter.svelte", | ||
@@ -15,0 +15,0 @@ "author": "Henrique Borges <henriqueborgeshbr@gmail.com>", |
@@ -15,3 +15,3 @@ # svelte-typewriter | ||
# npm | ||
npm install --save-dev svelte-typewriter | ||
npm install -D svelte-typewriter | ||
``` | ||
@@ -21,3 +21,3 @@ | ||
```html | ||
```svelte | ||
<script> | ||
@@ -48,3 +48,3 @@ import Typewriter from 'svelte-typewriter' | ||
```html | ||
```svelte | ||
<Typewriter interval={50}> | ||
@@ -55,2 +55,10 @@ <p>Each letter of this paragraph will be displayed with a interval of 50 milliseconds</p> | ||
You can also pass a custom array of distinct intervals to mimic human typing | ||
```svelte | ||
<Typewriter interval={[50, 60, 80]}> | ||
<p>Each letter of this paragraph will be randomly displayed with an interval of 50 or 60 or 80 milliseconds</p> | ||
</Typewriter> | ||
``` | ||
### `cascade` | ||
@@ -66,3 +74,3 @@ | ||
```html | ||
```svelte | ||
<Typewriter cascade> | ||
@@ -85,3 +93,3 @@ <h1>First</h1> | ||
```html | ||
```svelte | ||
<Typewriter loop> | ||
@@ -96,3 +104,3 @@ <p>This is a draft about the loop typewriter effect</p> | ||
```html | ||
```svelte | ||
<Typewriter loop={500}> | ||
@@ -99,0 +107,0 @@ <p>This is a draft about the loop typewriter effect</p> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9508
105