@univerjs/core v0.5.0-beta.1 • Docs
Class: ActionIterator
Constructors
new ActionIterator()
new ActionIterator(_actions): ActionIterator
Parameters
Parameter | Type |
---|---|
_actions | TextXAction [] |
Returns
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
Parameter | Type |
---|---|
length ? | number |
Returns
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
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
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
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/action-iterator.ts:110