📜  iframe 内容放大和缩小 jquery - Javascript 代码示例

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

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