import ngModule from '../../module'; import Dialog from '../dialog'; import template from './confirm.html'; import './style.scss'; export default class Confirm extends Dialog { constructor($element, $, $transclude) { super($element, $, $transclude); this.fillSlots(template); } } ngModule.vnComponent('vnConfirm', { controller: Confirm, transclude: true, bindings: { question: '@', message: '@?' } });