Package

com.raquo

snabbdom

Permalink

package snabbdom

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. snabbdom
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type EventCallback[TEvent <: Event] = Function1[TEvent, Unit]

    Permalink
  2. type GenericEventCallback = Function1[Event, Unit]

    Permalink
  3. trait Modifier[N <: Node[N, D], D <: NodeData[N, D]] extends domtypes.generic.Modifier[N]

    Permalink

    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.

  4. type MouseEventCallback = Function1[MouseEvent, Unit]

    Permalink
  5. trait NativeModule extends Object

    Permalink
    Annotations
    @RawJSType() @native()

Value Members

  1. object AttrsModule extends Object with NativeModule

    Permalink
    Annotations
    @JSImport( "snabbdom/modules/attributes.js" , JSImport.Default ) @native()
  2. object EventsModule extends Object with NativeModule

    Permalink
    Annotations
    @JSImport( ... , JSImport.Default ) @native()
  3. object PropsModule extends Object with NativeModule

    Permalink
    Annotations
    @JSImport( "snabbdom/modules/props.js" , JSImport.Default ) @native()
  4. object Snabbdom extends Object

    Permalink
    Annotations
    @native() @JSImport( "snabbdom" , JSImport.Namespace )
  5. object StyleModule extends Object with NativeModule

    Permalink
    Annotations
    @JSImport( "snabbdom/modules/style.js" , JSImport.Default ) @native()
  6. package builders

    Permalink
  7. def builtInModules[N <: Node[N, D], D <: NodeData[N, D]]: Array[|[NativeModule, ModuleHooks[N, D]]]

    Permalink

    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.

  8. package hooks

    Permalink
  9. package keys

    Permalink
  10. implicit def nodeToChildNode(vnode: VNode): ChildNode[VNode, VNodeData]

    Permalink
    Annotations
    @inline()
  11. package nodes

    Permalink
  12. implicit def optionToModifier[T](maybeModifier: Option[T])(implicit toModifier: (T) ⇒ Modifier[VNode, VNodeData]): Modifier[VNode, VNodeData]

    Permalink
    Annotations
    @inline()
  13. package setters

    Permalink
  14. package simple

    Permalink

    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.

  15. package syntax

    Permalink
  16. implicit def textToChildNode(text: String): ChildNode[VNode, VNodeData]

    Permalink
    Annotations
    @inline()
  17. implicit def toIterableNode(modifiers: Iterable[Modifier[VNode, VNodeData]]): IterableNode[VNode, VNodeData]

    Permalink
    Annotations
    @inline()
  18. package utils

    Permalink
  19. implicit val vnodeBuilders: VNodeBuilders

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped