API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagebulkCreate.launchcreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignMetadatagetDesignTemplateMetadatagetDesignTokeninitAppElementopenDesignoverlay.registerOnCanOpenpublish.launchrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDragChangelog
Error
Intents
Intents: Content
Intents: data
Intents: design
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInfonotification.addToastrequestOpenExternalUrlChangelog
PageRefList
API reference for the PageRefList type.
A list containing the references to pages in the design.
Methods
countfunctionRequired
Gets the number of items in the list.
Returns
The number of items.
number
toArrayfunctionRequired
Converts the list to an array.
Returns
An array containing all items. The items are the same as in the list.
For more information, see PageRef.
forEachfunctionRequired
filterfunctionRequired
Creates a new array with items that match a specific type.
Parameters
Returns
An array of items that are of type C.
readonly C[]
Creates a new array with items that pass a test.
Parameters
Returns
An array of items that passed the test.
For more information, see PageRef.