2017-02-06 17:01:04 +00:00
|
|
|
import {module} from '../module';
|
2017-05-31 07:46:05 +00:00
|
|
|
import Dialog from '../dialog/dialog';
|
2017-02-06 17:01:04 +00:00
|
|
|
import './style.css';
|
|
|
|
|
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'];
|
|
|
|
|
|
|
|
module.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: '@',
|
2017-02-06 17:01:04 +00:00
|
|
|
message: '@'
|
|
|
|
},
|
|
|
|
controller: Confirm
|
|
|
|
});
|