mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
import {Directive, AfterViewInit} from 'angular2/core';
|
|
declare var componentHandler;
|
|
|
|
@Directive({
|
|
selector: '[mdl]'
|
|
})
|
|
export class MDL implements AfterViewInit {
|
|
ngAfterViewInit() {
|
|
componentHandler.upgradeAllRegistered();
|
|
}
|
|
}
|