Skip to content
Kunkun

App

This API provides information about the application

Docs:: https://docs.api.kunkun.sh/interfaces/ui.IApp

API

  • language(): Get the language preference
import { app } from "@kksh/api/ui/worker";
// or
import { app } from "@kksh/api/ui/iframe";
app.language().then((lang) => {
console.log("Language:", lang);
});