mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
chore: bump deps (#15151)
This commit is contained in:
@@ -28,7 +28,7 @@ The bound of the element without considering the response extension.
|
||||
|
||||
### forceFullRender?
|
||||
|
||||
> `optional` **forceFullRender**: `boolean`
|
||||
> `optional` **forceFullRender?**: `boolean`
|
||||
|
||||
Whether to disable fallback rendering for this element, e.g., during zooming.
|
||||
Defaults to false (fallback to placeholder rendering is enabled).
|
||||
@@ -37,7 +37,7 @@ Defaults to false (fallback to placeholder rendering is enabled).
|
||||
|
||||
### lockedBySelf?
|
||||
|
||||
> `optional` **lockedBySelf**: `boolean`
|
||||
> `optional` **lockedBySelf?**: `boolean`
|
||||
|
||||
Indicates whether the current block is explicitly locked by self.
|
||||
For checking the lock status of the element, use `isLocked` instead.
|
||||
|
||||
@@ -47,7 +47,7 @@ The bound of the element without considering the response extension.
|
||||
|
||||
### forceFullRender?
|
||||
|
||||
> `optional` **forceFullRender**: `boolean`
|
||||
> `optional` **forceFullRender?**: `boolean`
|
||||
|
||||
Whether to disable fallback rendering for this element, e.g., during zooming.
|
||||
Defaults to false (fallback to placeholder rendering is enabled).
|
||||
@@ -60,7 +60,7 @@ Defaults to false (fallback to placeholder rendering is enabled).
|
||||
|
||||
### lockedBySelf?
|
||||
|
||||
> `optional` **lockedBySelf**: `boolean`
|
||||
> `optional` **lockedBySelf?**: `boolean`
|
||||
|
||||
Indicates whether the current block is explicitly locked by self.
|
||||
For checking the lock status of the element, use `isLocked` instead.
|
||||
|
||||
@@ -12,7 +12,7 @@ The options for the hit testing of a point.
|
||||
|
||||
### hitThreshold?
|
||||
|
||||
> `optional` **hitThreshold**: `number`
|
||||
> `optional` **hitThreshold?**: `number`
|
||||
|
||||
The threshold of the hit test. The unit is pixel.
|
||||
|
||||
@@ -20,7 +20,7 @@ The threshold of the hit test. The unit is pixel.
|
||||
|
||||
### ignoreTransparent?
|
||||
|
||||
> `optional` **ignoreTransparent**: `boolean`
|
||||
> `optional` **ignoreTransparent?**: `boolean`
|
||||
|
||||
If true, the transparent area of the element will be ignored during the point inclusion test.
|
||||
Otherwise, the transparent area will be considered as filled area.
|
||||
@@ -31,7 +31,7 @@ Default is true.
|
||||
|
||||
### responsePadding?
|
||||
|
||||
> `optional` **responsePadding**: \[`number`, `number`\]
|
||||
> `optional` **responsePadding?**: \[`number`, `number`\]
|
||||
|
||||
The padding of the response area for each element when do the hit testing. The unit is pixel.
|
||||
The first value is the padding for the x-axis, and the second value is the padding for the y-axis.
|
||||
@@ -40,7 +40,7 @@ The first value is the padding for the x-axis, and the second value is the paddi
|
||||
|
||||
### useElementBound?
|
||||
|
||||
> `optional` **useElementBound**: `boolean`
|
||||
> `optional` **useElementBound?**: `boolean`
|
||||
|
||||
If true, the element bound will be used for the hit testing.
|
||||
By default, the response bound will be used.
|
||||
@@ -49,6 +49,6 @@ By default, the response bound will be used.
|
||||
|
||||
### zoom?
|
||||
|
||||
> `optional` **zoom**: `number`
|
||||
> `optional` **zoom?**: `number`
|
||||
|
||||
The zoom level of current view when do the hit testing.
|
||||
|
||||
Reference in New Issue
Block a user