IGoToOptionsPatterns

interface
Navigation & Scroll

Named easing function registry for the useGoTo() service — an open record where each key is an easing name and the value is a timing function mapping progress t ∈ [0,1] to an output value.

TypeScript

Definition

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

typescript

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Registering a custom easing pattern

typescript