如何为AngularJS multiselect下拉列表设置dropUp

时间:2013-12-04 11:29:27

标签: angularjs

由于我正在使用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

提前致谢,

0 个答案:

没有答案