Skip to content

Commit c0e861e

Browse files
Merge pull request #2974 from IgniteUI/ddimitrov/update-dm-1.7.0-master
samples(dm): update dock manager to 1.7.0
2 parents 6ac2709 + 3946b90 commit c0e861e

3 files changed

Lines changed: 14 additions & 12 deletions

File tree

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"igniteui-angular-charts": "^12.1.1",
6767
"igniteui-angular-core": "^12.1.1",
6868
"igniteui-angular-i18n": "^12.2.4",
69-
"igniteui-dockmanager": "^1.6.0",
69+
"igniteui-dockmanager": "^1.7.0",
7070
"igniteui-live-editing": "^1.1.2",
7171
"immediate": "^3.2.3",
7272
"intl": "^1.2.5",
@@ -118,4 +118,4 @@
118118
"typescript": "4.4.4",
119119
"webpack-bundle-analyzer": "^4.5.0"
120120
}
121-
}
121+
}

src/app/layouts/dock-manager/dock-manager-sample/dock-manager.component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,22 @@ export class DockManagerComponent {
4242
rootPane: {
4343
type: IgcDockManagerPaneType.splitPane,
4444
orientation: IgcSplitPaneOrientation.horizontal,
45+
allowEmpty: true,
4546
panes: [
4647
{
4748
type: IgcDockManagerPaneType.tabGroupPane,
4849
panes: [
4950
{
5051
type: IgcDockManagerPaneType.contentPane,
5152
header: 'Document 1',
52-
contentId: 'content3'
53+
contentId: 'content3',
54+
documentOnly: true
5355
},
5456
{
5557
type: IgcDockManagerPaneType.contentPane,
5658
header: 'Document 2',
57-
contentId: 'content4'
59+
contentId: 'content4',
60+
documentOnly: true
5861
}
5962
]
6063
}
@@ -102,7 +105,6 @@ export class DockManagerComponent {
102105
contentId: 'content10',
103106
header: 'Tab 5'
104107
}
105-
106108
]
107109
},
108110
{

0 commit comments

Comments
 (0)