Skip to content
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

bug: can't add button attributes dynamically #5186

Closed
brandyscarney opened this issue Jan 25, 2016 · 1 comment
Closed

bug: can't add button attributes dynamically #5186

brandyscarney opened this issue Jan 25, 2016 · 1 comment
Assignees
Milestone

Comments

@brandyscarney
Copy link
Member

We fixed color by adding the color attribute, but if they use any other button attribute it won't add the class and won't get the proper styling.

<button [attr.outline]="slide.title ? '' : null">test</button>
@adamdbradley
Copy link
Contributor

These are now possible to dynamically add and remove button attributes.

<button outline>
<button outline="true">
<button outline="false">
<button [outline]="true">
<button [outline]="false">

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants