2019-10-18 19:36:30 +00:00
|
|
|
import ngModule from '../../module';
|
|
|
|
import ButtonMenu from '../button-menu';
|
|
|
|
|
|
|
|
export default class IconMenu extends ButtonMenu {
|
2019-10-28 16:31:33 +00:00
|
|
|
constructor($element, $scope, $transclude) {
|
|
|
|
super($element, $scope, $transclude);
|
2019-10-18 19:36:30 +00:00
|
|
|
this.element.classList.add('flat');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ngModule.vnComponent('vnIconMenu', {
|
|
|
|
template: require('./index.html'),
|
|
|
|
controller: IconMenu
|
|
|
|
});
|