2018-02-10 15:18:01 +00:00
|
|
|
import ngModule from '../../module';
|
2019-10-26 23:30:01 +00:00
|
|
|
import Dialog from '../dialog';
|
2019-11-20 05:53:37 +00:00
|
|
|
import './style.scss';
|
2017-02-06 17:01:04 +00:00
|
|
|
|
2020-04-25 09:50:04 +00:00
|
|
|
export default class Confirm extends Dialog {}
|
2017-02-06 17:01:04 +00:00
|
|
|
|
2019-10-26 23:30:01 +00:00
|
|
|
ngModule.vnComponent('vnConfirm', {
|
2020-04-25 09:50:04 +00:00
|
|
|
slotTemplate: require('./confirm.html'),
|
2019-10-26 23:30:01 +00:00
|
|
|
controller: Confirm,
|
2017-02-06 17:01:04 +00:00
|
|
|
bindings: {
|
2017-02-07 16:38:30 +00:00
|
|
|
question: '@',
|
2018-02-12 12:16:49 +00:00
|
|
|
message: '@?'
|
2019-10-26 23:30:01 +00:00
|
|
|
}
|
2017-02-06 17:01:04 +00:00
|
|
|
});
|