Function GraffitiDiscover
GraffitiDiscover<Schema extends JSONSchema>( __VLS_props: { channels: string[]; schema: Schema; session?: null | GraffitiSession; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, __VLS_ctx?: { attrs: any; emit: {}; slots: Readonly< { default( props: { isPolling: boolean; poll: () => void; results: GraffitiObject<Schema>[]; }, ): any; }, > & { default( props: { isPolling: boolean; poll: () => void; results: GraffitiObject<Schema>[]; }, ): any; }; }, __VLS_expose?: (exposed: ShallowUnwrapRef<{}>) => void, __VLS_setup?: Promise< { attrs: any; emit: {}; props: { channels: string[]; schema: Schema; session?: null | GraffitiSession; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; slots: Readonly< { default( props: { isPolling: boolean; poll: () => void; results: GraffitiObject<Schema>[]; }, ): any; }, > & { default( props: { isPolling: boolean; poll: () => void; results: GraffitiObject<Schema>[]; }, ): any; }; expose(exposed: ShallowUnwrapRef<{}>): void; }, >,): VNode<RendererNode, RendererElement, { [key: string]: any }> & { __ctx?: { attrs: any; emit: {}; props: { channels: string[]; schema: Schema; session?: null | GraffitiSession; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; slots: Readonly< { default( props: { isPolling: boolean; poll: () => void; results: GraffitiObject<Schema>[]; }, ): any; }, > & { default( props: { isPolling: boolean; poll: () => void; results: GraffitiObject<Schema>[]; }, ): any; }; expose(exposed: ShallowUnwrapRef<{}>): void; };} Type Parameters
- Schema extends JSONSchema
Parameters
- __VLS_props: { channels: string[]; schema: Schema; session?: null | GraffitiSession } & VNodeProps & AllowedComponentProps & ComponentCustomProps
Optional
__VLS_ctx: {
attrs: any;
emit: {};
slots: Readonly<
{
default(
props: {
isPolling: boolean;
poll: () => void;
results: GraffitiObject<Schema>[];
},
): any;
},
> & {
default(
props: {
isPolling: boolean;
poll: () => void;
results: GraffitiObject<Schema>[];
},
): any;
};
}Optional
__VLS_expose: (exposed: ShallowUnwrapRef<{}>) => voidOptional
__VLS_setup: Promise<
{
attrs: any;
emit: {};
props: {
channels: string[];
schema: Schema;
session?: null
| GraffitiSession;
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
slots: Readonly<
{
default(
props: {
isPolling: boolean;
poll: () => void;
results: GraffitiObject<Schema>[];
},
): any;
},
> & {
default(
props: {
isPolling: boolean;
poll: () => void;
results: GraffitiObject<Schema>[];
},
): any;
};
expose(exposed: ShallowUnwrapRef<{}>): void;
},
>
Returns VNode<RendererNode, RendererElement, { [key: string]: any }> & {
__ctx?: {
attrs: any;
emit: {};
props: {
channels: string[];
schema: Schema;
session?: null | GraffitiSession;
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
slots: Readonly<
{
default(
props: {
isPolling: boolean;
poll: () => void;
results: GraffitiObject<Schema>[];
},
): any;
},
> & {
default(
props: {
isPolling: boolean;
poll: () => void;
results: GraffitiObject<Schema>[];
},
): any;
};
expose(exposed: ShallowUnwrapRef<{}>): void;
};
}
The Graffiti.discover method as a reactive renderless component for use in Vue templates.
Its props and slots are identical to the arguments and return values of the composable useGraffitiDiscover.