Div
API
counterweight.elements.Div
children
class-attribute
instance-attribute
children: Sequence[Component | AnyElement] = Field(
default=()
)
on_key
class-attribute
instance-attribute
on_key: Callable[[KeyPressed], AnyControl | None] | None = (
None
)
on_mouse
class-attribute
instance-attribute
on_mouse: (
Callable[[MouseEvent], AnyControl | None] | None
) = None