We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eebfff2 commit 6d34c66Copy full SHA for 6d34c66
src/guide/extras/animation.md
@@ -160,6 +160,8 @@ const tweened = reactive({
160
number: 0
161
})
162
163
+// 注意: Number.MAX_SAFE_INTEGER (9007199254740991) より大きい入力の場合、
164
+// JavaScript の数値精度に制限があるため、結果が不正確になる可能性があります。
165
watch(number, (n) => {
166
gsap.to(tweened, { duration: 0.5, number: Number(n) || 0 })
167
@@ -183,6 +185,8 @@ export default {
183
185
tweened: 0
184
186
}
187
},
188
+ // 注意: Number.MAX_SAFE_INTEGER (9007199254740991) より大きい入力の場合、
189
+ // JavaScript の数値精度に制限があるため、結果が不正確になる可能性があります。
190
watch: {
191
number(n) {
192
gsap.to(this, { duration: 0.5, tweened: Number(n) || 0 })
0 commit comments