ORIGAM_GO_TO_KEY

const
Injection Keys

Vue provide/inject symbol that carries the IGoToInstance (programmatic scroll-to helper) provided by the origam plugin and consumed by useGoTo() and scroll-sensitive components such as OrigamScrollObserver.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamScrollObserver

Usage

Examples

Ready-to-paste code snippets using this constant.

Smooth-scrolling to an element with useGoTo

typescript