Skip to content

BlockSuite API Documentation / @blocksuite/store / Y / Skip

Class: Skip ​

Contents ​

Extends ​

Constructors ​

new Skip(id, length) ​

new Skip(id, length): Skip

Parameters ​

• id: ID

• length: number

Returns ​

Skip

Inherited from ​

@blocksuite/store.Y.AbstractStruct.constructor

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/AbstractStruct.d.ts:6

Properties ​

id ​

id: ID

Inherited from ​

@blocksuite/store.Y.AbstractStruct.id

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/AbstractStruct.d.ts:7


length ​

length: number

Inherited from ​

@blocksuite/store.Y.AbstractStruct.length

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/AbstractStruct.d.ts:8

Accessors ​

deleted ​

get deleted(): boolean

Returns ​

boolean

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/AbstractStruct.d.ts:12

Methods ​

delete() ​

delete(): void

Returns ​

void

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/Skip.d.ts:6


getMissing() ​

getMissing(transaction, store): null | number

Parameters ​

• transaction: Transaction

• store: StructStore

Returns ​

null | number

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/Skip.d.ts:22


integrate() ​

integrate(transaction, offset): void

Parameters ​

• transaction: Transaction

• offset: number

Returns ​

void

Inherited from ​

@blocksuite/store.Y.AbstractStruct.integrate

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/AbstractStruct.d.ts:31


mergeWith() ​

mergeWith(right): boolean

Parameters ​

• right: Skip

Returns ​

boolean

Overrides ​

@blocksuite/store.Y.AbstractStruct.mergeWith

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/Skip.d.ts:11


write() ​

write(encoder, offset): void

Parameters ​

• encoder: UpdateEncoderV1 | UpdateEncoderV2

• offset: number

Returns ​

void

Overrides ​

@blocksuite/store.Y.AbstractStruct.write

Source ​

node_modules/.pnpm/yjs@13.6.10/node_modules/yjs/dist/src/structs/Skip.d.ts:16


Generated using typedoc-plugin-markdown and TypeDoc