SheetDisplay Module
Nested modules
Modules | Description |
Functions and values
Function or value | Description |
Full Usage:
displaySvgWithZoom model headerHeight style svgReact dispatch
Parameters:
Model
headerHeight : float
style : CSSProp list
svgReact : List<ReactElement>
dispatch : Dispatch<Msg>
Returns: ReactElement
|
|
|
Hack to deal with possible Ctrl Key up when window is not focussed. This will not register as a keyup and so will stay in CurrentKeyPresses forever. Use the fact that keys auto-repeat, and time-stamp each KeyDown. If the mots recent keydown is longer than some cutoff time assume key is no longer pressed.
|
Full Usage:
getDrawBlockPos ev headerHeight sheetModel
Parameters:
MouseEvent
headerHeight : float
sheetModel : Model
Returns: XYPos
|
|
|
|
Full Usage:
mouseOp op ev dispatch headerHeight
Parameters:
MouseOp
ev : MouseEvent
dispatch : Msg -> unit
headerHeight : float
|
|
|
|
Full Usage:
wheelUpdate ev model dispatch
Parameters:
WheelEvent
model : Model
dispatch : Msg -> unit
|
|
Full Usage:
wheelUpdateMsg ev dispatch
Parameters:
WheelEvent
dispatch : Msg -> unit
Returns: Msg
|
|
|