Open LukeSavefrogs opened 4 years ago
Similar to the onClose event it would be useful to have an onOpen event.
onClose
onOpen
It would be even better in my opinion if they were properties of the config object. Example:
$.Zebra_Dialog("Test onOpen", { title: "Test Title", onOpen: function () { console.log("Dialog has opened") }, onClose: function () { console.log("Dialog has closed") } });
The onClose event could still be present to add retrocompatibility.
This way i think it would be less polluted with "anonymous" events (an onClose event could be from any library or framework)
What do you think?
Similar to the
onClose
event it would be useful to have anonOpen
event.It would be even better in my opinion if they were properties of the config object. Example:
The
onClose
event could still be present to add retrocompatibility.This way i think it would be less polluted with "anonymous" events (an
onClose
event could be from any library or framework)What do you think?