Fullscreen Lightbox Javascript Fullscreen Lightbox ,React Fullscreen Lightbox Vue Fullscreen Lightbox Vue

Vue Lightbox Documentation

Learn how to use the Vue version of Fullscreen Lightbox.

Captions

Pro feature

Captions at the bottom of the slide can be displayed with the "captions" array input. Fill it with Angular components.

import { Component } from "@angular/core";
import { FsLightbox } from "fslightbox-angular";
import { CaptionComponent } from "./CaptionComponent";
import { AnotherCaptionComponent } from "./AnotherCaptionComponent";

@Component({
	selector: 'app-root',
	imports: [FsLightbox],
	template: `<div>
		<fslightbox 
			[toggler]="toggler"
			[sources]="['Images/1.jpg', 'Images/2.jpg']"
			[captions]="captions"
		/>
	</div>`
})
export class App {
	toggler = false;
	captions = [
		CaptionComponent,
		{
			component: AnotherCaptionComponent,
			inputs: {
				title: 'An Example Title'
			}
		}
	];
}
Look over the Fullscreen Lightbox open source plug-ins.