mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Added visibility to template
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div class="container-widget">
|
||||
<div *ngIf="content?.isGroup()" class="container-widget__header">
|
||||
<h4 class="container-widget__header-text"
|
||||
[class.collapsible]="content?.isCollapsible()">
|
||||
[class.collapsible]="content?.isCollapsible()" [hidden]="!content?.isVisible">
|
||||
<button *ngIf="content?.isCollapsible()"
|
||||
alfresco-mdl-button
|
||||
class="mdl-button--icon"
|
||||
|
@@ -33,6 +33,7 @@ export class ContainerModel extends FormWidgetModel {
|
||||
tab: string;
|
||||
numberOfColumns: number = 1;
|
||||
params: FormFieldMetadata = {};
|
||||
isVisible: boolean = true;
|
||||
visibilityCondition: WidgetVisibilityModel = null;
|
||||
|
||||
columns: ContainerColumnModel[] = [];
|
||||
|
Reference in New Issue
Block a user