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

17 lines
365 B
JavaScript
Raw Normal View History

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