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
A common use case for an attribute directive is some sort of decoration, passing an input.
For example, you might have a selector, [prefixHighlightColor], and want to pass it as an input without the prefix, @Input('prefixHighlightColor') highlightColor: string;.
It seems that removing the prefix should not count as "renaming" for the no-input-rename rule. That rule seems sensible rule in any other case I can think of, so it would be a shame not to use it.
The text was updated successfully, but these errors were encountered:
A common use case for an attribute directive is some sort of decoration, passing an input.
For example, you might have a selector,
[prefixHighlightColor]
, and want to pass it as an input without the prefix,@Input('prefixHighlightColor') highlightColor: string;
.It seems that removing the prefix should not count as "renaming" for the no-input-rename rule. That rule seems sensible rule in any other case I can think of, so it would be a shame not to use it.
The text was updated successfully, but these errors were encountered: