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
Hi,
this is a proposal for using a static directive. actually every time a directive is used, an object is created.
My idea is:
if in the directive function is passed a function instead an object, the function is called with node element.
Hi,
Yes, this is good solution. I'll try to implement it. But in this case we need to add if for each directive call. Maybe it will be better to use another syntax for stateless directive like @bg={{ }}. But it will complicate learning.
Hi,
this is a proposal for using a static directive. actually every time a directive is used, an object is created.
My idea is:
if in the directive function is passed a function instead an object, the function is called with node element.
example
The text was updated successfully, but these errors were encountered: