This code how to replace the traditional radio-buttons, for custom images. You can do the same with checkboxes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ICountUP | |
v-if="loaded" | |
:delay="delay" | |
:endVal="shortNum" | |
:options="options" /> | |
// use a question mark until the number loads, a loading animation would be cool also | |
<div v-else>?</div> | |
</template> |