From: Cyperghost Date: Tue, 12 Nov 2024 14:11:45 +0000 (+0100) Subject: `data-type` is optional X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=refs%2Fheads%2F6.2-fancybox;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git `data-type` is optional --- diff --git a/docs/javascript/components_image_viewer.md b/docs/javascript/components_image_viewer.md index 385a9068..71fd4b42 100644 --- a/docs/javascript/components_image_viewer.md +++ b/docs/javascript/components_image_viewer.md @@ -4,7 +4,7 @@ The Image Viewer component enables interactive image viewing in a modal, using t It supports automatic or manual opening and grouping of images. Not only images, but also Videos, YouTube Videos, PDFs, HTML, [...](https://fancyapps.com/fancybox/) are supported and can be displayed in the modal. -The appropriate `data-type` must be set, the system tries to determine this if it has not been set. +The appropriate `data-type` can be set, the system tries to determine this if it has not been set. For example, the following can be used: - `image` - Image