forked from zwilias/elm-html-string
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.json
1221 lines (1221 loc) · 64.6 KB
/
docs.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"name": "Html.String.Keyed",
"comment": " A keyed node helps optimize cases where children are getting added, moved,\nremoved, etc. Common examples include:\n\n - The user can delete items from a list.\n - The user can create new items in a list.\n - You can sort a list based on name or date or whatever.\n\nWhen you use a keyed node, every child is paired with a string identifier. This\nmakes it possible for the underlying diffing algorithm to reuse nodes more\nefficiently.\n\n\n# Keyed Nodes\n\n@docs node\n\n\n# Commonly Keyed Nodes\n\n@docs ol, ul\n\n",
"aliases": [],
"types": [],
"values": [
{
"name": "node",
"comment": " Works just like `Html.node`, but you add a unique identifier to each child\nnode. You want this when you have a list of nodes that is changing: adding\nnodes, removing nodes, etc. In these cases, the unique identifiers help make\nthe DOM modifications more efficient.\n",
"type": "String -> List (Html.String.Attribute msg) -> List ( String, Html.String.Html msg ) -> Html.String.Html msg"
},
{
"name": "ol",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List ( String, Html.String.Html msg ) -> Html.String.Html msg"
},
{
"name": "ul",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List ( String, Html.String.Html msg ) -> Html.String.Html msg"
}
],
"generated-with-elm-version": "0.18.0"
},
{
"name": "Html.String.Events",
"comment": " It is often helpful to create an [Union Type] so you can have many different kinds\nof events as seen in the [TodoMVC] example.\n\n[Union Type]: http://elm-lang.org/learn/Union-Types.elm\n[TodoMVC]: https://github.com/evancz/elm-todomvc/blob/master/Todo.elm\n\n\n# Mouse Helpers\n\n@docs onClick, onDoubleClick,onMouseDown, onMouseUp,onMouseEnter, onMouseLeave,onMouseOver, onMouseOut\n\n\n# Form Helpers\n\n@docs onInput, onCheck, onSubmit\n\n\n# Focus Helpers\n\n@docs onBlur, onFocus\n\n\n# Custom Event Handlers\n\n@docs on, onWithOptions, Options, defaultOptions\n\n\n# Custom Decoders\n\n@docs targetValue, targetChecked, keyCode\n\n",
"aliases": [
{
"name": "Options",
"comment": " Options for an event listener. If `stopPropagation` is true, it means the\nevent stops traveling through the DOM so it will not trigger any other event\nlisteners. If `preventDefault` is true, any built-in browser behavior related\nto the event is prevented. For example, this is used with touch events when you\nwant to treat them as gestures of your own, not as scrolls.\n",
"args": [],
"type": "{ stopPropagation : Bool, preventDefault : Bool }"
}
],
"types": [],
"values": [
{
"name": "defaultOptions",
"comment": " Everything is `False` by default.\n\n defaultOptions =\n { stopPropagation = False\n , preventDefault = False\n }\n\n",
"type": "Html.String.Events.Options"
},
{
"name": "keyCode",
"comment": " A `Json.Decoder` for grabbing `event.keyCode`. This helps you define\nkeyboard listeners like this:\n\n import Json.Decode as Json\n\n onKeyUp : (Int -> msg) -> Attribute msg\n onKeyUp tagger =\n on \"keyup\" (Json.map tagger keyCode)\n\n**Note:** It looks like the spec is moving away from `event.keyCode` and\ntowards `event.key`. Once this is supported in more browsers, we may add\nhelpers here for `onKeyUp`, `onKeyDown`, `onKeyPress`, etc.\n\n",
"type": "Json.Decode.Decoder Int"
},
{
"name": "on",
"comment": " Create a custom event listener. Normally this will not be necessary, but\nyou have the power! Here is how `onClick` is defined for example:\n\n import Json.Decode as Json\n\n onClick : msg -> Attribute msg\n onClick message =\n on \"click\" (Json.succeed message)\n\nThe first argument is the event name in the same format as with JavaScript's\n[`addEventListener`][aEL] function.\n\nThe second argument is a JSON decoder. Read more about these [here][decoder].\nWhen an event occurs, the decoder tries to turn the event object into an Elm\nvalue. If successful, the value is routed to your `update` function. In the\ncase of `onClick` we always just succeed with the given `message`.\n\nIf this is confusing, work through the [Elm Architecture Tutorial][tutorial].\nIt really does help!\n\n[aEL]: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\n[decoder]: http://package.elm-lang.org/packages/elm-lang/core/latest/Json-Decode\n[tutorial]: https://github.com/evancz/elm-architecture-tutorial/\n\n",
"type": "String -> Json.Decode.Decoder msg -> Html.String.Attribute msg"
},
{
"name": "onBlur",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onCheck",
"comment": " Capture [change](https://developer.mozilla.org/en-US/docs/Web/Events/change)\nevents on checkboxes. It will grab the boolean value from `event.target.checked`\non any input event.\n\nCheck out [targetChecked](#targetChecked) for more details on how this works.\n\n",
"type": "(Bool -> msg) -> Html.String.Attribute msg"
},
{
"name": "onClick",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onDoubleClick",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onFocus",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onInput",
"comment": " Capture [input](https://developer.mozilla.org/en-US/docs/Web/Events/input)\nevents for things like text fields or text areas.\n\nIt grabs the **string** value at `event.target.value`, so it will not work if\nyou need some other type of information. For example, if you want to track\ninputs on a range slider, make a custom handler with [`on`](#on).\n\nFor more details on how `onInput` works, check out [targetValue](#targetValue).\n\n",
"type": "(String -> msg) -> Html.String.Attribute msg"
},
{
"name": "onMouseDown",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onMouseEnter",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onMouseLeave",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onMouseOut",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onMouseOver",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onMouseUp",
"comment": " ",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onSubmit",
"comment": " Capture a [submit](https://developer.mozilla.org/en-US/docs/Web/Events/submit)\nevent with [`preventDefault`](https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault)\nin order to prevent the form from changing the page’s location. If you need\ndifferent behavior, use `onWithOptions` to create a customized version of\n`onSubmit`.\n",
"type": "msg -> Html.String.Attribute msg"
},
{
"name": "onWithOptions",
"comment": " Same as `on` but you can set a few options.\n",
"type": "String -> Html.String.Events.Options -> Json.Decode.Decoder msg -> Html.String.Attribute msg"
},
{
"name": "targetChecked",
"comment": " A `Json.Decoder` for grabbing `event.target.checked`. We use this to define\n`onCheck` as follows:\n\n import Json.Decode as Json\n\n onCheck : (Bool -> msg) -> Attribute msg\n onCheck tagger =\n on \"input\" (Json.map tagger targetChecked)\n\n",
"type": "Json.Decode.Decoder Bool"
},
{
"name": "targetValue",
"comment": " A `Json.Decoder` for grabbing `event.target.value`. We use this to define\n`onInput` as follows:\n\n import Json.Decode as Json\n\n onInput : (String -> msg) -> Attribute msg\n onInput tagger =\n on \"input\" (Json.map tagger targetValue)\n\nYou probably will never need this, but hopefully it gives some insights into\nhow to make custom event handlers.\n\n",
"type": "Json.Decode.Decoder String"
}
],
"generated-with-elm-version": "0.18.0"
},
{
"name": "Html.String.Lazy",
"comment": "\n\n\n# 🔥 This isn't actually lazy in this library..\n\n.. because we can't keep track of the model without existential types. It just\neagerly evaluates. This set of function is here to serve as a drop-in\nreplacement.\n\n@docs lazy, lazy2, lazy3\n\n",
"aliases": [],
"types": [],
"values": [
{
"name": "lazy",
"comment": " A performance optimization that delays the building of virtual DOM nodes.\n\nCalling `(view model)` will definitely build some virtual DOM, perhaps a lot of\nit. Calling `(lazy view model)` delays the call until later. During diffing, we\ncan check to see if `model` is referentially equal to the previous value used,\nand if so, we just stop. No need to build up the tree structure and diff it,\nwe know if the input to `view` is the same, the output must be the same!\n\n",
"type": "(a -> Html.String.Html msg) -> a -> Html.String.Html msg"
},
{
"name": "lazy2",
"comment": " Same as `lazy` but checks on two arguments.\n",
"type": "(a -> b -> Html.String.Html msg) -> a -> b -> Html.String.Html msg"
},
{
"name": "lazy3",
"comment": " Same as `lazy` but checks on three arguments.\n",
"type": "(a -> b -> c -> Html.String.Html msg) -> a -> b -> c -> Html.String.Html msg"
}
],
"generated-with-elm-version": "0.18.0"
},
{
"name": "Html.String.Attributes",
"comment": " Helper functions for HTML attributes. They are organized roughly by\ncategory. Each attribute is labeled with the HTML tags it can be used with, so\njust search the page for `video` if you want video stuff.\n\nIf you cannot find what you are looking for, go to the [Custom\nAttributes](#custom-attributes) section to learn how to create new helpers.\n\n\n# Primitives\n\n@docs style, property, attribute, map\n\n\n# Super Common Attributes\n\n@docs class, classList, id, title, hidden\n\n\n# Inputs\n\n@docs type_, value, defaultValue, checked, placeholder, selected\n\n\n## Input Helpers\n\n@docs accept, acceptCharset, action, autocomplete, autofocus,disabled, enctype, formaction, list, maxlength, minlength, method, multiple,name, novalidate, pattern, readonly, required, size, for, form\n\n\n## Input Ranges\n\n@docs max, min, step\n\n\n## Input Text Areas\n\n@docs cols, rows, wrap\n\n\n# Links and Areas\n\n@docs href, target, download, downloadAs, hreflang, media, ping, rel\n\n\n## Maps\n\n@docs ismap, usemap, shape, coords\n\n\n# Embedded Content\n\n@docs src, height, width, alt\n\n\n## Audio and Video\n\n@docs autoplay, controls, loop, preload, poster, default, kind, srclang\n\n\n## iframes\n\n@docs sandbox, seamless, srcdoc\n\n\n# Ordered Lists\n\n@docs reversed, start\n\n\n# Tables\n\n@docs align, colspan, rowspan, headers, scope\n\n\n# Header Stuff\n\n@docs async, charset, content, defer, httpEquiv, language, scoped\n\n\n# Less Common Global Attributes\n\nAttributes that can be attached to any HTML tag but are less commonly used.\n@docs accesskey, contenteditable, contextmenu, dir, draggable, dropzone,itemprop, lang, spellcheck, tabindex\n\n\n# Key Generation\n\n@docs challenge, keytype\n\n\n# Miscellaneous\n\n@docs cite, datetime, pubdate, manifest\n\n",
"aliases": [],
"types": [],
"values": [
{
"name": "accept",
"comment": " List of types the server accepts, typically a file type.\nFor `form` and `input`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "acceptCharset",
"comment": " List of supported charsets in a `form`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "accesskey",
"comment": " Defines a keyboard shortcut to activate or add focus to the element.\n",
"type": "Char -> Html.String.Attribute msg"
},
{
"name": "action",
"comment": " The URI of a program that processes the information submitted via a `form`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "align",
"comment": " Specifies the horizontal alignment of a `caption`, `col`, `colgroup`,\n`hr`, `iframe`, `img`, `table`, `tbody`, `td`, `tfoot`, `th`, `thead`, or\n`tr`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "alt",
"comment": " Alternative text in case an image can't be displayed. Works with `img`,\n`area`, and `input`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "async",
"comment": " Indicates that the `script` should be executed asynchronously.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "attribute",
"comment": " Create _attributes_, like saying `domNode.setAttribute('class', 'greeting')`\nin JavaScript.\n\n class : String -> Attribute msg\n class name =\n attribute \"class\" name\n\nRead more about the difference between properties and attributes [here].\n\n[here]: https://github.com/elm-lang/html/blob/master/properties-vs-attributes.md\n\n",
"type": "String -> String -> Html.String.Attribute msg"
},
{
"name": "autocomplete",
"comment": " Indicates whether a `form` or an `input` can have their values automatically\ncompleted by the browser.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "autofocus",
"comment": " The element should be automatically focused after the page loaded.\nFor `button`, `input`, `keygen`, `select`, and `textarea`.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "autoplay",
"comment": " The `audio` or `video` should play as soon as possible.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "challenge",
"comment": " A challenge string that is submitted along with the public key in a `keygen`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "charset",
"comment": " Declares the character encoding of the page or script. Common values include:\n\n - UTF-8 - Character encoding for Unicode\n - ISO-8859-1 - Character encoding for the Latin alphabet\n\nFor `meta` and `script`.\n\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "checked",
"comment": " Indicates whether an `input` of type checkbox is checked.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "cite",
"comment": " Contains a URI which points to the source of the quote or change in a\n`blockquote`, `del`, `ins`, or `q`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "class",
"comment": " Often used with CSS to style elements with common properties.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "classList",
"comment": " This function makes it easier to build a space-separated class attribute.\nEach class can easily be added and removed depending on the boolean value it\nis paired with. For example, maybe we want a way to view notices:\n\n viewNotice : Notice -> Html msg\n viewNotice notice =\n div\n [ classList\n [ ( \"notice\", True )\n , ( \"notice-important\", notice.isImportant )\n , ( \"notice-seen\", notice.isSeen )\n ]\n ]\n [ text notice.content ]\n\n",
"type": "List ( String, Bool ) -> Html.String.Attribute msg"
},
{
"name": "cols",
"comment": " Defines the number of columns in a `textarea`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "colspan",
"comment": " The colspan attribute defines the number of columns a cell should span.\nFor `td` and `th`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "content",
"comment": " A value associated with http-equiv or name depending on the context. For\n`meta`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "contenteditable",
"comment": " Indicates whether the element's content is editable.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "contextmenu",
"comment": " Defines the ID of a `menu` element which will serve as the element's\ncontext menu.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "controls",
"comment": " Indicates whether the browser should show playback controls for the `audio`\nor `video`.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "coords",
"comment": " A set of values specifying the coordinates of the hot-spot region in an\n`area`. Needs to be paired with a `shape` attribute to be meaningful.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "datetime",
"comment": " Indicates the date and time associated with the element.\nFor `del`, `ins`, `time`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "default",
"comment": " Indicates that the `track` should be enabled unless the user's preferences\nindicate something different.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "defaultValue",
"comment": " Defines an initial value which will be displayed in an `input` when that\n`input` is added to the DOM. Unlike `value`, altering `defaultValue` after the\n`input` element has been added to the DOM has no effect.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "defer",
"comment": " Indicates that a `script` should be executed after the page has been\nparsed.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "dir",
"comment": " Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl\n(Right-To-Left).\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "disabled",
"comment": " Indicates whether the user can interact with a `button`, `fieldset`,\n`input`, `keygen`, `optgroup`, `option`, `select` or `textarea`.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "download",
"comment": " Indicates that clicking an `a` and `area` will download the resource\ndirectly.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "downloadAs",
"comment": " Indicates that clicking an `a` and `area` will download the resource\ndirectly, and that the downloaded resource with have the given filename.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "draggable",
"comment": " Defines whether the element can be dragged.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "dropzone",
"comment": " Indicates that the element accept the dropping of content on it.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "enctype",
"comment": " How `form` data should be encoded when submitted with the POST method.\nOptions include: application/x-www-form-urlencoded, multipart/form-data, and\ntext/plain.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "for",
"comment": " The element ID described by this `label` or the element IDs that are used\nfor an `output`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "form",
"comment": " Indicates the element ID of the `form` that owns this particular `button`,\n`fieldset`, `input`, `keygen`, `label`, `meter`, `object`, `output`,\n`progress`, `select`, or `textarea`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "formaction",
"comment": " Indicates the action of an `input` or `button`. This overrides the action\ndefined in the surrounding `form`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "headers",
"comment": " A space separated list of element IDs indicating which `th` elements are\nheaders for this cell. For `td` and `th`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "height",
"comment": " Declare the height of a `canvas`, `embed`, `iframe`, `img`, `input`,\n`object`, or `video`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "hidden",
"comment": " Indicates the relevance of an element.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "href",
"comment": " The URL of a linked resource, such as `a`, `area`, `base`, or `link`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "hreflang",
"comment": " Two-letter language code of the linked resource of an `a`, `area`, or `link`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "httpEquiv",
"comment": " This attribute is an indicator that is paired with the `content` attribute,\nindicating what that content means. `httpEquiv` can take on three different\nvalues: content-type, default-style, or refresh. For `meta`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "id",
"comment": " Often used with CSS to style a specific element. The value of this\nattribute must be unique.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "ismap",
"comment": " When an `img` is a descendent of an `a` tag, the `ismap` attribute\nindicates that the click location should be added to the parent `a`'s href as\na query string.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "itemprop",
"comment": " ",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "keytype",
"comment": " Specifies the type of key generated by a `keygen`. Possible values are:\nrsa, dsa, and ec.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "kind",
"comment": " Specifies the kind of text `track`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "lang",
"comment": " Defines the language used in the element.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "language",
"comment": " Defines the script language used in a `script`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "list",
"comment": " Associates an `input` with a `datalist` tag. The datalist gives some\npre-defined options to suggest to the user as they interact with an input.\nThe value of the list attribute must match the id of a `datalist` node.\nFor `input`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "loop",
"comment": " Indicates whether the `audio` or `video` should start playing from the\nstart when it's finished.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "manifest",
"comment": " Specifies the URL of the cache manifest for an `html` tag.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "map",
"comment": " Transform the messages produced by an `Attribute`.\n",
"type": "(a -> msg) -> Html.String.Attribute a -> Html.String.Attribute msg"
},
{
"name": "max",
"comment": " Indicates the maximum value allowed. When using an input of type number or\ndate, the max value must be a number or date. For `input`, `meter`, and `progress`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "maxlength",
"comment": " Defines the maximum number of characters allowed in an `input` or\n`textarea`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "media",
"comment": " Specifies a hint of the target media of a `a`, `area`, `link`, `source`,\nor `style`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "method",
"comment": " Defines which HTTP method to use when submitting a `form`. Can be GET\n(default) or POST.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "min",
"comment": " Indicates the minimum value allowed. When using an input of type number or\ndate, the min value must be a number or date. For `input` and `meter`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "minlength",
"comment": " Defines the minimum number of characters allowed in an `input` or\n`textarea`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "multiple",
"comment": " Indicates whether multiple values can be entered in an `input` of type\nemail or file. Can also indicate that you can `select` many options.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "name",
"comment": " Name of the element. For example used by the server to identify the fields\nin form submits. For `button`, `form`, `fieldset`, `iframe`, `input`, `keygen`,\n`object`, `output`, `select`, `textarea`, `map`, `meta`, and `param`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "novalidate",
"comment": " This attribute indicates that a `form` shouldn't be validated when\nsubmitted.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "pattern",
"comment": " Defines a regular expression which an `input`'s value will be validated\nagainst.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "ping",
"comment": " Specify a URL to send a short POST request to when the user clicks on an\n`a` or `area`. Useful for monitoring and tracking.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "placeholder",
"comment": " Provides a hint to the user of what can be entered into an `input` or\n`textarea`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "poster",
"comment": " A URL indicating a poster frame to show until the user plays or seeks the\n`video`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "preload",
"comment": " Control how much of an `audio` or `video` resource should be preloaded.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "property",
"comment": " Create _properties_, like saying `domNode.className = 'greeting'` in\nJavaScript.\n\n import Json.Encode as Encode\n\n class : String -> Attribute msg\n class name =\n property \"className\" (Encode.string name)\n\nRead more about the difference between properties and attributes [here].\n\n[here]: https://github.com/elm-lang/html/blob/master/properties-vs-attributes.md\n\n",
"type": "String -> Json.Encode.Value -> Html.String.Attribute msg"
},
{
"name": "pubdate",
"comment": " Indicates whether this date and time is the date of the nearest `article`\nancestor element. For `time`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "readonly",
"comment": " Indicates whether an `input` or `textarea` can be edited.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "rel",
"comment": " Specifies the relationship of the target object to the link object.\nFor `a`, `area`, `link`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "required",
"comment": " Indicates whether this element is required to fill out or not.\nFor `input`, `select`, and `textarea`.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "reversed",
"comment": " Indicates whether an ordered list `ol` should be displayed in a descending\norder instead of a ascending.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "rows",
"comment": " Defines the number of rows in a `textarea`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "rowspan",
"comment": " Defines the number of rows a table cell should span over.\nFor `td` and `th`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "sandbox",
"comment": " A space separated list of security restrictions you'd like to lift for an\n`iframe`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "scope",
"comment": " Specifies the scope of a header cell `th`. Possible values are: col, row,\ncolgroup, rowgroup.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "scoped",
"comment": " Indicates that a `style` should only apply to its parent and all of the\nparents children.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "seamless",
"comment": " Make an `iframe` look like part of the containing document.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "selected",
"comment": " Defines which `option` will be selected on page load.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "shape",
"comment": " Declare the shape of the clickable area in an `a` or `area`. Valid values\ninclude: default, rect, circle, poly. This attribute can be paired with\n`coords` to create more particular shapes.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "size",
"comment": " For `input` specifies the width of an input in characters.\n\nFor `select` specifies the number of visible options in a drop-down list.\n\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "spellcheck",
"comment": " Indicates whether spell checking is allowed for the element.\n",
"type": "Bool -> Html.String.Attribute msg"
},
{
"name": "src",
"comment": " The URL of the embeddable content. For `audio`, `embed`, `iframe`, `img`,\n`input`, `script`, `source`, `track`, and `video`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "srcdoc",
"comment": " An HTML document that will be displayed as the body of an `iframe`. It will\noverride the content of the `src` attribute if it has been specified.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "srclang",
"comment": " A two letter language code indicating the language of the `track` text data.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "start",
"comment": " Defines the first number of an ordered list if you want it to be something\nbesides 1.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "step",
"comment": " Add a step size to an `input`. Use `step \"any\"` to allow any floating-point\nnumber to be used in the input.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "style",
"comment": " Specify a list of styles.\n\n myStyle : Attribute msg\n myStyle =\n style\n [ ( \"backgroundColor\", \"red\" )\n , ( \"height\", \"90px\" )\n , ( \"width\", \"100%\" )\n ]\n\n greeting : Html msg\n greeting =\n div [ myStyle ] [ text \"Hello!\" ]\n\nThere is no `Html.Styles` module because best practices for working with HTML\nsuggest that this should primarily be specified in CSS files. So the general\nrecommendation is to use this function lightly.\n\n",
"type": "List ( String, String ) -> Html.String.Attribute msg"
},
{
"name": "tabindex",
"comment": " Overrides the browser's default tab order and follows the one specified\ninstead.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "target",
"comment": " Specify where the results of clicking an `a`, `area`, `base`, or `form`\nshould appear. Possible special values include:\n\n - _blank — a new window or tab\n - _self — the same frame (this is default)\n - _parent — the parent frame\n - _top — the full body of the window\n\nYou can also give the name of any `frame` you have created.\n\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "title",
"comment": " Text to be displayed in a tooltip when hovering over the element.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "type_",
"comment": " Defines the type of a `button`, `input`, `embed`, `object`, `script`,\n`source`, `style`, or `menu`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "usemap",
"comment": " Specify the hash name reference of a `map` that should be used for an `img`\nor `object`. A hash name reference is a hash symbol followed by the element's name or id.\nE.g. `\"#planet-map\"`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "value",
"comment": " Defines a default value which will be displayed in a `button`, `option`,\n`input`, `li`, `meter`, `progress`, or `param`.\n",
"type": "String -> Html.String.Attribute msg"
},
{
"name": "width",
"comment": " Declare the width of a `canvas`, `embed`, `iframe`, `img`, `input`,\n`object`, or `video`.\n",
"type": "Int -> Html.String.Attribute msg"
},
{
"name": "wrap",
"comment": " Indicates whether the text should be wrapped in a `textarea`. Possible\nvalues are \"hard\" and \"soft\".\n",
"type": "String -> Html.String.Attribute msg"
}
],
"generated-with-elm-version": "0.18.0"
},
{
"name": "Html.String",
"comment": " This file is organized roughly in order of popularity. The tags which you'd\nexpect to use frequently will be closer to the top.\n\n\n# Serialization\n\n@docs toHtml, toString\n\n\n# Primitives\n\n@docs Html, Attribute, text, node, map\n\n\n# Programs\n\n@docs beginnerProgram, program, programWithFlags\n\n\n# Tags\n\n\n## Headers\n\n@docs h1, h2, h3, h4, h5, h6\n\n\n## Grouping Content\n\n@docs div, p, hr, pre, blockquote\n\n\n## Text\n\n@docs span, a, code, em, strong, i, b, u, sub, sup, br\n\n\n## Lists\n\n@docs ol, ul, li, dl, dt, dd\n\n\n## Emdedded Content\n\n@docs img, iframe, canvas, math\n\n\n## Inputs\n\n@docs form, input, textarea, button, select, option\n\n\n## Sections\n\n@docs section, nav, article, aside, header, footer, address, main_, body\n\n\n## Figures\n\n@docs figure, figcaption\n\n\n## Tables\n\n@docs table, caption, colgroup, col, tbody, thead, tfoot, tr, td, th\n\n\n## Less Common Elements\n\n\n### Less Common Inputs\n\n@docs fieldset, legend, label, datalist, optgroup, keygen, output, progress, meter\n\n\n### Audio and Video\n\n@docs audio, video, source, track\n\n\n### Embedded Objects\n\n@docs embed, object, param\n\n\n### Text Edits\n\n@docs ins, del\n\n\n### Semantic Text\n\n@docs small, cite, dfn, abbr, time, var, samp, kbd, s, q\n\n\n### Less Common Text Tags\n\n@docs mark, ruby, rt, rp, bdi, bdo, wbr\n\n\n## Interactive Elements\n\n@docs details, summary, menuitem, menu\n\n",
"aliases": [
{
"name": "Attribute",
"comment": " Set attributes on your `Html`. Learn more in the\n[`Html.String.Attributes`](Html.String.Attributes) module.\n",
"args": [
"msg"
],
"type": "Html.Types.Attribute msg"
},
{
"name": "Html",
"comment": " The core building block used to build up HTML. Here we create an `Html`\nvalue with no attributes and one child:\n\n hello : Html msg\n hello =\n div [] [ text \"Hello!\" ]\n\n",
"args": [
"msg"
],
"type": "Html.Types.Html msg"
}
],
"types": [],
"values": [
{
"name": "a",
"comment": " Represents a hyperlink, linking to another resource.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "abbr",
"comment": " Represents an abbreviation or an acronym; the expansion of the\nabbreviation can be represented in the title attribute.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "address",
"comment": " Defines a section containing contact information.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "article",
"comment": " Defines self-contained content that could exist independently of the rest\nof the content.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "aside",
"comment": " Defines some content loosely related to the page content. If it is removed,\nthe remaining content still makes sense.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "audio",
"comment": " Represents a sound or audio stream.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "b",
"comment": " Represents a text which to which attention is drawn for utilitarian\npurposes. It doesn't convey extra importance and doesn't imply an alternate\nvoice.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "bdi",
"comment": " Represents text that must be isolated from its surrounding for\nbidirectional text formatting. It allows embedding a span of text with a\ndifferent, or unknown, directionality.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "bdo",
"comment": " Represents the directionality of its children, in order to explicitly\noverride the Unicode bidirectional algorithm.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "beginnerProgram",
"comment": " Create a [`Program`][program] that describes how your whole app works.\n\nRead about [The Elm Architecture][tea] to learn how to use this. Just do it.\nThe additional context is very worthwhile! (Honestly, it is best to just read\nthat guide from front to back instead of muddling around and reading it\npiecemeal.)\n\n[program]: http://package.elm-lang.org/packages/elm-lang/core/latest/Platform#Program\n[tea]: https://guide.elm-lang.org/architecture/\n\n",
"type": "{ model : model , view : model -> Html.String.Html msg , update : msg -> model -> model } -> Platform.Program Basics.Never model msg"
},
{
"name": "blockquote",
"comment": " Represents a content that is quoted from another source.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "body",
"comment": " Represents the content of an HTML document. There is only one `body`\nelement in a document.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "br",
"comment": " Represents a line break.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "button",
"comment": " Represents a button.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "canvas",
"comment": " Represents a bitmap area for graphics rendering.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "caption",
"comment": " Represents the title of a table.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "cite",
"comment": " Represents the title of a work.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "code",
"comment": " Represents computer code.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "col",
"comment": " Represents a column of a table.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "colgroup",
"comment": " Represents a set of one or more columns of a table.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "datalist",
"comment": " Represents a set of predefined options for other controls.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "dd",
"comment": " Represents the definition of the terms immediately listed before it.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "del",
"comment": " Defines a removal from the document.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "details",
"comment": " Represents a widget from which the user can obtain additional information\nor controls.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "dfn",
"comment": " Represents a term whose definition is contained in its nearest ancestor\ncontent.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "div",
"comment": " Represents a generic container with no special meaning.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "dl",
"comment": " Defines a definition list, that is, a list of terms and their associated\ndefinitions.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "dt",
"comment": " Represents a term defined by the next `dd`.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "em",
"comment": " Represents emphasized text, like a stress accent.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "embed",
"comment": " Represents a integration point for an external, often non-HTML,\napplication or interactive content.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "fieldset",
"comment": " Represents a set of controls.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "figcaption",
"comment": " Represents the legend of a figure.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "figure",
"comment": " Represents a figure illustrated as part of the document.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "footer",
"comment": " Defines the footer for a page or section. It often contains a copyright\nnotice, some links to legal information, or addresses to give feedback.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "form",
"comment": " Represents a form, consisting of controls, that can be submitted to a\nserver for processing.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "h1",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "h2",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "h3",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "h4",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "h5",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "h6",
"comment": " ",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "header",
"comment": " Defines the header of a page or section. It often contains a logo, the\ntitle of the web site, and a navigational table of content.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "hr",
"comment": " Represents a thematic break between paragraphs of a section or article or\nany longer content.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "i",
"comment": " Represents some text in an alternate voice or mood, or at least of\ndifferent quality, such as a taxonomic designation, a technical term, an\nidiomatic phrase, a thought, or a ship name.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "iframe",
"comment": " Embedded an HTML document.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "img",
"comment": " Represents an image.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "input",
"comment": " Represents a typed data field allowing the user to edit the data.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "ins",
"comment": " Defines an addition to the document.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "kbd",
"comment": " Represents user input, often from the keyboard, but not necessarily; it\nmay represent other input, like transcribed voice commands.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "keygen",
"comment": " Represents a key-pair generator control.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "label",
"comment": " Represents the caption of a form control.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "legend",
"comment": " Represents the caption for a `fieldset`.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "li",
"comment": " Defines a item of an enumeration list.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "main_",
"comment": " Defines the main or important content in the document. There is only one\n`main` element in the document.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "map",
"comment": " Transform the messages produced by some `Html`. In the following example,\nwe have `viewButton` that produces `()` messages, and we transform those values\ninto `Msg` values in `view`.\n\n type Msg\n = Left\n | Right\n\n view : model -> Html Msg\n view model =\n div []\n [ map (\\_ -> Left) (viewButton \"Left\")\n , map (\\_ -> Right) (viewButton \"Right\")\n ]\n\n viewButton : String -> Html ()\n viewButton name =\n button [ onClick () ] [ text name ]\n\nThis should not come in handy too often. Definitely read [this][reuse] before\ndeciding if this is what you want.\n\n[reuse]: https://guide.elm-lang.org/reuse/\n\n",
"type": "(a -> b) -> Html.String.Html a -> Html.String.Html b"
},
{
"name": "mark",
"comment": " Represents text highlighted for reference purposes, that is for its\nrelevance in another context.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "math",
"comment": " Defines a mathematical formula.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "menu",
"comment": " Represents a list of commands.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "menuitem",
"comment": " Represents a command that the user can invoke.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "meter",
"comment": " Represents a scalar measurement (or a fractional value), within a known\nrange.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "nav",
"comment": " Defines a section that contains only navigation links.\n",
"type": "List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "node",
"comment": " General way to create HTML nodes. It is used to define all of the helper\nfunctions in this library.\n\n div : List (Attribute msg) -> List (Html msg) -> Html msg\n div attributes children =\n node \"div\" attributes children\n\nYou can use this to create custom nodes if you need to create something that\nis not covered by the helper functions in this library.\n\n",
"type": "String -> List (Html.String.Attribute msg) -> List (Html.String.Html msg) -> Html.String.Html msg"
},
{
"name": "object",
"comment": " Represents an external resource, which is treated as an image, an HTML\nsub-document, or an external resource to be processed by a plug-in.\n",