Is there a way to get a button with a gif?

Hello guys,

I am relatively new to the ionic framework and wanted to ask if there is a way, so that I can use a gif as a button?
So that I can get on click and on press (click and hold) events?

Also I’d like to ask if it’s possible to start/stop the gif animation?

Tanks in advance,



img tag support animated gif. Maybe you can use click event to toogle src property of img tag to show an animated gif or a static gif.

Best regards, ana-liebt

1 Like