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

15 lines
357 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) {
super($element, $scope);
this.element.classList.add('flat');
}
}
ngModule.vnComponent('vnIconMenu', {
template: require('./index.html'),
controller: IconMenu
});