mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
11 lines
227 B
JavaScript
11 lines
227 B
JavaScript
|
|
import appContext from "../services/app_context.js";
|
||
|
|
|
||
|
|
async function info(message) {
|
||
|
|
return new Promise(res =>
|
||
|
|
appContext.triggerCommand("showInfoDialog", {message, callback: res}));
|
||
|
|
}
|
||
|
|
|
||
|
|
export default {
|
||
|
|
info
|
||
|
|
};
|