【发布时间】:2018-07-16 16:52:56
【问题描述】:
我想在 div 中打开一个底页。我能够让它工作,但它填满了整个页面。
$scope.showListBottomSheet = function() {
$scope.alert = '';
$mdBottomSheet.show({
templateUrl: 'template/newCountryForm.html',
controller: 'Ctrl1'
}).then(function(clickedItem) {
$scope.alert = clickedItem['name'] + ' clicked!';
}).catch(function(error) {
// User clicked outside or hit escape
});
};
我希望它只填充 红色 部分,我不知道该怎么做
【问题讨论】:
-
分享一个plunkr,以便我们提供一些具体的解决方案
标签: javascript angularjs angularjs-material