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

    Function useGraffitiHandleToActor

    • The Graffiti.handleToActor method as a reactive composable for use in the Vue composition API.

      Its corresponding renderless component is GraffitiHandleToActor.

      The arguments of this composable are the same as Graffiti.handleToActor, only they can also be Refs or getters. As they change the output will automatically update. Reactivity only triggers when the root array or object changes, not when the elements or properties change. If you need deep reactivity, wrap your argument in a getter.

      Parameters

      • handle: MaybeRefOrGetter<string>

      Returns { actor: Ref<string | null | undefined, string | null | undefined> }

      • actor: A ref that contains the retrieved actor, if it exists. If the actor cannot be found, the result is null. If the actor is still being fetched, the result is undefined.