Skip to content

@modoki/engine / index / popScope

Function: popScope()

popScope(): boolean

Pop the active scope (e.g. a modal closes). Never pops the base '' scope. Focus is cleared so the revealed scope re-autofocuses. Returns whether a pop happened.

Returns

boolean

Built with Modoki.