3

In standard related lists, (for example) Contacts related list on an Account record. If we open full list and click on Refresh button, it happens to do an animated effect by rotating the icon inside the button.

Can anyone suggest how to do that in a custom component with a lightning button/buttonIcon?

enter image description here

5

It is created via following css class:

.forceListViewManagerHeader .rotate svg {
animation: rotate .4s;
}

Check the screenshot also

css for rotation

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.