chukwumaijem / roll-a-die Goto Github PK
View Code? Open in Web Editor NEWSimple 3D dice roll using CSS3 animation.
License: MIT License
Simple 3D dice roll using CSS3 animation.
License: MIT License
Hi!
I was trying to use the package but it is only available up to version 1.3.1 instead of the current release 1.5.3, could you fix this please?
Best.
The provided callback will be executed immediately. It would be great if it is executed after the animation faded.
rollADie({ element, numberOfDice: 1, delay: 3000, callback: () => { console.log("done animating"); }, values: [value] });
Would it be possible to include the feature to provide the SVG markup for the dice in an angular template or by specifying an URL to a SVG-File? I think currently the SVG markup is pretty much hardcoded inside the javascript code and there is just know way to get the hands on it because of minifications and so on ...
Any help would be appreciated! :)
When triggering the method rollADie()
multiple times it creates new audio elements but doesn't get rid of old ones or reueses them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.