This is a migrated thread and some comments may be shown as answers.

Need help to invoke drawer by icon

0 Answers 29 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nitesh
Top achievements
Rank 1
Nitesh asked on 07 May 2014, 08:46 PM
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.
Tags
Report a bug
Asked by
Nitesh
Top achievements
Rank 1
Share this question
or