elm package cache
Packages
Reroutes
About
lamdera.com
ThinkAlexandria
/
elm-drag-locations
/
3.0.2
NOTE: the latest version is
3.1.0
README
About
Versions
Source
Modules
Drag
type
State
interactionLocation
type
Msg
interactionLocation
=
Start
interactionLocation
Position
|
Moved
interactionLocation
Position
|
End
interactionLocation
Position
|
Click
interactionLocation
Position
onMouseDownWithOptions
:
{ stopPropagation
:
Bool
, preventDefault
:
Bool
}
-> location
->
Attribute
(
Msg
location)
subscriptions
:
State
interactionLocation ->
Sub
(
Msg
interactionLocation)
update
:
Msg
interactionLocation
->
State
interactionLocation
->
State
interactionLocation
init
:
State
interactionLocation
delta
:
Msg
interactionLocation
->
State
interactionLocation
-> (
Int
,
Int
)
README
About
6 versions
Source
Modules
Drag