Answers for "component does not invoke the lightning controller code on the second and subsequent attempts"

0

component does not invoke the lightning controller code on the second and subsequent attempts

<aura:attribute name="pageReference" type="Object" />
<aura:handler name="change" value="{!v.pageReference}" action="{!c.handlePageChange}" />

( //controller.js
    handlePageChange : function(component, event, helper) {
        console.log("pageReference attribute change");
        component.find("userRecord").reloadRecord(true);
    }
})
Posted by: Guest on May-03-2022

Code answers related to "component does not invoke the lightning controller code on the second and subsequent attempts"

Browse Popular Code Answers by Language