Are ng-show and ng-hide exactly the same except for a negative state in AngularDart?

Whether ng-showand ng-hidecompletely equivalent, except that the conditions of interpretation is denied? For instance,

<div ng-show="someBoolExpr">...</div>

completely equivalent

<div ng-hide="!someBoolExpr">...</div>
+3
source share
1 answer

Yes. And now this is how it behaves in AngularJS.

Until recently, this was different.

Previously ng-showswitched the class show, but that doesn't make much sense.

+3
source

All Articles