Variable GraffitiGetMediaConst GraffitiGetMedia : { __isFragment ?: never ; __isSuspense ?: never ; __isTeleport ?: never ; new ( ... args : any [] , ) : CreateComponentPublicInstanceWithMixins < Readonly < { accept : GraffitiMediaAccept ; session ?: GraffitiSession | null ; url : string ; } , > & Readonly < {} > , {} , {} , {} , {} , ComponentOptionsMixin , ComponentOptionsMixin , {} , PublicProps , {} , false , {} , {} , GlobalComponents , GlobalDirectives , string , {} , any , ComponentProvideOptions , { B : {} ; C : {} ; D : {} ; Defaults : {} ; M : {} ; P : {} } , Readonly < { accept : GraffitiMediaAccept ; session ?: GraffitiSession | null ; url : string ; } , > & Readonly < {} > , {} , {} , {} , {} , {} , > ; } & ComponentOptionsBase & VNodeProps & AllowedComponentProps & ComponentCustomProps & new () => { $slots : Readonly < { default ? ( props : { media : (...) & (...) | null | undefined ; poll : () => Promise < void > ; } , ) : any ; } , > & { default ? ( props : { media : GraffitiMedia & { dataUrl : ... } | null | undefined ; poll : () => Promise < void > ; } , ) : any ; } ; }
Defined in dist/node/plugin.d.ts:279
The Graffiti.getMedia 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 useGraffitiGetMedia. If no template is provided to the default slot, fallback content will display the media in an appropriate container based on its media type.