# ngx-bootstrap-modal
simplify the work with bootstrap modal dialogs

[![NPM version](https://img.shields.io/npm/v/ngx-bootstrap-modal.svg)](https://www.npmjs.com/package/ngx-bootstrap-modal)
[![Build Status](https://travis-ci.org/cipchk/ngx-bootstrap-modal.svg?branch=master)](https://travis-ci.org/cipchk/ngx-bootstrap-modal)

一个简单的**引导Bootstrap模态框组件启动**的服务，无须引入Bootstrap JS文件，并且兼容Bootstrap 3 4 版本。

## Installation

```
npm install ngx-bootstrap-modal --save
```

[DEMO](https://cipchk.github.io/ngx-bootstrap-modal/) or [stackblitz](https://stackblitz.com/edit/ngx-bootstrap-modal)

## Documents

+ How using build-in methods, [Link](https://github.com/cipchk/ngx-bootstrap-modal/blob/master/docs/built-in.md)
+ How using custom component methods, [Link](https://github.com/cipchk/ngx-bootstrap-modal/blob/master/docs/custom.md)
+ [Interface](https://github.com/cipchk/ngx-bootstrap-modal/blob/master/docs/interfaces.md)

## Changes

### 2.0.0

- **BREAKING CHANGES** Removed Injector from Resource class constructor

## Troubleshooting

Please follow this guidelines when reporting bugs and feature requests:

1. Use [GitHub Issues](https://github.com/cipchk/ngx-bootstrap-modal/issues) board to report bugs and feature requests (not our email address)
2. Please **always** write steps to reproduce the error. That way we can focus on fixing the bug, not scratching our heads trying to reproduce it.

Thanks for understanding!

### License

The MIT License (see the [LICENSE](https://github.com/cipchk/ngx-bootstrap-modal/blob/master/LICENSE) file for the full text)
