📅  最后修改于: 2022-03-11 15:02:36.181000             🧑  作者: Mango
var anOtherOnZoomFunction = function(info) {
console.log(info);
};
$.axZm.userFunc = $.fn.axZm.mergeCallBackObj($.axZm.userFunc, {
onZoom: anOtherOnZoomFunction
});
// or like this when AJAX-ZOOM is already initialized:
$.fn.axZm.addCallback('onZoom', anOtherOnZoomFunction);