Skip to main content

Interface: BindUrlStateOptions

Defined in: src/serialization/urlState.ts:18

Options for bindStateToUrl.

Properties​

listen?​

optional listen: boolean

Defined in: src/serialization/urlState.ts:24

Re-apply the URL state to the controls on every hashchange. Default: true.


replace?​

optional replace: boolean

Defined in: src/serialization/urlState.ts:20

Use history.replaceState (no new history entry) when saving. Default: true.


restoreOnBind?​

optional restoreOnBind: boolean

Defined in: src/serialization/urlState.ts:22

Apply the URL state to the controls immediately on bind. Default: true.