Hi Isomorphic,
when using clickHandler() and iconClickHandler(), when I click on the icon, both handlers are called. Can I somehow execute only iconClickHandler() when I click on icon?
SHOWCASE
Best regards
Pavo
when using clickHandler() and iconClickHandler(), when I click on the icon, both handlers are called. Can I somehow execute only iconClickHandler() when I click on icon?
SHOWCASE
Code:
isc.Label.create({
height: 30,
padding: 10,
align: "center",
valign: "center",
wrap: false,
icon: "icons/16/approved.png",
click () {
isc.say("Label clicked!");
},
iconClick () {
isc.say("Icon clicked!");
},
showEdges: true,
contents: "<i>Approved</i> for release"
})
Pavo
Comment