https://github.com/angularclass/acifshow
Angular 1.x directive that does ng-if then ng-show afterwards
https://github.com/angularclass/acifshow
Last synced: 4 months ago
JSON representation
Angular 1.x directive that does ng-if then ng-show afterwards
- Host: GitHub
- URL: https://github.com/angularclass/acifshow
- Owner: AngularClass
- License: mit
- Archived: true
- Created: 2015-06-03T14:54:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-10T22:46:12.000Z (over 10 years ago)
- Last Synced: 2025-10-22T13:04:09.895Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 156 KB
- Stars: 7
- Watchers: 15
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AngularClass IfShow
Angular 1.x directive that uses ng-if then ng-show afterwards. You would normally use ng-if for perf reasons if you have a lot of bindings and ng-show for dom perf. This allows you to get the benefits of both as `ac-if-show="hasValue"`
## Installing
Use either one of these
* npm: `npm install ac-if-show`
* bower: `bower install acIfShow`
* cdn: `https://cdn.rawgit.com/angular-class/acIfShow/v1.0.0/acIfShow.js`
Then include the `angular.module('app', [acIfShow])`