Re-draw on input change
This commit is contained in:
@@ -87,6 +87,11 @@ export default {
|
|||||||
blueCheckbox: true
|
blueCheckbox: true
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
numberOfBallots: function() {
|
||||||
|
this.generateColors()
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
generateColors: function(event, time) {
|
generateColors: function(event, time) {
|
||||||
if (time == 5) {
|
if (time == 5) {
|
||||||
|
|||||||
Reference in New Issue
Block a user