@lottiefiles/lottie-player
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "@lottiefiles/lottie-player", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Lottie animation and Telegram Sticker player web components.", | ||
@@ -5,0 +5,0 @@ "main": "dist/lottie-player.js", |
@@ -111,15 +111,16 @@ ## lottie-player Web Component | ||
| Property | Attribute | Description | Type | Default | | ||
| ------------------ | ------------ | ----------------------------------- | ------------------------------------ | ----------------- | | ||
| `autoplay` | `autoplay` | Autoplay animation on load. | `boolean` | `false` | | ||
| `background` | `background` | Background color. | `string` | `undefined` | | ||
| `controls` | `controls` | Show controls. | `boolean` | `false` | | ||
| `count` | `count` | Number of times to loop animation. | `number` | `undefined` | | ||
| `direction` | `direction` | Direction of animation. | `number` | `1` | | ||
| `hover` | `hover` | Whether to play on mouse hover. | `boolean` | `false` | | ||
| `loop` | `loop` | Whether to loop animation. | `boolean` | `false` | | ||
| `mode` | `mode` | Play mode. | `PlayMode.Bounce \| PlayMode.Normal` | `PlayMode.Normal` | | ||
| `renderer` | `renderer` | Renderer to use. | `"svg" | "canvas"` | `'svg'` | | ||
| `speed` | `speed` | Animation speed. | `number` | `1` | | ||
| `src` _(required)_ | `src` | Bodymovin JSON data or URL to JSON. | `string` | `undefined` | | ||
| Property | Attribute | Description | Type | Default | | ||
| --------------------- | --------------------- | ----------------------------------- | ------------------------------------ | ----------------- | | ||
| `autoplay` | `autoplay` | Autoplay animation on load. | `boolean` | `false` | | ||
| `background` | `background` | Background color. | `string` | `undefined` | | ||
| `controls` | `controls` | Show controls. | `boolean` | `false` | | ||
| `count` | `count` | Number of times to loop animation. | `number` | `undefined` | | ||
| `direction` | `direction` | Direction of animation. | `number` | `1` | | ||
| `hover` | `hover` | Whether to play on mouse hover. | `boolean` | `false` | | ||
| `loop` | `loop` | Whether to loop animation. | `boolean` | `false` | | ||
| `mode` | `mode` | Play mode. | `PlayMode.Bounce \| PlayMode.Normal` | `PlayMode.Normal` | | ||
| `preserveAspectRatio` | `preserveAspectRatio` | Valid preserve aspect ratio value. | `string` | `'xMidYMid meet'` | | ||
| `renderer` | `renderer` | Renderer to use. | `"svg" | "canvas"` | `'svg'` | | ||
| `speed` | `speed` | Animation speed. | `number` | `1` | | ||
| `src` _(required)_ | `src` | Bodymovin JSON data or URL to JSON. | `string` | `undefined` | | ||
@@ -126,0 +127,0 @@ ## Methods |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3028061
289
4