Skip to content

EmbedRegistryEmbedByExtensionRecord.[FileExtension.webp] method

EmbedRegistryEmbedByExtensionRecord › [FileExtension.webp]

Unofficial

Creates an embed component for a WEBP file.

Signature:

[FileExtension.webp](context: EmbedContext, file: TFile): EmbedImageComponent

Parameters:

Parameter Type Description
context EmbedContext
file TFile

Returns: EmbedImageComponent