diff --git a/src/content/TextAnimations/TrueFocus/TrueFocus.vue b/src/content/TextAnimations/TrueFocus/TrueFocus.vue
index 68bdfd7..46e737f 100644
--- a/src/content/TextAnimations/TrueFocus/TrueFocus.vue
+++ b/src/content/TextAnimations/TrueFocus/TrueFocus.vue
@@ -1,6 +1,6 @@
+
@@ -12,6 +14,8 @@
+
+
({
sentence: 'True Focus',
@@ -79,7 +85,9 @@ const config = computed(() => ({
blurAmount: blurAmount.value,
borderColor: borderColor.value,
animationDuration: animationDuration.value,
- pauseBetweenAnimations: pauseBetweenAnimations.value
+ pauseBetweenAnimations: pauseBetweenAnimations.value,
+ syncGroup: syncMode.value ? 'sync-group-demo' : undefined,
+ defaultBlur: defaultBlur.value
}));
const propData = [
@@ -124,6 +132,20 @@ const propData = [
type: 'number',
default: '1',
description: 'Time to pause between focusing on each word (in auto mode).'
+ },
+ {
+ name: 'index',
+ type: 'Array',
+ default: 'undefined',
+ description:
+ 'Maps each word to a shared index value, used to coordinate focus position across multiple instances in the same syncGroup.'
+ },
+ {
+ name: 'syncGroup',
+ type: 'string',
+ default: 'undefined',
+ description:
+ 'A group identifier. All instances sharing the same syncGroup will stay in sync, hovering or animating one will reflect on all others.'
}
];