How to make a button react to a press


I have some buttons that I’d like to have blink when someone presses them. How can I do this in nativescript? I get the impression that the normal css modifiers (eg. :pressed) don’t work. So is there another way to do it?


Use :highlighted