Need help to invoke drawer by icon

1 posts, 0 answers
  1. Nitesh
    Nitesh avatar
    8 posts
    Member since:
    Oct 2013

    Posted 07 May 2014 Link to this post

    Hello all.

    i am able to invoke drawer by button but i want to invoke the drawer by icon

    let me give you example

    i have one image <img src="whatever.jpg"/> i want that when i click on this image then drawer should invoke.

    i tried to call like this <a href="#" data-rel="drawer"><img src="whatever.jpg"/><a/> but it did not work for me. i had to add data-role="button"
    which i don't want to use.

    if you know the answer then please help me.
Back to Top