Skip to main content

Home > @jsplumbtoolkit/browser-ui-svelte > StoreAdapter

StoreAdapter class

A simple wrapper around a store whose contents are expected to be in the Toolkit's JSON data format. When the store posts an update event, the contents of the store are queried and the Toolkit's list of nodes, groups and edges are updated to be in line with the contents of the store.


export declare class StoreAdapter 


(constructor)(toolkit, store)Constructs a new instance of the StoreAdapter class