mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[MNT-23433] configure position for close button on Viewer (#9143)
* [MNT-23433] configure position for close button * [MNT-23433] added documentation * [MNT-23433] unit test title fix * [MNT-23433] setting close button position * [MNT-23433] removed extra space * [MNT-23433] lint issue resolved * [MNT-23433] setting default position to left * [MNT-23433] updated the type * [MNT-23433] add check for info button * [MNT-23433] indentation fix * [MNT-23433] documentation added * [MNT-23433] unit test updated * [MNT-23433] linting issue resolved * [MNT-23433] update unit test * [MNT-23433] lint issue resolved
This commit is contained in:
@@ -31,6 +31,7 @@ import {
|
||||
} from '@angular/core';
|
||||
import {
|
||||
AlfrescoApiService,
|
||||
CloseButtonPosition,
|
||||
LogService,
|
||||
Track,
|
||||
ViewerComponent,
|
||||
@@ -160,6 +161,14 @@ export class AlfrescoViewerComponent implements OnChanges, OnInit, OnDestroy {
|
||||
@Input()
|
||||
allowFullScreen = true;
|
||||
|
||||
/** Toggles the 'Info Button' */
|
||||
@Input()
|
||||
hideInfoButton = false;
|
||||
|
||||
/** Change the close button position Right/Left */
|
||||
@Input()
|
||||
closeButtonPosition = CloseButtonPosition.Left;
|
||||
|
||||
/** The template for the right sidebar. The template context contains the loaded node data. */
|
||||
@Input()
|
||||
sidebarRightTemplate: TemplateRef<any> = null;
|
||||
|
Reference in New Issue
Block a user