Socket
Socket
Sign inDemoInstall

angular-fluidbox-commonjs

Package Overview
Dependencies
3
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-fluidbox-commonjs

Angular directive wrapping fluidbox, for consumption via browserify


Version published
Maintainers
1
Install size
3.41 MB
Created

Readme

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

Last updated on 02 May 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc