@graffiti-garden/wrapper-vue
    Preparing search index...

    Variable GraffitiGetConst

    GraffitiGet: <Schema extends JSONSchema>(
        __VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"],
        __VLS_ctx?: {
            attrs: any;
            emit: {};
            slots: Readonly<
                {
                    default?(
                        props: {
                            object: GraffitiObject | undefined | null;
                            poll: () => Promise<void>;
                        },
                    ): any;
                },
            > & {
                default?(
                    props: {
                        object: GraffitiObject | undefined | null;
                        poll: () => Promise<void>;
                    },
                ): any;
            };
        },
        __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"],
        __VLS_setup?: Promise<
            {
                attrs: any;
                emit: {};
                props: {
                    schema: Schema;
                    session?: GraffitiSession
                    | null;
                    url: string | GraffitiObjectUrl;
                } & PublicProps;
                slots: Readonly<
                    {
                        default?(
                            props: {
                                object: GraffitiObject | undefined | null;
                                poll: () => Promise<void>;
                            },
                        ): any;
                    },
                > & {
                    default?(
                        props: {
                            object: GraffitiObject | undefined | null;
                            poll: () => Promise<void>;
                        },
                    ): any;
                };
                expose(exposed: ShallowUnwrapRef<{}>): void;
            },
        >,
    ) => VNode & { __ctx?: Awaited<typeof __VLS_setup> }

    The Graffiti.get method as a reactive renderless component for use in Vue templates.

    Its props and slots props are identical to the arguments and return values of the composable useGraffitiGet. If no template is provided to the default slot, fallback content will display the object using GraffitiObjectInfo for debugging.

    Type Declaration

      • <Schema extends JSONSchema>(
            __VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"],
            __VLS_ctx?: {
                attrs: any;
                emit: {};
                slots: Readonly<
                    {
                        default?(
                            props: {
                                object: GraffitiObject | undefined | null;
                                poll: () => Promise<void>;
                            },
                        ): any;
                    },
                > & {
                    default?(
                        props: {
                            object: GraffitiObject | undefined | null;
                            poll: () => Promise<void>;
                        },
                    ): any;
                };
            },
            __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"],
            __VLS_setup?: Promise<
                {
                    attrs: any;
                    emit: {};
                    props: {
                        schema: Schema;
                        session?: GraffitiSession
                        | null;
                        url: string | GraffitiObjectUrl;
                    } & PublicProps;
                    slots: Readonly<
                        {
                            default?(
                                props: {
                                    object: GraffitiObject | undefined | null;
                                    poll: () => Promise<void>;
                                },
                            ): any;
                        },
                    > & {
                        default?(
                            props: {
                                object: GraffitiObject | undefined | null;
                                poll: () => Promise<void>;
                            },
                        ): any;
                    };
                    expose(exposed: ShallowUnwrapRef<{}>): void;
                },
            >,
        ): VNode & { __ctx?: Awaited<typeof __VLS_setup> }
      • Type Parameters

        • Schema extends JSONSchema

        Parameters

        • __VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"]
        • Optional__VLS_ctx: {
              attrs: any;
              emit: {};
              slots: Readonly<
                  {
                      default?(
                          props: {
                              object: GraffitiObject | undefined | null;
                              poll: () => Promise<void>;
                          },
                      ): any;
                  },
              > & {
                  default?(
                      props: {
                          object: GraffitiObject | undefined | null;
                          poll: () => Promise<void>;
                      },
                  ): any;
              };
          }
        • Optional__VLS_expose: NonNullable<Awaited<typeof __VLS_setup>>["expose"]
        • Optional__VLS_setup: Promise<
              {
                  attrs: any;
                  emit: {};
                  props: {
                      schema: Schema;
                      session?: GraffitiSession
                      | null;
                      url: string | GraffitiObjectUrl;
                  } & PublicProps;
                  slots: Readonly<
                      {
                          default?(
                              props: {
                                  object: GraffitiObject | undefined | null;
                                  poll: () => Promise<void>;
                              },
                          ): any;
                      },
                  > & {
                      default?(
                          props: {
                              object: GraffitiObject | undefined | null;
                              poll: () => Promise<void>;
                          },
                      ): any;
                  };
                  expose(exposed: ShallowUnwrapRef<{}>): void;
              },
          >

        Returns VNode & { __ctx?: Awaited<typeof __VLS_setup> }