Module
Sketch.Dom
- Package
- purescript-sketch
- Repository
- iarthstar/purescript-sketch
#getDocuments Source
getDocuments :: Effect (Either (NonEmptyList ForeignError) (Array Document))
Access all the open Documents.
#getSelectedDocument Source
getSelectedDocument :: Effect (Either (NonEmptyList ForeignError) Document)
Access the selected Document.
#selectedLayers Source
selectedLayers :: Effect (Either (NonEmptyList ForeignError) (Array Layer))
Gets selected Layers.
#getLayerWithID Source
getLayerWithID :: String -> Effect (Either (NonEmptyList ForeignError) Layer)
A method to help find the first layer in this document which has the given id.