Represents an operation that has a side effect on a Node.
Represents an operation that has a side effect on a Node.
For example: attrs.href := "http://example.com"
is a Modifier that sets an attribute to a specific value.
These are snabbdom's built-in modules that Snabbdom.scala supports.
These are snabbdom's built-in modules that Snabbdom.scala supports. You may choose to pass more modules to Snabbdom.init (see ModuleHooks), and you might want to subclass Node, NodeData and Builders if you do that. For an example of this approach, see my Laminar project.
Note that if you fail to include any of the following built-in modules in the init call, the types will NOT be adjusted to reflect their absence.
Use this simple package if you intend to use Snabbdom.scala directly, without extending com.raquo.snabbdom.nodes.Node and com.raquo.snabbdom.nodes.NodeData classes.