parts of core component to vnComponent working
This commit is contained in:
parent
fbd020e600
commit
9d8c64fb92
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue