Skip to content

Function: setSitePageActive()

setSitePageActive(page, active): void

Defined in: site-page.ts:84

Drive one page's pause-not-destroy edge AND its tools-activity bit — the helper a shell calls instead of bare page.activate?.(), so the two lifecycles cannot drift. Safe against adopted registries that predate the activity bit (optional-chained through).

Parameters

page

SitePage

active

boolean

Returns

void