Frontend API
export class WorkspaceComponent implements OnInit
Defines the root component to show a Workspace. It uses the top-bar and golden-layout components to display the workspace.
On the functional side, it takes care of changing the body’s background color and connect the app to the workspace via a the SocketService.
Created by antoine on 13/07/17.
ngOnInit (): void
On init, set the body’s background color to white and open a socket connexion to the workspace’s endpoint.
private connect(id: string): void
Connect the app to a workspace
private setBodyBgToWhite ()
Set the background color of the body element to white