From 13feb30f3ff9b913670a5fe7c8a9c1907d2c1740 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Fri, 4 Jul 2025 12:03:11 -0500 Subject: Initial commit --- api/JoplinWindow.d.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 api/JoplinWindow.d.ts (limited to 'api/JoplinWindow.d.ts') diff --git a/api/JoplinWindow.d.ts b/api/JoplinWindow.d.ts new file mode 100644 index 0000000..4cbdc64 --- /dev/null +++ b/api/JoplinWindow.d.ts @@ -0,0 +1,23 @@ +import Plugin from '../Plugin'; +export default class JoplinWindow { + private store_; + constructor(_plugin: Plugin, store: any); + /** + * Loads a chrome CSS file. It will apply to the window UI elements, except + * for the note viewer. It is the same as the "Custom stylesheet for + * Joplin-wide app styles" setting. See the [Load CSS Demo](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/load_css) + * for an example. + * + * desktop + */ + loadChromeCssFile(filePath: string): Promise; + /** + * Loads a note CSS file. It will apply to the note viewer, as well as any + * exported or printed note. It is the same as the "Custom stylesheet for + * rendered Markdown" setting. See the [Load CSS Demo](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/load_css) + * for an example. + * + * desktop + */ + loadNoteCssFile(filePath: string): Promise; +} -- cgit v1.2.3