Yes, should work as well if you append this attribute to the button and then in the directive get the element and the option buttons with the parent() selector. I’ve created a rough codepen here:
Yes, should work as well if you append this attribute to the button and then in the directive get the element and the option buttons with the parent() selector. I’ve created a rough codepen here: