0.1.0 • Published 4 years ago

@panda_madness/transition-component v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Built With Stencil

Transition Component

This project is an attemp to mimic Vue JS's transitions, but implemented in Web Component form. As such this component is usable with any front-end framework (React, Ember, Angular, etc.), or no framework at all if that's your jazz.

Stencil

This project is built with Stencil. Stencil is a compiler for building fast web apps using Web Components.

Using this component

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/@panda_madness/transition-component@0.1.0/dist/transition.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Bundler

  • Run npm install @panda_madness/transition-component --save
  • Add an import to the npm packages import @panda_madness/transition-component;
  • Then you can use the element anywhere in your template, JSX, html etc