Skip to content

crelte / blocks / BlockOptions

Type Alias: BlockOptions ​

ts
type BlockOptions = object;

Properties ​

getSibling ​

ts
getSibling: (offset) => Record<string, any> | null;

The returns the sibling block or null if it does not exist

-1 = previous block 0 = current block 1 = next block

Parameters ​

offset ​

number

Returns ​

Record<string, any> | null