Add a bare bones service along with a JS lib to make it easy to do something like this in your JS code:
if (Operator.isActive('foobar')) { ... }
Log in to post a comment.