📜  iframe 缩放 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:14.248000             🧑  作者: Mango

代码示例2
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);