ININ.Addins.UI.Elements namespace

Member of ININ.Addins.UI Since 2018 R2 API Version 1

The ININ.Addins.UI.Elements namespace provides APIs for working with customizable user interface elements, including watching client buttons for click events.

Members

clientButtons :ININ.Addins.UI.Elements.IClientButtons

Static Read-only Since 2018 R2 API Version 1

Represents the interface for handling events on client buttons. Client buttons must be configured in Interaction Administrator and set to use Connect Add-In notifications.

Example
// Observe when a click event is fired from a client button.
ININ.Addins.UI.Elements.clientButtons.on("clicked", function(clientButtonInfo) {
    console.log("Received a click event from a client button with id: " + clientButtonInfo.buttonId);
});

Interfaces

IClientButtonInfo

Represents the client button information from a click event.

IClientButtons

Provides an interface for handling events on client buttons.