salix/front/core/components/icon-menu/index.js

15 lines
383 B
JavaScript
Raw Normal View History

2019-10-18 19:36:30 +00:00
import ngModule from '../../module';
import ButtonMenu from '../button-menu';
export default class IconMenu extends ButtonMenu {
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
});