You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

angular-fluidbox-commonjs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-fluidbox-commonjs

Angular directive wrapping fluidbox, for consumption via browserify

1.0.2
latest
Source
npm
Version published
Weekly downloads
4
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

angular-fluidbox

Angular directive wrapping fluidbox library.

How to use it:

npm install --save angular-fluidbox

or

bower install --save angular-fluidbox

Make sure that jquery and fluidbox are pulled as dependencies.

Then you need to include the module fluidbox inside your module declaration. Eg:

angular.module('app', ['fluidbox']);

Last step is to use the directive this way

<a href="http://placehold.it/600x600" fluidbox>
  <img src="http://placehold.it/200x200">
</a>

The directive will observe on ng-href attributes by default ( if there are any )

##TODO

  • Service for closing, opening etc fluidbox instances
  • Events broadcast?

FAQs

Package last updated on 02 May 2016

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