Tabs widget enhancements, Form Viewer route

This commit is contained in:
Denys Vuika
2016-07-29 19:15:06 +01:00
parent 0d5274f54c
commit 3a9e89a19a
11 changed files with 171 additions and 8 deletions

View File

@@ -16,6 +16,7 @@
*/
import { Component, Input, AfterViewInit } from '@angular/core';
import { MATERIAL_DESIGN_DIRECTIVES } from 'ng2-alfresco-core';
import { TabModel } from './../widget.model';
import { ContainerWidget } from './../container/container.widget';
@@ -26,7 +27,7 @@ declare var componentHandler;
moduleId: __moduleName,
selector: 'tabs-widget',
templateUrl: './tabs.widget.html',
directives: [ContainerWidget]
directives: [MATERIAL_DESIGN_DIRECTIVES, ContainerWidget]
})
export class TabsWidget implements AfterViewInit {
@@ -43,5 +44,4 @@ export class TabsWidget implements AfterViewInit {
componentHandler.upgradeAllRegistered();
}
}
}