PDA

View Full Version : Button in listitem



J-zY
17 Mar 2011, 12:52 PM
Hi,

I want to add a button to a list item like this (view menu)

http://www.sencha.com/files/blog/old/assets/images/20101216-eresistible-3.png

Is this done in css? Or are there other ways to do this? And how do I add a listener to a button like this.

Thanks

AndreaCammarata
18 Mar 2011, 12:20 AM
Hi J-zY,
yes, it's made with css and I think they use event delegation to handle the user tapping.

Hope this helps