ngx-bootstrap-modal
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
# 1.0.11 | ||
- fixed [#2](https://github.com/cipchk/ngx-bootstrap-modal/issues/2) | ||
# 1.0.10 | ||
@@ -2,0 +6,0 @@ |
@@ -147,3 +147,3 @@ export interface BuiltInOptions { | ||
*/ | ||
backdrop?: boolean | string; | ||
backdrop?: boolean | 'static'; | ||
/** | ||
@@ -150,0 +150,0 @@ * 显示时回调函数 |
@@ -26,3 +26,3 @@ import { ComponentFactoryResolver, ApplicationRef, Injector, Type } from "@angular/core"; | ||
*/ | ||
backdrop?: boolean | string; | ||
backdrop?: boolean | 'static'; | ||
/** | ||
@@ -29,0 +29,0 @@ * 背景色 |
@@ -96,3 +96,8 @@ import { Injectable, ComponentFactoryResolver, ApplicationRef, Injector, Optional } from "@angular/core"; | ||
opt: opt | ||
}, options).subscribe(function (res) { | ||
}, this.mergerDialog({ | ||
timeout: 0, | ||
backdrop: true, | ||
backdropColor: 'rgba(0,0,0,.5)', | ||
keyboard: true | ||
}, Object.assign(builtInOptions, options))).subscribe(function (res) { | ||
if (opt.onHide) | ||
@@ -99,0 +104,0 @@ opt.onHide(res); |
{ | ||
"main": "index.js", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "simplify the work with bootstrap modal dialogs", | ||
@@ -5,0 +5,0 @@ "typings": "index.d.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2099030
0.06%21115
0.05%