Download

Selecting more than one element using blueprints

Hi,
let’s say that I have 10 buttons in my interface.
When I click on each of them I would change its style to ‘active’ and reset the style of all other buttons to ‘normal’.

In javascript it would be:

buttons.classList.remove(‘is-active’);
this.classList.add(‘is-active’)

:slight_smile:

Any idea of how to do this using blueprints? Thanks!