Angular Colorbox
Angular Colorbox is directive for the lightweight customizable lightbox Colorbox plugin.
Features
Compatible with: jQuery 1.3.2+ in Firefox, Safari, Chrome, Opera, Internet Explorer 7+
- Flexible Angular directive
- Supports photos, grouping, slideshow, ajax, inline, and iframed content. Lightweight: 10KB of JavaScript (less than 5KBs gzipped).
- Appearance is controlled through CSS so it can be restyled.
- Can be extended with callbacks & event-hooks without altering the source files.
- Completely unobtrusive, options are set in the JS and require no changes to existing HTML.
- Preloads upcoming images in a photo group.
- Colorbox is currently used on more than 2 million websites.
Installation
Via Bower:
bower install angular-colorbox
Via npm:
npm install angular-colorbox
In a browser:
Getting Started
Include the Colorbox plug-in and the directive on a page.
Basic via attribute
Options via attribute
Basic via tag
Options via tag
For more information on how to setup and customise, check the examples.
License
Licensed under MIT license.