Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.08 KB

ngZavModal Build Status Coverage Status Code Climate

Install

bower install ng-zav-modal --save

Insert css file:

<link rel="stylesheet" href="bower_components/ng-zav-modal/dist/ng-zav-modal.min.css">

Insert js files:

<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/gsap/src/uncompressed/TweenMax.js"></script>
<script src="bower_components/ng-zav-modal/dist/ng-zav-modal.min.js"></script>

Enable angular module:

angular.module('myApp', ['ngZavModal']);

Usage

<zav-modal trigger="openModal">
  I'm the content.
</zav-modal>

<button ng-click="openModal = true">
  Open modal
</button>