svelte-fast-marquee
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "svelte-fast-marquee", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "A Marquee component for Svelte inspired by react-fast-marquee.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -38,3 +38,3 @@ # Svelte Fast Marquee | ||
```js | ||
```svelte | ||
<Marquee> | ||
@@ -47,6 +47,6 @@ I can be a Svelte component, multiple Svelte components, or just some text. | ||
```jsx | ||
```svelte | ||
<script> | ||
import MyComponent from "../components/MyComponent"; | ||
import Marquee from "react-fast-marquee"; | ||
import MyComponent from '../components/MyComponent'; | ||
import Marquee from 'svelte-fast-marquee'; | ||
</script> | ||
@@ -64,4 +64,5 @@ <Marquee> | ||
| :-------------- | :-------------------------- | :---------------- | :------------------------------------------------------- | | ||
| `play` | `boolean` | `true` | Whether to play or pause the marquee | | ||
| `pauseOnHover` | `boolean` | `false` | Whether to pause the marquee when hovered | | ||
| `pauseOnClick` | `boolean` | `false` | Whether to pause the marquee when clicked | | ||
| `direction` | `"left"` or `"right"` | `"left"` | The direction the marquee is sliding | |
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
44913
66