由于我正在使用AngularJS multiselect下拉列表,但在下面的源代码中,我找不到像bootstrap multiselect这样的dropUp功能。所以我也想要dropUp功能,所以任何人都可以帮助代码。
var app = angular.module('plunker', ['ui.multiselect']);
app.controller('MainCtrl', function($scope) {
$scope.name = 'World';
$scope.cars = [{id:1, name: 'Audi'}, {id:2, name: 'BMW'}, {id:1, name: 'Honda'}];
$scope.selectedCar = [];
$scope.fruits = [{id: 1, name: 'Apple'}, {id: 2, name: 'Orange'},{id: 3, name: 'Banana'}];
$scope.selectedFruit = null;
});
参考链接AngularJS multiselect http://plnkr.co/edit/LPGYIf?p=preview
提前致谢,