0.0.5-beta.0 • Published 1 year ago

lukes-mighty-gif v0.0.5-beta.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This is a pausible gif webcomponent

It's built buy luke so that you could use an api similar to the HTMLMediaElement to treat gifs like videos rather than images.

You can install the project via npm with

yarn add lukes-mighty-gif

or

npm install --save lukes-mighty-gif

The api documentation is found in src/components/lukes-mighty-gif/readme.md which you can access with this link.

To collaborate on this project you can open pull requests or open an issue. To do local testing run

yarn install
yarn start

by default this will open http://localhost:3333/ which is serving the contents of the www directory. You can modify this page at src/index.html. When serving gifs for local testing I've been navigating to the directory I want to access the gif from and running npx http-server --cors which will run on http://localhost:8080/ by default.

Built With Stencil