Skip to main content

LiveSourceRow

Function LiveSourceRow 

Source
fn LiveSourceRow(props: LiveSourceRowProps) -> impl IntoView
Expand description

Live, click-wired equivalent of ui_storybook::components::recorder::CaptureSourceRow.

Uses the same CSS class names as the storybook component so it renders identically; the difference is that every interactive surface (chevron button, toggle button) is a real <button> with its own on:click handler. The previous transparent-overlay approach didn’t work because the overlays spanned the full row and the toggle’s stopPropagation didn’t beat sibling DOM order.

§Required Props

  • view: [Signal<CaptureSourceView>]
  • on_chevron_click: [Callback<()>]
  • on_toggle: [Callback<()>]