We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3273e9 + 5102da0 commit 3bb4f51Copy full SHA for 3bb4f51
src/directives/dropdown.js
@@ -10,6 +10,7 @@ angular.module('$strap.directives')
10
if(item.divider) return ul.splice(index + 1, 0, '<li class="divider"></li>');
11
var li = '<li' + (item.submenu && item.submenu.length ? ' class="dropdown-submenu"' : '') + '>' +
12
'<a tabindex="-1" ng-href="' + (item.href || '') + '"' + (item.click ? '" ng-click="' + item.click + '"' : '') + (item.target ? '" target="' + item.target + '"' : '') + (item.method ? '" data-method="' + item.method + '"' : '') + '>' +
13
+ (item.icon && '<i class="' + item.icon + '"></i> ' || '') +
14
(item.text || '') + '</a>';
15
if(item.submenu && item.submenu.length) li += buildTemplate(item.submenu).join('\n');
16
li += '</li>';
0 commit comments