import { message } from "@tauri-apps/plugin-dialog";
const CommandButton = document.getElementById("ConnectButton")
CommandButton?.addEventListener(`click`, async (event) => {
event.preventDefault();
await message('Connecting to server', { title: 'Att mod panel', kind: 'info', });
})``` pressing the button does not make the dialog appear but does work with anything else
#Dialog not working
14 messages · Page 1 of 1 (latest)