xTemplate <div> tap in architect
I need to call a function when a <div> is clicked in xtemplate. Not haveing any success doing this in architect. Any ideas?
so if a <div id="myDiv">this div gets tapped</div> how to read that event and call a function in architect
Is this a component? a container? a panel?
Grab a reference to the element of the component and set a click event handler via the Ext.Element API.
Can there be multiple ones of these divs? of these components? You may be better off using a css class and then using the delegate configuration.
I had a tpl in a container. I wanted to tap a div element, I achieved this through the element, thanks for your help