UNPKG

angular-material-npfixed

Version:

The Angular Material project is an implementation of Material Design in Angular.js. This project provides a set of reusable, well-tested, and accessible Material Design UI components. Angular Material is supported internally at Google by the Angular.js, M

17 lines (13 loc) 331 B
angular .module('material.components.menuBar') .directive('mdMenuDivider', MenuDividerDirective); function MenuDividerDirective() { return { restrict: 'E', compile: function(templateEl, templateAttrs) { if (!templateAttrs.role) { templateEl[0].setAttribute('role', 'separator'); } } }; }