Socket
Socket
Sign inDemoInstall

@qonto/ember-lottie

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qonto/ember-lottie

Render lottie after effects animations in Ember.js


Version published
Weekly downloads
527
decreased by-98.05%
Maintainers
2
Weekly downloads
 
Created
Source

ember-lottie-illustration

ember-lottie

CI Latest NPM release

Render lottie after effects animations in Ember.js.

Compatibility

  • Ember.js v3.28 or above
  • Ember CLI v3.28 or above
  • Node.js v14 or above

Installation

ember install @qonto/ember-lottie

Usage

<Lottie
  @name="empty state"
  @animationData={{this.animationData}}
  @path="/data.json"
  @loop={{false}}
  @autoplay={{false}}
  @speed={{500}}
  @containerId={{this.id}}
  @onDataReady={{this.args.onDataReady}}
/>

API reference

Arguments

ArgumentTypeDescriptionExample
namestringanimation name for future reference
animationDataobjectan object with the exported animation data (mandatory at least one: animationData or path)
pathstringthe relative path to the animation object (mandatory at least one: animationData or path)
loopbooleanby default at true, the animation runs forever, at false, the animation is played only once
autoplaybooleanby default to true, it will play as soon as it's loaded
speednumber1 is normal speed
containerIdstringthe dom element id on which to render the animation (mandatory)
onDataReadyfunctiona function that triggers the Lottie when you want it

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 13 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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