Search Docs
Loading...
Skip to content

Type Alias: PageAddAction

type PageAddAction = (options?) => Promise<number>;

Action function for adding a page

Parameters#

Parameter Type Description
options? { index?: number; } -
options.index? number Child index in the page container to insert at (defaults to appending)

Returns#

Promise<number>