1
$scope.WizardModal = $modal.open({
templateUrl: 'Wizard.html',
size: 'lg',
scope: $scope,
});
HTML
你可以看到,它不噴射 '模式,LG'到html代碼中。爲什麼? 任何幫助將不勝感激。
$scope.WizardModal = $modal.open({
templateUrl: 'Wizard.html',
size: 'lg',
scope: $scope,
});
HTML
你可以看到,它不噴射 '模式,LG'到html代碼中。爲什麼? 任何幫助將不勝感激。
早期版本的AngularUI沒有實現size
配置設置。它在Angular UI版本0.12.0中添加(請參閱commit)。更新到這個版本應該支持模態窗口大小。
$scope.WizardModal = $modal.open({
templateUrl: 'Wizard.html',
size: 'lg',
scope: $scope,
});
鏈接到documentation。
是模態出現.. ?? – squiroid 2015-02-11 12:18:52
@squiroid Yes.Modal彈出窗口工作正常。只有問題是它沒有調整大小。 – Sampath 2015-02-11 12:19:56
確保您使用最新版本的bootstrap ui。 – dfsq 2015-02-11 12:21:32