feat: add random

This commit is contained in:
lisonge 2024-10-03 21:59:57 +08:00
parent 296223497e
commit 886e99bb8d

View File

@ -698,7 +698,9 @@ export type Position = {
*
* , , , 2.5 '2.5'
*
* left/top/right/bottom/width/height
* left/top/right/bottom/width/height/random
*
* random 0-1 , random , 'random-random'=0
*
* @example
* 2.5 // ✅