Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

call other method in OnInit()

I am using ui5 library . and need to call clear() function during  onInit() as below. Though the Clear function exists, it throws undefined. How to fix this.

onInit: function () {

Clear();

},

Clear: function() {
alert('clear');
},
Not what you were looking for? View more on this topic or Ask a question