-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button: change button to an ion-button component #7466
Comments
@brandyscarney, wouldn't it be cleaner and more consistent to have a
This may render a |
references #5651 references #7466 references ionic-team/ionic-site#613
Hey @mpaland, thanks for the suggestion! The short answer is that using an attribute selector rather than an element selector allows us to gain all of the advantages of the native |
Brandy, thanx for pointing this out. Kara's doc makes your decision pretty clear. IMHO not 100% nice - but necessary. |
This will make it easier for users to have their own custom buttons instead of overriding our styles.
<a button>
becomes<a ion-button>
<button>
becomes<button ion-button>
The text was updated successfully, but these errors were encountered: