RibbonGallerySettingsModel

1 Oct 20251 minute to read

Interface for a class RibbonGallerySettings

Properties

beforeItemRender EmitType<GalleryItemEventArgs>

Event triggers before rendering each gallery item.

beforeSelect EmitType<GalleryBeforeSelectEventArgs>

Event triggers before the gallery items selects.

itemHover EmitType<GalleryHoverEventArgs>

Event triggers when a user hovers over a gallery item.

popupClose EmitType<GalleryPopupEventArgs>

Event triggers when the gallery popup closes.

popupOpen EmitType<GalleryPopupEventArgs>

Event triggers when the gallery popup opens.

select EmitType<GallerySelectEventArgs>

Event triggers when the gallery items selects.

groups RibbonGalleryGroupModel[]

Defines the properties for collection of gallery items in the Ribbon.

itemCount number

Defines the number of items to be displayed in the Ribbon Gallery.

popupHeight string

Defines the height of the ribbon gallery popup.

popupTemplate string|function

Defines the template for gallery items in popup. The current gallery item model passed as context to build the content.

popupWidth string

Defines the width of the ribbon gallery popup.

selectedItemIndex number

Defines the index of current selected gallery item.

template string|function

Defines the template for gallery items contents. The current gallery item model passed as context to build the content.