Comments (1)
I'm thinking the way to do this would be to introduce a prop called something like nextRollValues
and pass in an array that matches the sequence of dice you are using.
The tricky part would be you'd need to clear that prop before the next roll.
@caseyjkey does this seem like something that would work for your case?
from react-dice-complete.
Related Issues (20)
- rollDoneCallback called on render of dice HOT 3
- [enhancement]Increasing Number of Sides HOT 2
- change default value from 6 HOT 2
- Support for react native HOT 2
- React native support road map HOT 1
- Functional component example HOT 1
- Dice rolling automatically on render HOT 12
- Blinking colors across entire page issue HOT 1
- Enable user to specify that the corners of dice should be rounded. HOT 1
- Problem window NextjJS HOT 1
- Setting up next rolled value HOT 1
- coming previous values as current value on roll dice done HOT 2
- Support React 18 HOT 5
- Typescript support HOT 2
- Can't resolve 'react-dice-complete/dist/react-dice-complete.css HOT 1
- Preventing default roll
- how to get the value of the dice individually HOT 1
- Dice become invisible on IPhone/IPad
- react-dice-complete vs react-dice HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-dice-complete.