UIConfig
Source: ui.ts
Configuration for StateManager and its optional UI controls.
Instance Fields
allowLocalFiles: boolean
Offer local file loading alongside PDB, PubChem, and URL sources. Defaults to true.
onModelLoaded: function
Called after a successful UI load, before state subscribers are notified.
onOpenChange: function
Called when the edit panel opens or closes after initialization.
onViewChange: function
Called when StateManager.setViewSettings changes the managed appearance.
open: boolean
Start with the sidebar open. Small embedded viewers default to collapsed.
view: Partial.<UIViewSettings>
Initial settings for the view controls; omitted settings retain viewer defaults.