VirtualDom
functions.VirtualDom
— it gives you more flexibility.VirtualDom
is intended for advanced use and customization, it's a
bare-bones package without helpers that would make it's functionality easier to
manipulate.VirtualDom
and put
them all in one package with semantically structured modules.VirtualDom
, without the need to import Html
or Svg
.Dom.Element.container
and Dom.Keyed.container
in the same module
without overthinking it.elm-package.json
file, there is no
compiler error, even if both packages are dependencies.Module | Types | Constructors | Modifiers | Rendering | Queries | |
---|---|---|---|---|---|---|
Dom | Node Property Element |
|||||
Dom.Program | Setup | setup | onLoad update updateWithCmds subscribe subscribeWithParams |
run runWithFlags customWithFlags |
||
Dom.Node | leaf textWrapper container |
|||||
Dom.Element | leaf textWrapper container wrapNodes |
setId withClasses addClass removeClass withAttributes addAttribute withText appendText prependText withChildren appendChild prependChild withChildNodes setNamespace |
toNode | hasChildren hasText hasClass |
||
Dom.Property | bool string int float |
|||||
Dom.Attribute | string int float namespaced |
|||||
Dom.Event | action capture submit custom customWithOptions |
|||||
Dom.Style | toProperty | |||||
Dom.Class | toProperty | |||||
Dom.Keyed | container node |
|||||
Dom.Lazy | container | toNode eval |
||||
Dom.Svg | leaf textWrapper container element wrapNodes |
|||||
Dom.Text | node |