patch add toggle function to XosSidePanel
Change-Id: Iaba677cc30474beec2dc7f091c7e8e04f7aebeb4
diff --git a/src/app/core/side-panel/side-panel.service.ts b/src/app/core/side-panel/side-panel.service.ts
index 1903b9e..4858f63 100644
--- a/src/app/core/side-panel/side-panel.service.ts
+++ b/src/app/core/side-panel/side-panel.service.ts
@@ -6,6 +6,7 @@
close(): void;
injectComponent(componentName: string, attributes?: any, transclude?: string): void;
removeInjectedComponents(): void;
+ toggleComponent(componentName: string, attributes?: any, transclude?: string): void;
}
export class XosSidePanel implements IXosSidePanelService {
@@ -14,6 +15,7 @@
public sidePanelElClass = '.xos-side-panel';
public sidePanelEl: JQuery;
private hasComponentLoaded: boolean;
+ private componentToggle = false;
constructor (
private $rootScope: ng.IRootScopeService,