Skip to content

Documentation / @ripl/vue / RiplComponent

Interface: RiplComponent<TProps, TExposed> ​

Defined in: adapters/vue/src/types.ts:139

A declarative component wrapping a Ripl object.

Typed through $props rather than DefineComponent so that editors and vue-tsc resolve each element's own state properties, which the runtime prop declarations deliberately leave untyped.

The instance type is the wrapped Ripl object itself, because a template ref on any of these components resolves to that object rather than to Vue's component proxy.

Type Parameters ​

Type ParameterDefault typeDescription
TProps-The component's prop surface.
TExposedunknownThe Ripl object a template ref on the component resolves to.