python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
AngularJS ng-class updating content
I've got some code in AngularJS here working half percent (I will explain) :
<button ng-class="{'svgMinus-dark': isDarkTheme, 'svgMinus': !isDarkTheme}"></button>
I also tried a...
user9417455
Votes: 0
Answers: 1
Angular ngClass conditional class working correctly but app fails on build
I want to add an "active" class when I click on a certain tab using the pug code
a.nav-link([class.active]="view === 'profile'", (click)="changeView('profile')") Profile
...
Tim Chosen
Votes: 0
Answers: 0
Angular 13: ngClass not working after ng build
I have a little problem with the mat table especially with the mat row.
What i want to do: Add class "is-marked" if the row has an date.
<mat-row [class.is-marked]="row.date &&am...
Manuel K.
Votes: 0
Answers: 0
Assigning background-color & border-color to buttons dynamically in angular
I have an array of colors,
colors = ['red', 'green', 'blue', 'yellow', 'black']
Also, I have an array like this
demo = ['de1', 'de2', 'de3', 'de4', 'de5', 'de6', 'de7', 'de8', 'de9', 'de10', 'de11', ...
arv
Votes: 0
Answers: 1