howdy/ui/scroll_area

Scroll areas: a region that scrolls on its own, with thin scrollbars in the theme’s colours.

scroll_area.scroll_area("Release notes", [attribute.style("height", "12rem")], notes)

The region can be focused and scrolled with the keyboard, and is named for screen readers by label.

Values

pub fn area_class() -> css.Class
pub fn classes() -> List(css.Class)

Every class this module uses, for howdy/ui/export.

pub fn scroll_area(
  label: String,
  attributes: List(attribute.Attribute(msg)),
  children: List(element.Element(msg)),
) -> element.Element(msg)
✨ Search Document