我试图使用$document.on("dialog-ready", function() { .. }
进行触摸UI对话框自定义。我在哪里可以看到对话框就绪事件在对话框内容完全加载之前触发,这使我无法使用标记来遍历对话框html。
$document.on("dialog-ready", function() { .. }
比较时,序列AEM加载$(document).on("foundation-contentloaded", function (e) { .. }
的顺序是什么。?
您可以使用:
$(document).on("foundation-contentloaded", function(e) {
var container = e.target;
});
检查这个link。
以下是更多示例:https://helpx.adobe.com/experience-manager/using/creating-touchui-events.html