You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Chore: Update plugin types
This commit is contained in:
@ -1,12 +1,17 @@
|
||||
import Plugin from '../Plugin';
|
||||
import { ViewHandle } from './types';
|
||||
/**
|
||||
* Allows creating and managing view panels. View panels currently are
|
||||
* displayed at the right of the sidebar and allows displaying any HTML
|
||||
* content (within a webview) and update it in real-time. For example it
|
||||
* Allows creating and managing view panels. View panels allow displaying any HTML
|
||||
* content (within a webview) and updating it in real-time. For example it
|
||||
* could be used to display a table of content for the active note, or
|
||||
* display various metadata or graph.
|
||||
*
|
||||
* On desktop, view panels currently are displayed at the right of the sidebar, though can
|
||||
* be moved with "View" > "Change application layout".
|
||||
*
|
||||
* On mobile, view panels are shown in a tabbed dialog that can be opened using a
|
||||
* toolbar button.
|
||||
*
|
||||
* [View the demo plugin](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/toc)
|
||||
*/
|
||||
export default class JoplinViewsPanels {
|
||||
@ -75,4 +80,5 @@ export default class JoplinViewsPanels {
|
||||
* Tells whether the panel is visible or not
|
||||
*/
|
||||
visible(handle: ViewHandle): Promise<boolean>;
|
||||
isActive(handle: ViewHandle): Promise<boolean>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user