blob: 5a2704590e0acf5a8c4a50227bbb90cb4dece764 [file] [log] [blame]
import './validation.scss';
class ValidationCtrl {
static $inject = [];
public config: any;
$onInit() {
this.config = {
type: 'danger'
};
}
}
export const xosValidation: angular.IComponentOptions = {
template: require('./validation.html'),
controllerAs: 'vm',
controller: ValidationCtrl,
transclude: true,
bindings: {
field: '=',
form: '='
}
};