Interface DurandalHistoryOptions

Index

Properties

Properties

optional public hashChange?: boolean

Use hash change when present.

default

true

optional public pushState?: boolean

Use push state when present.

default

false

optional public root?: string

The url root used to extract the fragment when using push state.

optional public routeHandler?: (fragment: string) => void

The function that will be called back when the fragment changes.

optional public silent?: boolean

Prevents loading of the current url when activating history.

default

false

optional public startRoute?: string

Override default history init behavior by navigating directly to this route.