UNPKG

@tempots/ui

Version:

Provides a higher level of renderables to help fast development with Tempo.

24 lines (23 loc) 603 B
/** * Configuration applied when committing a navigation update. * * @public */ export type NavigationOptions = { /** * Optional history state to associate with the navigation entry. */ state?: unknown; /** * Scroll behaviour after navigation. Defaults to preserving the current scroll position. */ scroll?: 'preserve' | 'auto'; /** * Enable view transitions when supported by the browser. */ viewTransition?: boolean; /** * Force replacement of the current history entry instead of pushing a new one. */ replace?: boolean; };