salix/client/core/src/confirm/confirm.js

17 lines
368 B
JavaScript
Raw Normal View History

import {module} from '../module';
2017-05-31 07:46:05 +00:00
import Dialog from '../dialog/dialog';
import './style.css';
2017-05-25 10:52:38 +00:00
export default class Confirm extends Dialog {}
Dialog.$inject = ['$element'];
module.component('vnConfirm', {
2017-05-31 07:46:05 +00:00
template: require('./confirm.html'),
bindings: {
onResponse: '&',
2017-02-07 16:38:30 +00:00
question: '@',
message: '@'
},
controller: Confirm
});