15 Reputation Points
Ranked #2K
- Strength to Increase Rep
- +1
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #55.0K
How can I show a div when menu item is clicked in angular? The Div show fine when I click list item, but dsn't disappear when I navigate to other menu items. <li><a class="nav-link slots" (click)="showme = true" >Slots</a> <div ng-hide="showme"> <div class="ribbon" *ngIf="game.categories[0]"> <span>TOP</span> </div> <div class="ribbon" *ngIf="game.categories[2]"><span>NEW</span></div> </div> … | |
I need assistance in storing checkbox API values. I have multiple checkboxes and I can display API values in html when checkbox is checked. But how do I store the initial value of a checked checkbox and show it in a span? I currently get “on” value instead of API initial value … |