Valentine M. yeah you'll want to toggle from element to class and you should be good to go.
However, I noticed that on this button you have the combo classes stacked button-base button but it should really be button button-base because all of the styles for buttons inherit from button. Once you have those combo classes fixed, when you toggle the interaction to be by class, you can target any button that has the class button to have that animation. You could use button-base to only have those buttons with that class have the animation as well. But the way you have it setup now limits what you can do and complicates your setup significantly.