browser tab use REST API.

This commit is contained in:
Miroslav Šedivý 2020-12-27 22:14:56 +01:00
parent b13c9696b1
commit eeb82c09b3

View File

@ -259,11 +259,6 @@
return this.api.members return this.api.members
} }
// TODO: Refactor.
public tabEvent(event: string, payload?: any | undefined) {
this.websocket.send('tabs/' + event, { payload })
}
// TODO: Refactor. // TODO: Refactor.
tabHander?: (event: string, payload: any) => any tabHander?: (event: string, payload: any) => any
public tabSubscribe(func: (event: string, payload: any) => any) { public tabSubscribe(func: (event: string, payload: any) => any) {