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
Hello.
I'm working on md-button component. It has a condition — normally it should be rendered as a button element, but if href attribute is provided it should be rendered as an anchor.
How can I optimise the below template and either get rid of conditional statement or avoid atrributes copy/pasting?
Hello.
I'm working on md-button component. It has a condition — normally it should be rendered as a button element, but if
href
attribute is provided it should be rendered as an anchor.How can I optimise the below template and either get rid of conditional statement or avoid atrributes copy/pasting?
View:
The text was updated successfully, but these errors were encountered: