Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 6.29.0 found (15 same-name repos checked); no cached copy. Use another version.
Creates a segmented control that supports SPA navigation.
You should always use this instead of view when building a SPA
and the segmented control options correspond to routes in the SPA.
The first parameter is a function that takes a route and returns the URL of that route.
onClick: the message to produce when an option is selected (clicked) by the useroptions: the list of options availableselected: the value of the currently-selected optionwidth: how to size the segmented controlcontent: the panel content for the selected option