selectedModel: '=',
options: '=',
extraSettings: '=',
events: '=',
searchFilter: '=?',
translationTexts: '=',
groupBy: '@'
},
template: function (element, attrs) {
var checkboxes = attrs.checkboxes ? true : false;
var groups = attrs.groupBy ? true : false;
var template = '<div class="multiselect-parent btn-group
dropdown-multiselect" style="width: 200px;">';
template += '<button type="button" title="{{ItemText}}"
style="width:225px; text-align:left;" class="dropdown-toggle btnn "
ng-class="settings.buttonClasses" ng-click="toggleDropdown()"><div
style="width:204px;
display:inline-block;text-aglin:center;">{{getButtonText()}}</div><span
class="caret"></span></button>';
template += '<ul class="dropdown-menu dropdown-menuu
dropdown-menu-form columnresult" ng-up select="select(element)"
ng-style="{display: open ? \'block\' : \'none\', height :
settings.scrollable ? settings.scrollableHeight : \'150px\' }"
style="overflow: scroll;width:auto;" >';
template += '<li ng-hide="(!settings.showCheckAll ||
settings.selectionLimit > 0 ) " ><a data-ng-click="selectAll()"><span
class="glyphicon glyphicon-ok"></span> {{texts.checkAll}}</a>';
template += '<li ng-show="(settings.showUncheckAll ) "><a
data-ng-click="deselectAll();"><span class="glyphicon
glyphicon-remove"></span> {{texts.uncheckAll}}</a></li>';
template += '<li ng-hide="(!settings.showCheckAll ||
settings.selectionLimit > 0) && !settings.showUncheckAll"
class="divider"></li>';
template += '<li ng-show="settings.enableSearch"><div
class="dropdown-header"><input type="text" class="form-control"
style="width: 100%;height:25px;" ng-model="searchFilter"
placeholder="{{texts.searchPlaceholder}}" /></li>';
template += '<li ng-show="settings.enableSearch"
class="divider"></li>';
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.