如何在 AngularJS 中同时打开多个 bootstrap 模式?
How do I open multiple bootstrap modals simultaneously in AngularJS?
我有一个 table,其中包含主登录页面上的记录列表。
我们可以单击 table 中的记录以打开 bootstrap 模式以查看详细信息。
我想访问主登陆页面 table 以打开另一个 bootstrap 模式,我的意思是同时打开和保留其中两个。
我使用 angular-kendo window 实现了这个,现在可以打开多个弹出窗口。
http://plnkr.co/edit/BE6ADurYGqikkcNKQVl7?p=preview
var windowInstance = $kWindow.open({
options:{
modal: false,
title: "Window title",
height: 150,
width: 400,
visible: false
},
templateUrl: 'modal1.html',
controller: 'modalController',
resolve: {
parameter1: function () {
return "Test...";
}
}
});
windowInstance.result.then(function (result) {
// Here you can get result from the window
});
我有一个 table,其中包含主登录页面上的记录列表。
我们可以单击 table 中的记录以打开 bootstrap 模式以查看详细信息。
我想访问主登陆页面 table 以打开另一个 bootstrap 模式,我的意思是同时打开和保留其中两个。
我使用 angular-kendo window 实现了这个,现在可以打开多个弹出窗口。
http://plnkr.co/edit/BE6ADurYGqikkcNKQVl7?p=preview
var windowInstance = $kWindow.open({
options:{
modal: false,
title: "Window title",
height: 150,
width: 400,
visible: false
},
templateUrl: 'modal1.html',
controller: 'modalController',
resolve: {
parameter1: function () {
return "Test...";
}
}
});
windowInstance.result.then(function (result) {
// Here you can get result from the window
});