diff --git a/src/@fuse/components/fullscreen/fullscreen.component.html b/src/@fuse/components/fullscreen/fullscreen.component.html index 1dfb3e59..77cb0f1d 100644 --- a/src/@fuse/components/fullscreen/fullscreen.component.html +++ b/src/@fuse/components/fullscreen/fullscreen.component.html @@ -1,7 +1,12 @@ + + + + + diff --git a/src/@fuse/components/fullscreen/fullscreen.component.ts b/src/@fuse/components/fullscreen/fullscreen.component.ts index ff32aa36..38ec191d 100644 --- a/src/@fuse/components/fullscreen/fullscreen.component.ts +++ b/src/@fuse/components/fullscreen/fullscreen.component.ts @@ -1,4 +1,4 @@ -import { ChangeDetectionStrategy, Component, Inject, OnInit, ViewEncapsulation } from '@angular/core'; +import { ChangeDetectionStrategy, Component, Inject, Input, OnInit, TemplateRef, ViewEncapsulation } from '@angular/core'; import { DOCUMENT } from '@angular/common'; import { FSDocument, FSDocumentElement } from '@fuse/components/fullscreen/fullscreen.types'; @@ -11,6 +11,8 @@ import { FSDocument, FSDocumentElement } from '@fuse/components/fullscreen/fulls }) export class FuseFullscreenComponent implements OnInit { + @Input() iconTpl: TemplateRef; + @Input() tooltip: string; private _fsDoc: FSDocument; private _fsDocEl: FSDocumentElement; private _isFullscreen: boolean = false; diff --git a/src/@fuse/components/fullscreen/fullscreen.module.ts b/src/@fuse/components/fullscreen/fullscreen.module.ts index 925dabc9..89e43793 100644 --- a/src/@fuse/components/fullscreen/fullscreen.module.ts +++ b/src/@fuse/components/fullscreen/fullscreen.module.ts @@ -3,15 +3,17 @@ import { MatButtonModule } from '@angular/material/button'; import { MatIconModule } from '@angular/material/icon'; import { MatTooltipModule } from '@angular/material/tooltip'; import { FuseFullscreenComponent } from '@fuse/components/fullscreen/fullscreen.component'; +import { CommonModule } from '@angular/common'; @NgModule({ declarations: [ FuseFullscreenComponent ], - imports : [ + imports: [ MatButtonModule, MatIconModule, - MatTooltipModule + MatTooltipModule, + CommonModule ], exports : [ FuseFullscreenComponent