Skip to content

austinthedeveloper/md-lightbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

md-lightbox

A lightbox directive for Angular Material

##Demo Plunkr

##Requirements

  • Angular Material
  • Angular Material Icons (For the close button)

##Use

  • Include mdLightbox in your module.
  • Adds the class image-click so the pointer cursor will show
<img ng-src="{{image}}" md-lightbox md-lightbox-title="TITLE">

<img src="http://google.com/image.jpg" md-lightbox md-lightbox-title="TITLE">

###Fields

  • md-lightbox: Required
  • md-lightbox-title: Adds a title to the bar. Not Required

##Files

  • Directive: mdLightbox.js
  • Partial: lightbox.html

About

A lightbox directive for Angular Material

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published