type PageAddSpreadAction = (options?) => Promise<number>;Action function for adding a spread of two pages, each the size a new page takes. Returns the new spread.
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>