sapui5 - How can I add onfocus() functionality in text field in sap ui5 instead of liveChange() -


how can add onfocus() functionality in text field in sap ui5 instead of livechange(), have tried using onfocusin(), not working, suggest more functionalities.

use attachbrowserevent method:

oyourtextcontrol.attachbrowserevent("onfocus", function(oevent) {     // whatever }); 

https://openui5.hana.ondemand.com/#docs/api/symbols/sap.ui.core.control.html#attachbrowserevent


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -