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
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.