Post Reply 
Author Using an icon as a clickable widget
soorya
Member

Find all posts by this user
Quote this message in a reply
Photo  2 November 2015 13:21
Hello,

I would like to use an icon in place of an existing iconbutton in my application. So, I modified the code from

{@aria:IconButton   {
    icon: "std:down_arrow",
    onclick : {
        fn: "filterClick"
    },
    width:32
}/}

to

{@aria:Icon     {
    icon: "std:info",
    onclick : {
        fn: "filterClick"
    },
    width:32
}/}
Though the API documentation for aria:Icon mentions support for onclick event, the code above doesn't seem to accept clicks.

Please, could you confirm if the Icon widget supports onclick and if so, if the above code is expected to receive a click event?

Thank you very much.
Best regards,
Soorya.
(This post was last modified: 2 November 2015 13:29 by soorya.)
Post Reply