Return to site

GITHUB: custom directive targeting a CSS property

· github,fullstack

I am on a task to trigger business rules at click on buttons sharing a CSS class in Angular, and I wanted to do a mini-POC on my own to check the suitability of such a solution.

A web page with a div containing text which ―takes a color, defined in the directive ―triggers a console log, specified in the directive. Have a good one!