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

drop @class argument of <BsTooltip> and <BsTooltip::Element> #1759

Merged
merged 1 commit into from Feb 25, 2022

Conversation

jelhan
Copy link
Contributor

@jelhan jelhan commented Feb 21, 2022

As for the other cases the @class argument is not documented as public API. In this case a consumer can use class attribute instead.

The <BsTooltip> and <BsTooltip::Element> components are not yielded. So no need to keep it in order to set class on yielded component instance.

@@ -13,7 +13,6 @@ import {
import { assertPositioning, setupForPositioning } from '../../helpers/contextual-help';
import setupStylesheetSupport from '../../helpers/setup-stylesheet-support';
import setupNoDeprecations from '../../helpers/setup-no-deprecations';
import { gte } from 'ember-compatibility-helpers';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@simonihmig simonihmig merged commit 442321f into master Feb 25, 2022
@simonihmig simonihmig deleted the drop-class-argument-from-bs-tooltip branch February 25, 2022 21:05
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