mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08: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
|
||
|
};
|