svelte-fast-marquee
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -908,3 +908,3 @@ (function (global, factory) { | ||
let { $$slots: slots = {}, $$scope } = $$props; | ||
let { style = {} } = $$props; | ||
let { style = "" } = $$props; | ||
let { pauseOnHover = false } = $$props; | ||
@@ -911,0 +911,0 @@ let { pauseOnClick = false } = $$props; |
{ | ||
"name": "svelte-fast-marquee", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "A Marquee component for Svelte inspired by react-fast-marquee.", | ||
@@ -13,3 +13,3 @@ "main": "dist/index.js", | ||
"build:watch": "rollup -c -w", | ||
"svelte-check": "svelte-check", | ||
"svelte-check": "svelte-check --workspace src", | ||
"prepublishOnly": "npm run svelte-check && npm run build" | ||
@@ -16,0 +16,0 @@ }, |
@@ -5,2 +5,3 @@ # Svelte Fast Marquee | ||
[![npm](https://img.shields.io/npm/v/svelte-fast-marquee)](https://www.npmjs.com/package/svelte-fast-marquee) | ||
[![npm downloads](https://img.shields.io/npm/dm/svelte-fast-marquee)](https://www.npmjs.com/package/svelte-fast-marquee) | ||
[![npm license](https://img.shields.io/npm/l/svelte-fast-marquee)](https://www.npmjs.com/package/svelte-fast-marquee) | ||
@@ -66,2 +67,3 @@ [![npm bundle size](https://img.shields.io/bundlephobia/min/svelte-fast-marquee)](https://bundlephobia.com/result?p=svelte-fast-marquee) | ||
| `play` | `boolean` | `true` | Whether to play or pause the marquee | | ||
| `speed` | `number` | `100` | The speed of the marquee in pixels per second | | ||
| `pauseOnHover` | `boolean` | `false` | Whether to pause the marquee when hovered | | ||
@@ -68,0 +70,0 @@ | `pauseOnClick` | `boolean` | `false` | Whether to pause the marquee when clicked | |
@@ -6,3 +6,3 @@ import type { SvelteComponentTyped } from "svelte"; | ||
* Custom style | ||
* @default {} | ||
* @default "" | ||
*/ | ||
@@ -9,0 +9,0 @@ style?: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62674
73