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 Quote 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); } ); } Quote Link to comment Share on other sites More sharing options...
qpash Posted October 11, 2018 Author Share Posted October 11, 2018 Thanks, this work! Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.