Socket
Socket
Sign inDemoInstall

svelte-typewriter

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-typewriter - npm Package Compare versions

Comparing version 3.1.8 to 3.2.0

2

package.json

@@ -17,3 +17,3 @@ {

},
"version": "3.1.8",
"version": "3.2.0",
"main": "./package/Typewriter.svelte",

@@ -20,0 +20,0 @@ "type": "module",

@@ -13,5 +13,6 @@ import { writeEffect } from '../helpers/writeEffect'

if (fullyWritten) {
options.dispatch('done')
options.dispatch('done', 'write')
await typingInterval(options.wordInterval)
await unwriteEffect(currentNode, options)
options.dispatch('done', 'unwrite')
}

@@ -18,0 +19,0 @@

@@ -125,5 +125,5 @@ # svelte-typewriter

| Event | Trigger |
| --- | --- |
| `on:done` | Is executed at the end of the animation, if used with one of the loop modes, this event will be fired at the end of each loop |
| Event | Trigger | Detail |
| --- | --- | --- |
| `on:done` | Is executed at the end of the animation, if used with one of the loop modes, this event will be fired after each word gets written and erased | `"write" \| "unwrite" \| null` |

@@ -130,0 +130,0 @@ ### Child attributes

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc