This commit is contained in:
16
node_modules/slate/dist/interfaces/range-ref.d.ts
generated
vendored
Normal file
16
node_modules/slate/dist/interfaces/range-ref.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Operation, Range } from '..';
|
||||
/**
|
||||
* `RangeRef` objects keep a specific range in a document synced over time as new
|
||||
* operations are applied to the editor. You can access their `current` property
|
||||
* at any time for the up-to-date range value.
|
||||
*/
|
||||
export interface RangeRef {
|
||||
current: Range | null;
|
||||
affinity: 'forward' | 'backward' | 'outward' | 'inward' | null;
|
||||
unref(): Range | null;
|
||||
}
|
||||
export interface RangeRefInterface {
|
||||
transform: (ref: RangeRef, op: Operation) => void;
|
||||
}
|
||||
export declare const RangeRef: RangeRefInterface;
|
||||
//# sourceMappingURL=range-ref.d.ts.map
|
||||
Reference in New Issue
Block a user