I have an ui:inputTextArea that is setup to call a function when there is some change in the content of the TextArea,
In that function, I'm setting the class of the buttons to 'slds-show', But the issue with buttons is that they are getting displayed to the left side instead of center. Any Idea how i can make them displayed in center. Thanks!!!
I'm using these buttons inside of Lightning:card under footer section.
10 个回答
Instead of using show and hide classes, use aura:renderIf. That's the right way to go about it.
https://developer.salesforce.com/docs/component-library/bundle/aura:renderIf/documentation