You need to sign in to do that
Don't have an account?
Rahul Singh 1384
Reload a div on the click of a button in lightning component
I have to refresh a div in a Lightning Component, the same as how we use rerender in a Visualforce Page. How can I do so?
You can use Aura: if se componet to rerender the elements.
e.g. <aura:if isTrue="{!v.showDiv}">
<div> Logic here </div
</aura:if>
set the showDiv property value from js controller
Component
controller.js
Hello Swapnil Kamble,
I tried your code for my example, and after the click the two divs hide, and only the first div (just text to test) that reappeared, but the second one don't. what's the problem there?
Ps: the second one is full calendar