the localStorage key of the layout, the colour, the places, the sizes and the order
the post-its start minimized on each page load, so they do not cover the canvas; the button
of the dock brings back the layout that the person set last. false: they start in that layout.
Protected_Protected Optional_Protected_The colour of the post-its. theme: the colours of the Tweakpane theme
ReadonlydockThe buttons at the bottom left of the canvas, after a drag handle: add a note, the store of new notes, arrange,
the layout and minimise (in the minimized layout, the button that brings the post-its back). Place it with its
style when the corner is taken, e.g. dock.style.bottom = '56px'; the pile starts above it. The person can drag
it elsewhere: that move is its transform, so do not set one.
ReadonlyelementThe layer over the canvas that holds the post-its and the dock
The notes are on the canvas
ReadonlystorageThe localStorage key of the layout, the colour, the places, the sizes and the order
StaticInjectAdds the stylesheet of the notes and of the tooltips to the page when the first plugin is made. Off: the page
styles the snp- classes and the tooltips.
Static Optional ReadonlyOldStatic ReadonlyPluginProtected_Protected_Optionalprefix: stringMakes a note on top, with the cursor in it (NotesPlugin.defaultStore when no store is named). On the board, its post-it opens by the dock (above it, or below it when the dock is at the top), inside the canvas.
Optionalstore: stringPuts the post-its of the board in columns from the top left corner, from the bottom one to the top one, inside the canvas and above the dock, as new post-its are placed
Brings the post-it of a note to the top (of the board, or of the pile)
Optionalmeta: SerializationMetaTypeForgets the places and sizes: the board is arranged again, the pile and the dock go back to their corner
Optionalset
Sticky Notes UI Plugin
Shows the notes of NotesPlugin as post-its over the canvas, in one of two layouts (StickyNotesLayout):
board(a post-it per note) orstack(a pile);minimizedtakes them off the canvas. The icon buttons at the bottom left (each with a tooltip) add a note, pick the store of new notes, arrange the board, switch the layout and minimise; when minimised, one button with the number of notes brings them back.localStorage(storageKey), not in the file.The post-its fill the nearest positioned ancestor of the layer, so the viewer container must be positioned (for example
position: relative) for the post-its to stay inside the canvas. The post-its and the dock are above the loading screen and below the bars of the editor; their menus are in a second layer, with the popups of the page.The tooltips use tippy.js with the
editortheme of the editor (its CSS is added with the styles, see InjectStyles).The plugin's UI folder (Sticky Notes) has the settings: show, layout, colour, arrange, reset the places.