-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate FtProgressBar to the composition API
- Loading branch information
Showing
5 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<template> | ||
<div | ||
class="progressBar" | ||
:style="{ inlineSize: progressBarPercentage + '%' }" | ||
/> | ||
</template> | ||
|
||
<script setup> | ||
import { computed } from 'vue' | ||
import store from '../../store/index' | ||
const progressBarPercentage = computed(() => { | ||
return store.getters.getProgressBarPercentage | ||
}) | ||
</script> | ||
|
||
<style scoped src="./FtProgressBar.css" /> |
10 changes: 0 additions & 10 deletions
10
src/renderer/components/ft-progress-bar/ft-progress-bar.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.