21 lines
422 B
JavaScript
21 lines
422 B
JavaScript
|
import {module} from '../module';
|
||
|
import Dialog from '../dialog/index';
|
||
|
import './style.css';
|
||
|
|
||
|
export default class Confirm extends Dialog {
|
||
|
constructor($element) {
|
||
|
super($element);
|
||
|
}
|
||
|
}
|
||
|
Dialog.$inject = ['$element'];
|
||
|
|
||
|
module.component('vnConfirm', {
|
||
|
template: require('./index.html'),
|
||
|
bindings: {
|
||
|
onResponse: '&',
|
||
|
title: '@',
|
||
|
message: '@'
|
||
|
},
|
||
|
controller: Confirm
|
||
|
});
|