https://github.com/dmosyash/modal-directive
https://github.com/dmosyash/modal-directive
angular bootstrap directives modal
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmosyash/modal-directive
- Owner: dmosyash
- Created: 2017-05-31T09:26:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-01T11:34:39.000Z (about 9 years ago)
- Last Synced: 2026-01-23T07:26:52.595Z (5 months ago)
- Topics: angular, bootstrap, directives, modal
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# modal-directive
A simple and light-weighted solution for making Bootstrap modal.
This directive is to include Bootstrap modal without any extra code.
# How to Install
`bower install modal-directive`
# Configration
Include `'ngModal'` into dependencies of your app.
`angular.module('yourApp', [
'ngModal'
])`
# Example
`
Hello hi
`
Attributes are:
| Attribute | Default | Type | Description |
| -------------- | ------- | ------- | ------------------------------------------------------- |
| title | null | String | Title placed in the header of the modal dialog. |
| visible | false | Boolean | True for show the modal and False for hide the modal |