I have 2 buttons prev and next
consider we have 3 pages 1,2,3
if its 1 of 3 ->prev disable,next enable
2of3–>both button enable
30f3–>prev enable and next disable
how to do that in lightning??
I have 2 buttons prev and next
consider we have 3 pages 1,2,3
if its 1 of 3 ->prev disable,next enable
2of3–>both button enable
30f3–>prev enable and next disable
how to do that in lightning??
Best Answer
Honestly, I didn't use it in my demo and I think it looks fine without it. That said, you could enable/disable the components by using aura:if. Note that SLDS doesn't really have a "disabled" style, so it doesn't really matter. The pagination is fast enough that the user wouldn't notice if the button was disabled anyways.