New apis for plugins

This commit is contained in:
alonso.torres 2024-05-21 15:00:35 +02:00 committed by Andrey Antukh
parent d6de1fdbdf
commit 3ca5b13e27
7 changed files with 613 additions and 92 deletions

View file

@ -154,4 +154,4 @@
{:name "currentPage" :get #(.getPage ^js %)}
{:name "selection" :get #(.getSelectedShapes ^js %)}
{:name "viewport" :get #(.getViewport ^js %)}
{:name "library" :get (fn [_] (library/create-library-subcontext))}))
{:name "library" :get (fn [_] (library/library-subcontext))}))