New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ng-visible-invisible

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-visible-invisible

Directive for adding and removing DOM node visiblity

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

ngVisibleInvisible

Angular Directives ngVisible and ngInvisible

The ngVisible directive shows or hides the given HTML element based on the expression provided to the ngVisible attribute. The element is shown or hidden by removing or adding the .ng-invisible CSS class onto the element. The .ng-invisible CSS class is defined in the included CSS file and sets the visiblity style to hidden (using an !important flag). The visibility property hides an element while leaving the space where it would have been.

The ngInvisible directive shows or hides the given HTML element based on the expression provided to the ngInvisible attribute. The element is shown or hidden by removing or adding the .ng-invisible CSS class onto the element. The .ng-invisible CSS class is predefined in AngularJS and sets the visiblity to hidden (using an !important flag). The visibility property hides an element while leaving the space where it would have been.

Installation

bower install ngVisibleInvisible

Include in your main app file

angular.module('myApp', ['ng-visible-invisible']);

In your index.html file include js and css

  <link href="bower_components/ngVisibleInvisible/dist/ng-visible-invisible.min.css" rel="stylesheet">
  <script src="bower_components/ngVisibleInvisible/dist/ng-visible-invisible.min.js"></script>

##Use

<div ng-visible="checked"></div>
or
<div ng-invisible="checked"></div>

Keywords

FAQs

Package last updated on 19 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc