'Add class to amp-carousel-button
I have a carousel created with the amp-carousel component, the amp-carousel-button elements are created as part of the component.
Is there a way to add some classes that I need to do click measurement and other stuff to the component's HTML?
It's my understanding that you can't add javascript to an AMP page, please correct me if I'm wrong.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|