lukes-mighty-gif
v0.0.5-beta.0
Published
Stencil Component Starter
Downloads
7
Maintainers
Readme
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.