The Graffiti.get 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 useGraffitiGet.

  • Type Parameters

    • Schema extends JSONSchema

    Parameters

    • __VLS_props: {
          locationOrUri: string | GraffitiLocation;
          schema: Schema;
          session?: null | GraffitiSession;
      } & VNodeProps & AllowedComponentProps & ComponentCustomProps
    • Optional__VLS_ctx: {
          attrs: any;
          emit: {};
          slots: Readonly<
              {
                  default(
                      props: {
                          isPolling: boolean;
                          poll: () => void;
                          result: undefined | null | GraffitiObject<Schema>;
                      },
                  ): any;
              },
          > & {
              default(
                  props: {
                      isPolling: boolean;
                      poll: () => void;
                      result: undefined | null | GraffitiObject<Schema>;
                  },
              ): any;
          };
      }
    • Optional__VLS_expose: (exposed: ShallowUnwrapRef<{}>) => void
    • Optional__VLS_setup: Promise<
          {
              attrs: any;
              emit: {};
              props: {
                  locationOrUri: string
                  | GraffitiLocation;
                  schema: Schema;
                  session?: null | GraffitiSession;
              } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
              slots: Readonly<
                  {
                      default(
                          props: {
                              isPolling: boolean;
                              poll: () => void;
                              result: undefined | null | GraffitiObject<Schema>;
                          },
                      ): any;
                  },
              > & {
                  default(
                      props: {
                          isPolling: boolean;
                          poll: () => void;
                          result: undefined | null | GraffitiObject<Schema>;
                      },
                  ): any;
              };
              expose(exposed: ShallowUnwrapRef<{}>): void;
          },
      >

    Returns VNode<RendererNode, RendererElement, { [key: string]: any }> & {
        __ctx?: {
            attrs: any;
            emit: {};
            props: {
                locationOrUri: string | GraffitiLocation;
                schema: Schema;
                session?: null | GraffitiSession;
            } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
            slots: Readonly<
                {
                    default(
                        props: {
                            isPolling: boolean;
                            poll: () => void;
                            result: undefined | null | GraffitiObject<Schema>;
                        },
                    ): any;
                },
            > & {
                default(
                    props: {
                        isPolling: boolean;
                        poll: () => void;
                        result: undefined | null | GraffitiObject<Schema>;
                    },
                ): any;
            };
            expose(exposed: ShallowUnwrapRef<{}>): void;
        };
    }