@univerjscoreclassesActioniterator

@univerjs/core v0.5.0-beta.1Docs


Class: ActionIterator

Constructors

new ActionIterator()

new ActionIterator(_actions): ActionIterator

Parameters

ParameterType
_actionsTextXAction[]

Returns

ActionIterator

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:28

Methods

hasNext()

hasNext(): boolean

Returns

boolean

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:32


next()

next(length?): TextXAction

Parameters

ParameterType
length?number

Returns

TextXAction

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:36


peek()

peek(): TextXAction

Returns

TextXAction

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:88


peekLength()

peekLength(): number

Returns

number

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:92


peekType()

peekType(): TextXActionType

Returns

TextXActionType

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:101


rest()

rest(): TextXAction[]

Returns

TextXAction[]

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:110