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

pass class as attribute to <BsLinkTo> if possible #1757

Merged

Conversation

jelhan
Copy link
Contributor

@jelhan jelhan commented Feb 21, 2022

We can not entirely drop the @class argument of <BsLinkTo>. In some cases we need to set a class on a yielded component instance. For example here: https://github.com/kaliber5/ember-bootstrap/blob/f2ca93d7bf3ebd50de695f1c2800f7694e9bb07d/addon/components/bs-nav.hbs#L6 But we should pass it as class attribute in all other cases.

@simonihmig simonihmig merged commit 2096023 into master Feb 27, 2022
@simonihmig simonihmig deleted the pass-class-as-attribute-to-bs-link-to-if-possible branch February 27, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants