Module
Vex.VexFlowFFI
- Package
- purescript-vexflow
- Repository
- MitchStevens/purescript-vexflow
#VexContext Source
data VexContext :: Type
#VexFormatter Source
data VexFormatter :: Type
#VexStaveNote Source
data VexStaveNote :: Type
#getElement Source
getElement :: String -> Effect HTMLElement
#resize Source
resize :: Foreign -> VexRenderer -> Effect VexRenderer
#format Source
format :: Array VexVoice -> Number -> VexFormatter -> Effect VexFormatter
#formatAndDraw Source
formatAndDraw :: VexContext -> VexStave -> Array VexStaveNote -> Effect Unit
#joinVoices Source
joinVoices :: Array VexVoice -> VexFormatter -> Effect VexFormatter
#setContextStave Source
setContextStave :: VexContext -> VexStave -> Effect VexStave
#addAccidental Source
addAccidental :: Int -> Foreign -> VexStaveNote -> Effect VexStaveNote
#addArticulation Source
addArticulation :: Int -> Foreign -> VexStaveNote -> Effect VexStaveNote
#addDot Source
addDot :: Int -> VexStaveNote -> Effect VexStaveNote
#addTickable Source
addTickable :: VexStaveNote -> VexVoice -> Effect VexVoice
#addTickables Source
addTickables :: Array VexStaveNote -> VexVoice -> Effect VexVoice
#setContextVoice Source
setContextVoice :: VexContext -> VexVoice -> Effect VexVoice
#setContextBeam Source
setContextBeam :: VexContext -> VexBeam -> Effect VexBeam
#generateBeams Source
generateBeams :: Array VexStaveNote -> Effect (Array VexBeam)
#GetContext Source
class GetContext v where
Members
getContext :: forall s. Builder (HasContext s) v -> Effect VexContext
Instances
#SetContext Source
class SetContext v where
Members
setContext :: forall s2 s1. Nub (HasContext s1) s2 => VexContext -> BuildStep s1 s2 v