Skip to content

API > @blocksuite/lit > RangeSyncFilter

Interface: RangeSyncFilter ​

Properties ​

rangeToTextSelection ​

optional rangeToTextSelection: function

Parameters ​

ParameterType
rangenull | Range

Returns ​

boolean

Defined In ​

packages/lit/src/utils/range-synchronizer.ts:15


textSelectionToRange ​

optional textSelectionToRange: function

Parameters ​

ParameterType
selectionnull | TextSelection

Returns ​

boolean

Defined In ​

packages/lit/src/utils/range-synchronizer.ts:16