We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e58fcfc commit a98c8eeCopy full SHA for a98c8ee
README.md
@@ -75,7 +75,8 @@ const measured = computed(() =>
75
layout(prepared.value, width.value, lineHeight.value)
76
)
77
78
-const { height, lineCount } = measured.value
+const height = computed(() => measured.value.height)
79
+const lineCount = computed(() => measured.value.lineCount)
80
```
81
82
Angular (signals) example:
@@ -97,6 +98,9 @@ const prepared = computed(() =>
97
98
const measured = computed(() =>
99
layout(prepared(), width(), lineHeight())
100
101
+
102
+const height = computed(() => measured().height)
103
+const lineCount = computed(() => measured().lineCount)
104
105
106
## Demos
0 commit comments