Skip to content

Layout

Aside

aside holds parts beside the rest that only the mouse uses, such as a summary beside a list. The keys pass over it, so the arrows keep moving through the list while the pointer can still hover and click what the aside shows.

Examples

A summary beside a list

stack row: true do
  list slots, bind_index: :slot, on_submit: -> { pick }
  aside do
    text slot_text, typo: :subtitle1
    button "Details", variant: :text, on_click: -> { self.details = true }
  end
end

A summary beside a list

Params, events and keys

Every part also takes the params every part takes.

Parts beside the rest that only the mouse uses, such as a summary beside a list; the keys never enter it.

Written aside ... with a do ... end block of markup.

Keys: none: the keys pass over it and what it holds

Mouse: as its parts

Something went wrong. Reload

Connection interrupted

The site keeps trying to reconnect.

Reconnecting…

Could not reconnect. Trying again in seconds.

Could not reconnect. Retry now or reload the page.

The page was paused.

Could not continue. Retry now or reload the page.