Frontend Modules


Frontend Modules / js/pages/persistent_page_tree / storeExpandedState

Function: storeExpandedState()

storeExpandedState(pageId, expanded): void

Defined in: js/pages/persistent_page_tree.ts:47

This function updates the expanded state of the given page row. This state is stored in the session storage.

Parameters

pageId

number

The id of the page to update

expanded

boolean

Whether the page is now expanded or collapsed

Returns

void