Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(ngHideShow): Add a list of falsy values #5762

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/ng/directive/ngShowHide.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
*
* Just remember to include the important flag so the CSS override will function.
*
* ### Falsy values
*
* Here is a list of values that ngShow will consider as a falsy value (case insensitive):
*
* `f` / `0` / `false` / `no` / `n` / `[]`
*
* ## A note about animations with ngShow
*
* Animations in ngShow/ngHide work with the show and hide events that are triggered when the directive expression
Expand Down Expand Up @@ -200,6 +206,12 @@ var ngShowDirective = ['$animate', function($animate) {
* </pre>
*
* Just remember to include the important flag so the CSS override will function.
*
* ### Falsy values
*
* Here is a list of values that ngHide will consider as a falsy value (case insensitive):
*
* `f` / `0` / `false` / `no` / `n` / `[]`
*
* ## A note about animations with ngHide
*
Expand Down