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

    Function useGraffitiActorToHandle

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

      Its corresponding renderless component is GraffitiActorToHandle.

      The arguments of this composable are the same as Graffiti.actorToHandle, 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

      • actor: MaybeRefOrGetter<string>

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

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