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'),
|
||||
transclude: true,
|
||||
controller: DataViewer,
|
||||
|
|
|
@ -42,7 +42,7 @@ export default class Controller extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
ngModule.component('vnLabelValue', {
|
||||
ngModule.vnComponent('vnLabelValue', {
|
||||
controller: Controller,
|
||||
template: require('./index.html'),
|
||||
transclude: true,
|
||||
|
|
|
@ -45,7 +45,7 @@ export default class Table {
|
|||
|
||||
Table.$inject = ['$scope', '$element', '$transclude'];
|
||||
|
||||
ngModule.component('vnTable', {
|
||||
ngModule.vnComponent('vnTable', {
|
||||
template: require('./index.html'),
|
||||
transclude: true,
|
||||
controller: Table,
|
||||
|
|
|
@ -94,7 +94,7 @@ export default class Controller extends Component {
|
|||
}
|
||||
Controller.$inject = ['$element', '$scope', '$transclude', '$timeout'];
|
||||
|
||||
ngModule.component('vnTdEditable', {
|
||||
ngModule.vnComponent('vnTdEditable', {
|
||||
template: require('./index.html'),
|
||||
controller: Controller,
|
||||
bindings: {
|
||||
|
|
|
@ -75,7 +75,7 @@ export default class Th {
|
|||
|
||||
Th.$inject = ['$element'];
|
||||
|
||||
ngModule.component('vnTh', {
|
||||
ngModule.vnComponent('vnTh', {
|
||||
template: require('./index.html'),
|
||||
transclude: true,
|
||||
controller: Th,
|
||||
|
|
Loading…
Reference in New Issue