qpash Posted October 11, 2018 Share Posted October 11, 2018 I am setting an OnClick event for a TunimLabel but it is not firing. Code not work: UnimLabel1 -> ClientEvents -> UniEvents -> function afterCreate: function afterCreate(sender) { var me = sender; me.element.on("tap", function() { me.fireEvent("click"); } ) } Use licensed version Version:1.50.0 build 1480 Link to comment Share on other sites More sharing options...
Sherzod Posted October 11, 2018 Share Posted October 11, 2018 function afterCreate(sender) { var me = sender; me.element.on("tap", function() { me.fireEvent("click", me); } ); } Link to comment Share on other sites More sharing options...
qpash Posted October 11, 2018 Author Share Posted October 11, 2018 Thanks, this work! Link to comment Share on other sites More sharing options...
gerhardhziegler Posted April 25, 2019 Share Posted April 25, 2019 Update: Works, shouldnt be placed into a Panel. Seems not to work. 1.50.0.1480 Didnt get anything at the "OnAjaxEvent" of the label neither on the "OnClick"-Event? What use has it? Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now