Last active
July 26, 2022 18:28
-
-
Save GoodNew5/169dfc0c902f0333e7557ee759243353 to your computer and use it in GitHub Desktop.
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> | |
<div | |
class="circle" | |
:style="`--progress-value: ${percent};`" | |
> | |
<div class="circle__progress" /> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: 'round-diagram', | |
props: { | |
percent: { | |
type: Number, | |
required: true | |
} | |
} | |
} | |
</script> | |
<style src="./style.scss" lang="scss" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment