guides
The guides on this page.
Supported On:
Signature
guides: ReadonlyArray<Guide>
Remarks
Like many of our array properties, page.guide
creates a new, read-only array every time it is called. To change the guides, you will need to make a copy of the existing array and/or assign a new array.
Example:
function addNewGuide(page: PageNode, guide: Guide) {
// .concat() creates a new array
page.guides = page.guides.concat(guide)
}