Directives are now exported as an API which might be cumbersome to handle.
Using access module and treating directives as opaque might help.
Common use cases:
- See if directive is present or not
- Get value of some directive argument (handle defaults - maybe there must be a way to tell if there was any value or it was undefined)
- ?
It would be nice to declare what type an argument can be.
Directives are now exported as an API which might be cumbersome to handle.
Using access module and treating directives as opaque might help.
Common use cases:
It would be nice to declare what type an argument can be.