Slot

com.raquo.laminar.nodes.Slot
class Slot(val name: String)

A Slot represents a special child component of web components.

Many web components reserve a slot attribute for some of their children, with a particular meaning.

In order to have compile-time fixed slots for your elements, you can define a variable with their name, and it will allow you to attach child in a simple manner.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply[I <: Inserter](children: I & Hookable[I]*): Seq[I]

Concrete fields

val name: String