Activity Forums Salesforce® Discussions How to create reusable methods in Lightning JS client side controller for reuse within the client side controller itself? Reply To: How to create reusable methods in Lightning JS client side controller for reuse within the client side controller itself?

  • Himanshu

    Member
    July 28, 2016 at 10:27 am

    Hi Tanu,

    All the reusable code in the helper section in lightning -  "helper.functionname(component,event)". In case, if the helper method themselves need to call other methods, then you can call the same by using the "this" keyword.