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

21 lines
425 B
JavaScript
Raw Normal View History

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: '&',
2017-02-07 16:38:30 +00:00
question: '@',
message: '@'
},
controller: Confirm
});