The buttonCreating event is called before the caption buttons are created.
It can be used to change the array of the buttons or to change, add, or remove buttons from the title bar.
Syntax
Javascript (Usage) | |
---|
$(function () {
// Set buttonCreating event handler function
$(".selector").wijdialog({
buttonCreating : function (e, data) {
}
});
});
|
Javascript (Specification) | |
---|
buttonCreating = function (
: jQuery.Event,
: object
) { };
|
Parameters
- e
- jQuery Event object
- data
- Buttons array that will be created.
See Also
Reference
options type
wijdialog jQuery Widget