First step towards a11y in the new room list
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
7322aaf602
commit
1ab0a1a1de
2 changed files with 5 additions and 1 deletions
|
@ -53,6 +53,10 @@ export default abstract class BasePlatform {
|
||||||
this.startUpdateCheck = this.startUpdateCheck.bind(this);
|
this.startUpdateCheck = this.startUpdateCheck.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abstract async getConfig(): Promise<{}>;
|
||||||
|
|
||||||
|
abstract getDefaultDeviceDisplayName(): string;
|
||||||
|
|
||||||
protected onAction = (payload: ActionPayload) => {
|
protected onAction = (payload: ActionPayload) => {
|
||||||
switch (payload.action) {
|
switch (payload.action) {
|
||||||
case 'on_client_not_viable':
|
case 'on_client_not_viable':
|
||||||
|
|
|
@ -40,7 +40,7 @@ export class PlatformPeg {
|
||||||
* application.
|
* application.
|
||||||
* This should be an instance of a class extending BasePlatform.
|
* This should be an instance of a class extending BasePlatform.
|
||||||
*/
|
*/
|
||||||
set(plaf) {
|
set(plaf: BasePlatform) {
|
||||||
this.platform = plaf;
|
this.platform = plaf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue