IGalleryButton Interface

A structure defining configuration of the Left Toolbar for launching the Image Gallery in a predefined mode. For more details, refer to the Using the Image Gallery topic.

example

clientConfig.json

"LeftToolbar": {
    "buttons": [
        {
            "translationKey": "LeftToolbar.IMAGE",
            "translationKeyTitle": "LeftToolbar.TITLE_ADD_IMAGE",
            "iconClass": "cc-icon-add-image",
            "buttons": [
                "Image",
                {
                    "translationKey": "LeftToolbar.FACEBOOK",
                    "translationKeyTitle": "LeftToolbar.FACEBOOK",
                    "iconClass": "cc-icon-add-facebook",
                    "action": "Image",
                    "tabs": [ "Facebook" ]
                }
            ]
        }
    ]
}

Properties

action

action: ButtonAction

The action that the button performs.

iconClass

iconClass: string

The class of the button icon.

tabs

tabs: string []

The tabs available in the Image Gallery.

translationKey

translationKey: string

The translation key of the button caption.

translationKeyTitle

translationKeyTitle: string

The translation key of the button tooltip.