diff --git a/api-generator/components/galleria.js b/api-generator/components/galleria.js index 95dd12bc3..4ef0cb142 100644 --- a/api-generator/components/galleria.js +++ b/api-generator/components/galleria.js @@ -148,27 +148,47 @@ const GalleriaProps = [ const GalleriaSlots = [ { name: 'header', - description: "Custom content for the component's header" + description: "Custom content for the component's header." }, { name: 'footer', - description: "Custom content for the component's header" + description: "Custom content for the component's footer." }, { name: 'item', - description: 'Custom content for the item' + description: 'Custom content for the item.' }, { name: 'caption', - description: 'Custom caption content' + description: 'Custom caption content.' }, { name: 'thumbnail', - description: 'Custom thumbnail content' + description: 'Custom thumbnail content.' }, { name: 'indicator', - description: 'Custom indicator content' + description: 'Custom indicator content.' + }, + { + name: 'closeicon', + description: 'Custom close icon template.' + }, + { + name: 'previtemicon', + description: 'Custom navigator previous item icon template.' + }, + { + name: 'nextitemicon', + description: 'Custom navigator next item icon template.' + }, + { + name: 'prevthumbnailicon', + description: 'Custom thumbnail previous icon template.' + }, + { + name: 'nextthumbnailicon', + description: 'Custom thumbnail next icon template.' } ]; diff --git a/components/lib/galleria/Galleria.d.ts b/components/lib/galleria/Galleria.d.ts index deefc784c..37797415f 100755 --- a/components/lib/galleria/Galleria.d.ts +++ b/components/lib/galleria/Galleria.d.ts @@ -205,6 +205,26 @@ export interface GalleriaSlots { */ item: any; }): VNode[]; + /** + * Custom close icon template. + */ + closeicon(): VNode[]; + /** + * Custom navigator previous item icon template. + */ + previtemicon(): VNode[]; + /** + * Custom navigator next item icon template. + */ + nextitemicon(): VNode[]; + /** + * Custom thumbnail previous icon template. + */ + prevthumbnailicon(): VNode[]; + /** + * Custom thumbnail next item template. + */ + nextthumbnailicon(): VNode[]; } /** diff --git a/components/lib/galleria/Galleria.vue b/components/lib/galleria/Galleria.vue index 901751f7a..c4fcf35de 100755 --- a/components/lib/galleria/Galleria.vue +++ b/components/lib/galleria/Galleria.vue @@ -2,11 +2,11 @@
- +
- +