Questions tagged [ng-show]

The ngShow directive shows or hides the given HTML element based on the expression provided to the ngShow attribute. The element is shown or hidden by removing or adding the .ng-hide CSS class onto the element. The .ng-hide CSS class is predefined in AngularJS and sets the display style to none (using an !important flag).

The ngShow directive shows or hides the given HTML element based on the expression provided to the ngShow attribute. The element is shown or hidden by removing or adding the .ng-hide CSS class onto the element. The .ng-hide CSS class is predefined in AngularJS and sets the display style to none (using an !important flag). For CSP mode please add angular-csp.css to your html file (see ngCsp).

See the AngularJS documentation for more information.

527 questions
0
votes
0 answers

How can I retain text spacing for a brief interval when I change one icon to another using ng-show?

I have the following code:
Admin
When the…
Samantha J T Star
  • 30,952
  • 84
  • 245
  • 427
0
votes
1 answer

Understanding ng-show in AngularJS directives

Given the following code: http://jsbin.com/uYETOSUM/2/edit?html,js,output I want to only show the first dropdown first (parent question in JSON). After user have selected an option I want to show one of the two other dropdowns (children in…
0
votes
2 answers

Animate text angular

I want to highlight a column in a table when a checkbox is checked. So I have this checkbox (chBeamer), when it's checked I want the column 'beamer' to highlight its text. But I have no idea how to start with this, I was thinking about using…
Warri
  • 217
  • 1
  • 3
  • 14
0
votes
2 answers

AngularJs: double check in ng-show

Why checks of any expression in directives like ng-show (or other) are duplicate? I made simple jsfiddle example http://jsfiddle.net/fA5YX/. See in browser console.
shown