Skip to main content
Version: 3.0.0-beta

Type Alias: NavigationBlocker

NavigationBlocker: object

Type declaration​

isBlocked()​

isBlocked: (path) => boolean

Parameters​

• path: string

Returns​

boolean

proceed()?​

optional proceed: () => void

Returns​

void

reset()?​

optional reset: () => void

Returns​

void

updateBlockListener()​

updateBlockListener: (path, block, basePath?) => () => void

Parameters​

• path: string

• block: boolean

• basePath?: string

Returns​

Function

Returns​

void

Defined in​

packages/firecms_core/src/types/navigation.ts:161

Sign up to our newsletter to get the latest news and updates. No spam!