xos-sample-gui-extension cleanup and update with new documentation
Change-Id: I6b70f5127ea631cfdd1f8a372a51c20f547e9c44
diff --git a/src/app/components/demo.ts b/src/app/components/demo.ts
index 5b227d1..9b183eb 100644
--- a/src/app/components/demo.ts
+++ b/src/app/components/demo.ts
@@ -33,7 +33,7 @@
}
togglePanel() {
- this.XosSidePanel.injectComponent('xosAlert', {config: {type: 'info'}, show: true}, 'This content is injected by my sample UI extension');
+ this.XosSidePanel.toggleComponent('xosAlert', {config: {type: 'info'}, show: true}, 'This content is being toggled by my sample UI extension!');
}
}