Associates a specific function with a specified event, so that the function is executed each time the event button is clicked.
JavaScript |
|
bind(eventName, func) |
|
Parameters
eventName
The name of the button event that is triggered.
func
The JavaScript function to execute each time the (ribbon) button event is triggered.