Skip to content

Documentation / @ripl/core / ContextOptions

Interface: ContextOptions<TMeta> ​

Defined in: packages/core/src/context/types.ts:150

Options for constructing a rendering context.

Extended by ​

Type Parameters ​

Type ParameterDefault type
TMeta extends Record<string, unknown>Record<string, unknown>

Properties ​

PropertyTypeDescriptionDefined in
dragThreshold?numberMinimum pointer movement, in pixels, before a drag gesture is recognized.packages/core/src/context/types.ts:154
interactive?booleanWhether the context listens for and emits pointer and drag events.packages/core/src/context/types.ts:152
meta?TMetaArbitrary metadata attached to the context.packages/core/src/context/types.ts:156