Optionaloptions: GraffitiVueReadOptions | MaybeRefOrGetter<GraffitiSession | null | undefined>media: A ref containing
the retrieved media, undefined while loading, or null if not found or the fetch fails.
Retrieved media includes a dataUrl for display in a template.error: A ref containing the fetch error for failures other than not found,
or null otherwise.poll: A function that can be called to manually check if the media has changed.
Polling asks the implementation to revalidate cached media.
The Graffiti.getMedia method as a reactive composable for use in the Vue composition API.
Its corresponding renderless component is GraffitiGetMedia.
The arguments of this composable are the same as Graffiti.getMedia, with the first two arguments and each option, including the optional session, also accepting 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.