Skip to content

TorresPub Modal wrapper for simplistic usage of ui.bootstrap modal for messaging.

License

Notifications You must be signed in to change notification settings

leftyftw/tpModal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tpModal

tpModal is a Javascript library to simplify access to the ui.bootstrap Modal popup. Angular, ui.bootstrap, and bootstrap-3 css is required. The goal is to create a simple core library that leverages all the goodness of bootstrap but exposes it through a simple angular service.

Current Version

0.1

##Demo

Quick Start

4 Easy Steps

  1. Link to tpModal.js <script src="tpModal.js"></script>

  2. Add it to your app angular.module('MyCoolApp', ['ui.bootstrap', 'torresPub'])

  3. Inject the service in your directive/controller angular.module('MyCoolApp').controller('MyAwesomeController', function($scope, tpModal) { });

  4. Use tpModal to display a dialog

    //Display a message with no title
    tpModal.show('Hello World!');

About

TorresPub Modal wrapper for simplistic usage of ui.bootstrap modal for messaging.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published