API > @blocksuite/lit > RangeSyncFilter
Interface: RangeSyncFilter ​
Properties ​
rangeToTextSelection ​
optional
rangeToTextSelection:function
Parameters ​
Parameter | Type |
---|---|
range | null | Range |
Returns ​
boolean
Defined In ​
packages/lit/src/utils/range-synchronizer.ts:15
textSelectionToRange ​
optional
textSelectionToRange:function
Parameters ​
Parameter | Type |
---|---|
selection | null | TextSelection |
Returns ​
boolean
Defined In ​
packages/lit/src/utils/range-synchronizer.ts:16