14 lines
293 B
JavaScript
14 lines
293 B
JavaScript
|
import ngModule from '../../module';
|
||
|
import Button from '../button';
|
||
|
|
||
|
export default class Controller extends Button {
|
||
|
constructor($element, $scope) {
|
||
|
super($element, $scope);
|
||
|
this.type = 'submit';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ngModule.vnComponent('vnSubmit', {
|
||
|
controller: Controller
|
||
|
});
|