-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Use [ngClass] to avoid conflicts with [class.x] bindings #1651
Use [ngClass] to avoid conflicts with [class.x] bindings #1651
Conversation
simple and great, can you add simple test to cover #1650 issue? |
src/tabs/tabset.component.ts
Outdated
@@ -8,7 +8,7 @@ import { TabsetConfig } from './tabset.config'; | |||
selector: 'tabset', | |||
template: ` | |||
<ul class="nav" [ngClass]="classMap" (click)="$event.preventDefault()"> | |||
<li *ngFor="let tabz of tabs" class="nav-item {{tabz.customClass}}" | |||
<li *ngFor="let tabz of tabs" [ngClass]="'nav-item ' + tabz.customClass" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
@valorkin tests added 👍 Changed |
Codecov Report
@@ Coverage Diff @@
## development #1651 +/- ##
============================================
Coverage 84.84% 84.84%
============================================
Files 85 85
Lines 2323 2323
Branches 299 299
============================================
Hits 1971 1971
Misses 252 252
Partials 100 100
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks
Fixes #1650