Content Gallery
Usage
<cf-content-gallery [styling]="galleryStyling">
<cf-content-gallery-card *ngFor="let card of [1, 2, 3, 4, 5], let i = index">
<h3 style="text-align: center">Card index: {{i}}</h3>
</cf-content-gallery-card>
</cf-content-gallery>galleryStyling = new ContentGalleryStylingModel({
height: '300px',
verticalAlignment: 'center',
horizontalAlignment: 'center',
container: {class: 'my-gallery-container'},
nextButton: {class: 'my-gallery-next-btn'},
previousButton: {class: 'my-gallery-prev-btn'},
paginationButton: {class: 'my-gallery-pagination-btn'}
});
galleryCardStyling = new ContentGalleryCardStylingModel({
verticalAlignment: 'end',
horizontalAlignment: 'end',
});Gallery styling properties
Gallery output properties
Gallery card styling properties
Gallery card output properties
Last updated