You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@directive is basically a @component without a view. So its a directive that alters the behavior of an element. So we should be able to use it just like @component, like this;
I know right now @directive is an ng1 decorator for basically doing ng1 style directive declaration. But I think a1atscript should focus on being a pure ng2 polyfill (my two cents).
The text was updated successfully, but these errors were encountered:
See: https://angular.io/docs/js/latest/api/annotations/DirectiveAnnotation-class.html
@directive is basically a @component without a view. So its a directive that alters the behavior of an element. So we should be able to use it just like @component, like this;
I know right now @directive is an ng1 decorator for basically doing ng1 style directive declaration. But I think a1atscript should focus on being a pure ng2 polyfill (my two cents).
The text was updated successfully, but these errors were encountered: