mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-26 10:36:39 -05:00
feat: implement progress tracking on homepage
This commit is contained in:
@@ -15,7 +15,7 @@ const targetIsVisible = useElementVisibility(chartRef, {
|
||||
});
|
||||
const currentlyVisiblePercentage = computed(() => targetIsVisible.value ? props.item.completion : 0);
|
||||
const animatedPercentage = useTransition(currentlyVisiblePercentage, {
|
||||
duration: 2000,
|
||||
duration: 1000,
|
||||
easing: TransitionPresets.easeInOutQuad
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user