15 lines
383 B
JavaScript
15 lines
383 B
JavaScript
import ngModule from '../../module';
|
|
import ButtonMenu from '../button-menu';
|
|
|
|
export default class IconMenu extends ButtonMenu {
|
|
constructor($element, $scope, $transclude) {
|
|
super($element, $scope, $transclude);
|
|
this.element.classList.add('flat');
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnIconMenu', {
|
|
template: require('./index.html'),
|
|
controller: IconMenu
|
|
});
|