Files
ThreadNet-Web/apps/web/playwright/sample-files/settings-module.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
454 B
JavaScript
Raw Normal View History

/*
Copyright 2026 Element Creations Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
export default class SettingsModule {
static moduleApiVersion = "^*";
constructor(api) {
this.api = api;
}
async load() {
2026-08-04 10:15:07 +01:00
// oxlint-disable-next-line no-alert
alert(this.api.settings.getValue("language"));
}
}