Files
vitrage-dashboard/vitrage_dashboard/dashboard/static/dashboard/project/entities/info/entities-info.directive.js
Alon Heller 77fa34ed6f properties refactoring "vitrage_XXX"
Change-Id: If2f403106bd0a9c67fd8add422651be40c70d495
2017-06-11 15:12:09 +03:00

21 lines
628 B
JavaScript

angular
.module('horizon.dashboard.project.vitrage')
.directive('hzEntitiesInfo', hzEntitiesInfo);
function hzEntitiesInfo() {
var directive = {
link: link,
templateUrl: STATIC_URL + 'dashboard/project/entities/info/entities-info.html',
restrict: 'E',
scope: {
item: '='
}
};
return directive;
function link(scope, element, attrs) {
scope.blackList = ['name', 'vitrage_is_deleted', 'vitrage_is_placeholder', 'index', 'graph_index',
'fixed', 'weight', 'px', 'py', 'x', 'y', 'width', 'height', 'bbox', 'high', 'highDepth'];
}
}