-
Notifications
You must be signed in to change notification settings - Fork 1
/
documentation.json
54 lines (54 loc) · 1.83 KB
/
documentation.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[
{
"name": "AlertTimerMessage",
"comment": " Simple message alert library.\nIts functionality is to hide and show alerts.\nThe module is given a time and an HTML structure then does the job.\nYou can create css and pass the msg to display.\n\n# The model\n@docs Model\n\n# The initial state\n@docs modelInit\n\n# View\n@docs view\n\n# Msg\n@docs Msg\n\n# Update\n@docs update\n\n# The initial state\n@docs modelInit\n",
"aliases": [
{
"name": "Model",
"comment": " The model is simple. It's have a dict with msg and counter of displayed msg.\n",
"args": [],
"type": "{ messages : Dict.Dict Int AlertTimerMessage.Message, count : Int }"
}
],
"types": [
{
"name": "Msg",
"comment": " The type representing messages that are passed inside the Rating.\n Notice: AddNewMessage receive two params: Float will be time to display and Html Msg will be a html struture.\n Tip: Use Css to improve Html Msg.\n",
"args": [],
"cases": [
[
"AddNewMessage",
[
"Float",
"Html.Html AlertTimerMessage.Msg"
]
],
[
"RemoveAlert",
[
"Int"
]
]
]
}
],
"values": [
{
"name": "modelInit",
"comment": " Empty model with counter 1\n",
"type": "AlertTimerMessage.Model"
},
{
"name": "update",
"comment": " ",
"type": "AlertTimerMessage.Msg -> AlertTimerMessage.Model -> ( AlertTimerMessage.Model , Platform.Cmd.Cmd AlertTimerMessage.Msg )"
},
{
"name": "view",
"comment": " ",
"type": "AlertTimerMessage.Model -> Html.Html AlertTimerMessage.Msg"
}
],
"generated-with-elm-version": "0.18.0"
}
]