Can anyone please help me in getting the list of listeners in Touch UI of AEM 6?
任何人都可以帮助我在AEM 6的Touch UI中获取听众列表吗?
I know one event as keypress
, but I would also want to know the event which gets triggered when we change the value from a drop-down in the AEM Form Field of Touch UI.
我知道一个事件是按键,但我也想知道当我们从AEM表单字段触摸UI中的下拉列表中更改值时触发的事件。
1 个解决方案
#1
Only some of the Extjs Listener events are in AEM 6's Granite UI. one you mentioned is keypress
event. Some other events like foundation-contentloaded
are mentioned on this page.
只有一些Extjs Listener事件在AEM 6的Granite UI中。你提到的一个是按键事件。本页提到了基础内容加载等其他一些事件。
other then these, you could use cls
property on AEM components and specify the event handlers yourself via the class.
除此之外,您可以在AEM组件上使用cls属性,并通过类自己指定事件处理程序。
$('.my-select-class').on('change' , function(event){
console.log("Handling Event " , event);
})
#1
Only some of the Extjs Listener events are in AEM 6's Granite UI. one you mentioned is keypress
event. Some other events like foundation-contentloaded
are mentioned on this page.
只有一些Extjs Listener事件在AEM 6的Granite UI中。你提到的一个是按键事件。本页提到了基础内容加载等其他一些事件。
other then these, you could use cls
property on AEM components and specify the event handlers yourself via the class.
除此之外,您可以在AEM组件上使用cls属性,并通过类自己指定事件处理程序。
$('.my-select-class').on('change' , function(event){
console.log("Handling Event " , event);
})