I want to create custom attribute directive in the same manner how it is done for built-in directives like "attr", "class", "style" used as in this example:
<div [style.width.px]="mySize">
The documentation here describes only the case with a fixed directive name. So the questions are:
How should I specify selector for such directive?
How can I retrieve the variable part of the directive name?
Or may be it is not possible at all and used only for built-in directives?