2018-02-10 15:18:01 +00:00
|
|
|
import ngModule from '../../module';
|
2017-05-31 07:46:05 +00:00
|
|
|
import Dialog from '../dialog/dialog';
|
2018-02-12 12:16:49 +00:00
|
|
|
import './style.scss';
|
2017-02-06 17:01:04 +00:00
|
|
|
|
2017-05-25 10:52:38 +00:00
|
|
|
export default class Confirm extends Dialog {}
|
2017-02-06 17:01:04 +00:00
|
|
|
Dialog.$inject = ['$element'];
|
|
|
|
|
2018-02-10 15:18:01 +00:00
|
|
|
ngModule.component('vnConfirm', {
|
2017-05-31 07:46:05 +00:00
|
|
|
template: require('./confirm.html'),
|
2017-02-06 17:01:04 +00:00
|
|
|
bindings: {
|
|
|
|
onResponse: '&',
|
2017-02-07 16:38:30 +00:00
|
|
|
question: '@',
|
2018-02-12 12:16:49 +00:00
|
|
|
message: '@?'
|
2017-02-06 17:01:04 +00:00
|
|
|
},
|
|
|
|
controller: Confirm
|
|
|
|
});
|