parts of core component to vnComponent working

This commit is contained in:
Carlos Jimenez Ruiz 2020-07-24 17:04:34 +02:00
parent fbd020e600
commit 9d8c64fb92
5 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ export default class DataViewer {
} }
} }
ngModule.component('vnDataViewer', { ngModule.vnComponent('vnDataViewer', {
template: require('./index.html'), template: require('./index.html'),
transclude: true, transclude: true,
controller: DataViewer, controller: DataViewer,

View File

@ -42,7 +42,7 @@ export default class Controller extends Component {
} }
} }
ngModule.component('vnLabelValue', { ngModule.vnComponent('vnLabelValue', {
controller: Controller, controller: Controller,
template: require('./index.html'), template: require('./index.html'),
transclude: true, transclude: true,

View File

@ -45,7 +45,7 @@ export default class Table {
Table.$inject = ['$scope', '$element', '$transclude']; Table.$inject = ['$scope', '$element', '$transclude'];
ngModule.component('vnTable', { ngModule.vnComponent('vnTable', {
template: require('./index.html'), template: require('./index.html'),
transclude: true, transclude: true,
controller: Table, controller: Table,

View File

@ -94,7 +94,7 @@ export default class Controller extends Component {
} }
Controller.$inject = ['$element', '$scope', '$transclude', '$timeout']; Controller.$inject = ['$element', '$scope', '$transclude', '$timeout'];
ngModule.component('vnTdEditable', { ngModule.vnComponent('vnTdEditable', {
template: require('./index.html'), template: require('./index.html'),
controller: Controller, controller: Controller,
bindings: { bindings: {

View File

@ -75,7 +75,7 @@ export default class Th {
Th.$inject = ['$element']; Th.$inject = ['$element'];
ngModule.component('vnTh', { ngModule.vnComponent('vnTh', {
template: require('./index.html'), template: require('./index.html'),
transclude: true, transclude: true,
controller: Th, controller: Th,