[{"data":1,"prerenderedAt":923},["ShallowReactive",2],{"docs:\u002Fcomponents\u002Fscroll-area":3,"docs-navigation:":383,"docs-locale-navigation":842,"i-tabler:chevron-down":918,"inrux-code-sfc:xml:\u003Cview>\n    \u003CColumn class=\"example\">\n        \u003CRow class=\"actions\">\n            \u003CButton text=\"Back to top\" @click={top} class=\"action\" \u002F>\n            \u003CButton text=\"Jump down\" @click={bottom} \u002F>\n        \u003C\u002FRow>\n        \u003CText text={format!(\"Vertical offset: {:.0}\", offset)} \u002F>\n        \u003CScrollArea height={Size::Px(240.0)} scroll_to={request} @scroll={observe_scroll} class=\"sample\">\n            \u003CInput model:value={draft} placeholder=\"A draft stays editable while scrolling\" \u002F>\n            \u003CFor each={&messages} item=\"message\" key={message.id}>\n                \u003CText text={message.text.clone()} class=\"message\" \u002F>\n            \u003C\u002FFor>\n        \u003C\u002FScrollArea>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\n\u002F\u002F\u002F Stable keys identify the repeated rows.\n#[derive(Clone)]\npub struct Message {\n    id: u32,\n    text: String,\n}\n\nlet draft: String = String::new();\nlet messages: Vec\u003CMessage> = (1..=30)\n    .map(|id| Message {\n        id,\n        text: format!(\"Message {id}\"),\n    })\n    .collect();\nlet request: ScrollRequest = ScrollRequest {\n    revision: 0,\n    offset: ScrollOffset::default(),\n};\nlet offset: f32 = 0.0;\n\n\u002F\u002F\u002F A new revision issues a command without controlling later wheel movement.\nfn top(state: &mut State, _: &Context\u003CState>) {\n    state.request.revision += 1;\n    state.request.offset = ScrollOffset::default();\n}\n\u002F\u002F\u002F The viewport clamps an oversized requested offset to its content bounds.\nfn bottom(state: &mut State, _: &Context\u003CState>) {\n    state.request.revision += 1;\n    state.request.offset = ScrollOffset {\n        x: 0.0,\n        y: 10_000.0,\n    };\n}\n\u002F\u002F\u002F Observe scrolling through the typed coordinator event path.\nfn observe_scroll(state: &mut State, metrics: ScrollMetrics, _: &Context\u003CState>) {\n    state.offset = metrics.offset.y;\n}\n\u003C\u002Frust>\n\u003Cstyle scoped>\n.example {\n    padding: 24px;\n    gap: 16px;\n}\n.actions {\n    gap: 8px;\n}\n.action {\n    background: #b84200;\n    color: white;\n    padding: 12px;\n    border-radius: 6px;\n}\n.action:hover {\n    background: #913400;\n}\n.action:focus-visible {\n    border-width: 2px;\n    border-color: #262626;\n}\n.sample {\n    padding: 12px;\n    gap: 8px;\n    background: #f5f5f5;\n}\n.message {\n    padding: 8px;\n}\n\u003C\u002Fstyle>\n":922},{"id":4,"title":5,"body":6,"description":372,"docs":373,"extension":374,"icon":373,"meta":375,"navigation":376,"path":378,"redirect":373,"seo":379,"space":380,"stem":381,"__hash__":382},"docs\u002F5.components\u002Fscroll-area.md","ScrollArea",{"type":7,"value":8,"toc":360},"minimark",[9,24,29,54,64,68,73,117,121,270,273,277,308,333,337,340,344,347],[10,11,12,13,17,18,23],"p",{},"Available with ",[14,15,16],"strong",{},"egui, Masonry and GPUI"," through the same public component API. Platform input and accessibility coverage still have ",[19,20,22],"a",{"href":21},"\u002Fgetting-started\u002Fstatus","alpha limits",".",[25,26,28],"h2",{"id":27},"usage","Usage",[10,30,31,32,36,37,41,42,45,46,49,50,53],{},"Replace ",[33,34,35],"code",{},"src\u002FApp.iru"," in a ",[19,38,40],{"href":39},"\u002Fgetting-started\u002Ffirst-app","scaffolded project"," with this complete file, then run ",[33,43,44],{},"cargo run",". Keep the scaffold's ",[33,47,48],{},"main.rs"," and ",[33,51,52],{},"build.rs","; this file includes its state, handlers and scoped styles.",[55,56,62],"pre",{"className":57,"code":59,"filename":35,"language":60,"meta":61},[58],"language-xml","\u003Cview>\n    \u003CColumn class=\"example\">\n        \u003CRow class=\"actions\">\n            \u003CButton text=\"Back to top\" @click={top} class=\"action\" \u002F>\n            \u003CButton text=\"Jump down\" @click={bottom} \u002F>\n        \u003C\u002FRow>\n        \u003CText text={format!(\"Vertical offset: {:.0}\", offset)} \u002F>\n        \u003CScrollArea height={Size::Px(240.0)} scroll_to={request} @scroll={observe_scroll} class=\"sample\">\n            \u003CInput model:value={draft} placeholder=\"A draft stays editable while scrolling\" \u002F>\n            \u003CFor each={&messages} item=\"message\" key={message.id}>\n                \u003CText text={message.text.clone()} class=\"message\" \u002F>\n            \u003C\u002FFor>\n        \u003C\u002FScrollArea>\n    \u003C\u002FColumn>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\n\n\u002F\u002F\u002F Stable keys identify the repeated rows.\n#[derive(Clone)]\npub struct Message {\n    id: u32,\n    text: String,\n}\n\nlet draft: String = String::new();\nlet messages: Vec\u003CMessage> = (1..=30)\n    .map(|id| Message {\n        id,\n        text: format!(\"Message {id}\"),\n    })\n    .collect();\nlet request: ScrollRequest = ScrollRequest {\n    revision: 0,\n    offset: ScrollOffset::default(),\n};\nlet offset: f32 = 0.0;\n\n\u002F\u002F\u002F A new revision issues a command without controlling later wheel movement.\nfn top(state: &mut State, _: &Context\u003CState>) {\n    state.request.revision += 1;\n    state.request.offset = ScrollOffset::default();\n}\n\u002F\u002F\u002F The viewport clamps an oversized requested offset to its content bounds.\nfn bottom(state: &mut State, _: &Context\u003CState>) {\n    state.request.revision += 1;\n    state.request.offset = ScrollOffset {\n        x: 0.0,\n        y: 10_000.0,\n    };\n}\n\u002F\u002F\u002F Observe scrolling through the typed coordinator event path.\nfn observe_scroll(state: &mut State, metrics: ScrollMetrics, _: &Context\u003CState>) {\n    state.offset = metrics.offset.y;\n}\n\u003C\u002Frust>\n\u003Cstyle scoped>\n.example {\n    padding: 24px;\n    gap: 16px;\n}\n.actions {\n    gap: 8px;\n}\n.action {\n    background: #b84200;\n    color: white;\n    padding: 12px;\n    border-radius: 6px;\n}\n.action:hover {\n    background: #913400;\n}\n.action:focus-visible {\n    border-width: 2px;\n    border-color: #262626;\n}\n.sample {\n    padding: 12px;\n    gap: 8px;\n    background: #f5f5f5;\n}\n.message {\n    padding: 8px;\n}\n\u003C\u002Fstyle>\n","xml","",[33,63,59],{"__ignoreMap":61},[25,65,67],{"id":66},"api-reference","API Reference",[69,70,72],"h3",{"id":71},"props","Props",[74,75,76,95],"table",{},[77,78,79],"thead",{},[80,81,82,86,89,92],"tr",{},[83,84,85],"th",{},"Prop",[83,87,88],{},"Type",[83,90,91],{},"Default",[83,93,94],{},"Description",[96,97,98],"tbody",{},[80,99,100,106,111,114],{},[101,102,103],"td",{},[33,104,105],{},"scroll_to",[101,107,108],{},[33,109,110],{},"ScrollRequest",[101,112,113],{},"Not set",[101,115,116],{},"Programmatic offset request; increment its revision for each new command.",[69,118,120],{"id":119},"common-props","Common props",[74,122,123,135],{},[77,124,125],{},[80,126,127,129,131,133],{},[83,128,85],{},[83,130,88],{},[83,132,91],{},[83,134,94],{},[96,136,137,154,170,187,203,221,237,254],{},[80,138,139,144,149,151],{},[101,140,141],{},[33,142,143],{},"id",[101,145,146],{},[33,147,148],{},"String-like expression",[101,150,113],{},[101,152,153],{},"Style-selector identity; independent of retained mount identity.",[80,155,156,161,165,167],{},[101,157,158],{},[33,159,160],{},"class",[101,162,163],{},[33,164,148],{},[101,166,113],{},[101,168,169],{},"Whitespace-separated stylesheet classes.",[80,171,172,177,182,184],{},[101,173,174],{},[33,175,176],{},"style",[101,178,179],{},[33,180,181],{},"Style",[101,183,113],{},[101,185,186],{},"Explicit Rust style overrides for this node.",[80,188,189,194,198,200],{},[101,190,191],{},[33,192,193],{},"key",[101,195,196],{},[33,197,148],{},[101,199,113],{},[101,201,202],{},"Retained sibling identity; preserve it while reordering children.",[80,204,205,210,215,218],{},[101,206,207],{},[33,208,209],{},"width",[101,211,212],{},[33,213,214],{},"Size",[101,216,217],{},"Component style",[101,219,220],{},"Explicit width constraint; otherwise use the resolved style.",[80,222,223,228,232,234],{},[101,224,225],{},[33,226,227],{},"height",[101,229,230],{},[33,231,214],{},[101,233,217],{},[101,235,236],{},"Explicit height constraint; otherwise use the resolved style.",[80,238,239,244,249,251],{},[101,240,241],{},[33,242,243],{},"padding",[101,245,246],{},[33,247,248],{},"f32",[101,250,217],{},[101,252,253],{},"Uniform padding in logical pixels; otherwise use the resolved style.",[80,255,256,261,265,267],{},[101,257,258],{},[33,259,260],{},"gap",[101,262,263],{},[33,264,248],{},[101,266,217],{},[101,268,269],{},"Child spacing in logical pixels; otherwise use the resolved style.",[10,271,272],{},"“Component style” means the attribute is omitted and the normal style cascade supplies the value. Application styles can override framework defaults.",[69,274,276],{"id":275},"emits","Emits",[74,278,279,291],{},[77,280,281],{},[80,282,283,286,289],{},[83,284,285],{},"Event",[83,287,288],{},"Payload",[83,290,94],{},[96,292,293],{},[80,294,295,300,305],{},[101,296,297],{},[33,298,299],{},"@scroll",[101,301,302],{},[33,303,304],{},"ScrollMetrics",[101,306,307],{},"Viewport size, content size and current offset; optional typed listener.",[10,309,310,311,314,315,49,318,321,322,325,326,329,330,23],{},"Bind events with ",[33,312,313],{},"@event={handler}",". Ordinary handlers receive ",[33,316,317],{},"&mut State",[33,319,320],{},"&Context\u003CState>","; controlled value handlers can also receive the listed payload. With ",[33,323,324],{},"model:value"," or ",[33,327,328],{},"model:checked",", the setter runs before the optional model listener, which reads the updated state. Stateless children forward a typed ",[33,331,332],{},"Emit\u003CT>",[25,334,336],{"id":335},"behavior","Behavior",[10,338,339],{},"ScrollArea defaults to full width, 240 logical pixels high, vertical auto and horizontal hidden. UI-owned offsets preserve native wheel responsiveness and system-adjusted direction. Nested routing, bounds and scrollbar geometry share policy across engines.",[25,341,343],{"id":342},"styling-and-limits","Styling and limits",[10,345,346],{},"Auto indicators hide after idle and reveal on edge interaction. overflow:scroll keeps them visible. Application padding belongs inside the viewport when the track should stay at the outer boundary. Input\u002FTextArea manage their own editing viewports.",[10,348,349,350,354,355,359],{},"Read the ",[19,351,353],{"href":352},"\u002Fcomponents\u002Fscrolling-reference","detailed reference"," for validation and native integration details. The ",[19,356,358],{"href":357},"\u002Fgetting-started\u002Fplaygrounds","playgrounds"," include a working ScrollArea specimen with its surrounding state and reset controls.",{"title":61,"searchDepth":361,"depth":361,"links":362},2,[363,364,370,371],{"id":27,"depth":361,"text":28},{"id":66,"depth":361,"text":67,"children":365},[366,368,369],{"id":71,"depth":367,"text":72},3,{"id":119,"depth":367,"text":120},{"id":275,"depth":367,"text":276},{"id":335,"depth":361,"text":336},{"id":342,"depth":361,"text":343},"Clip and scroll bounded child content.",null,"md",{},{"icon":377},"tabler:arrows-vertical","\u002Fcomponents\u002Fscroll-area",{"title":5,"description":372},false,"5.components\u002Fscroll-area","G3GxOOdBnjS2Bx0YlxKwp9aP39fEdFnP0nPg0ebiCNc",[384,436,468,542,582,795],{"title":385,"navigation":386,"description":373,"space":380,"icon":373,"docs":373,"redirect":373,"path":387,"stem":388,"children":389,"page":380},"Getting started",true,"\u002Fgetting-started","1.getting-started",[390,397,404,410,417,423,430],{"title":391,"path":392,"stem":393,"navigation":394,"description":396,"space":380,"icon":395,"docs":373,"redirect":373},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F01.introduction",{"icon":395},"tabler:book-2","Build native Rust interfaces with reusable .iru components.",{"title":398,"path":399,"stem":400,"navigation":401,"description":403,"space":380,"icon":402,"docs":373,"redirect":373},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F02.installation",{"icon":402},"tabler:download","Install the native build tools, clone Inrux and run your first application.",{"title":405,"path":39,"stem":406,"navigation":407,"description":409,"space":380,"icon":408,"docs":373,"redirect":373},"Your first application","1.getting-started\u002F03.first-app",{"icon":408},"tabler:rocket","Create a project, mount App.iru and connect a button to local state.",{"title":411,"path":412,"stem":413,"navigation":414,"description":416,"space":380,"icon":415,"docs":373,"redirect":373},"Project structure","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F04.project-structure",{"icon":415},"tabler:folders","Find the framework crates, native examples, editor tools and application folders.",{"title":418,"path":357,"stem":419,"navigation":420,"description":422,"space":380,"icon":421,"docs":373,"redirect":373},"Playgrounds","1.getting-started\u002F05.playgrounds",{"icon":421},"tabler:device-desktop","Run the same component catalogue with egui, Masonry or GPUI.",{"title":424,"path":425,"stem":426,"navigation":427,"description":429,"space":380,"icon":428,"docs":373,"redirect":373},"VS Code","\u002Fgetting-started\u002Fvscode","1.getting-started\u002F06.vscode",{"icon":428},"tabler:code","Set up .iru icons, completion, formatting, navigation and Rust support.",{"title":431,"path":21,"stem":432,"navigation":433,"description":435,"space":380,"icon":434,"docs":373,"redirect":373},"Alpha status","1.getting-started\u002F07.status",{"icon":434},"tabler:flask","Check what works today and which features still need implementation or platform testing.",{"title":437,"navigation":386,"description":373,"space":380,"icon":373,"docs":373,"redirect":373,"path":438,"stem":439,"children":440,"page":380},"Architecture","\u002Finternals","2.internals",[441,447,454,461],{"title":437,"path":442,"stem":443,"navigation":444,"description":446,"space":380,"icon":445,"docs":373,"redirect":373},"\u002Finternals\u002Farchitecture","2.internals\u002F01.architecture",{"icon":445},"tabler:sitemap","Follow compilation, state ownership, threads and the native adapter boundary.",{"title":448,"path":449,"stem":450,"navigation":451,"description":453,"space":380,"icon":452,"docs":373,"redirect":373},"Adapter services","\u002Finternals\u002Fadapter-services","2.internals\u002F02.adapter-services",{"icon":452},"tabler:plug","Understand provider contracts, capabilities, fallback selection and component prerequisites.",{"title":455,"path":456,"stem":457,"navigation":458,"description":460,"space":380,"icon":459,"docs":373,"redirect":373},"Text rendering","\u002Finternals\u002Ftext-rendering","2.internals\u002F03.text-rendering",{"icon":459},"tabler:typography","Learn how shared shaping and glyph rasterization reduce differences between engines.",{"title":462,"path":463,"stem":464,"navigation":465,"description":467,"space":380,"icon":466,"docs":373,"redirect":373},"Headless components","\u002Finternals\u002Fheadless-components","2.internals\u002F04.headless-components",{"icon":466},"tabler:components","Separate interaction behavior from application appearance and themes.",{"title":469,"navigation":386,"description":373,"space":380,"icon":373,"docs":373,"redirect":373,"path":470,"stem":471,"children":472,"page":380},"Writing components","\u002Fauthoring","3.authoring",[473,480,486,493,500,507,514,521,528,535],{"title":474,"path":475,"stem":476,"navigation":477,"description":479,"space":380,"icon":478,"docs":373,"redirect":373},"The .iru format","\u002Fauthoring\u002Firu-format","3.authoring\u002F01.iru-format",{"icon":478},"tabler:file-code","Learn what goes in a component file, why Inrux uses SFCs and when to move code out.",{"title":481,"path":482,"stem":483,"navigation":484,"description":485,"space":380,"icon":466,"docs":373,"redirect":373},"Component contract","\u002Fauthoring\u002Fcomponent-contract","3.authoring\u002F02.component-contract",{"icon":466},"Write imports, props, events, models, keyed children and component state.",{"title":487,"path":488,"stem":489,"navigation":490,"description":492,"space":380,"icon":491,"docs":373,"redirect":373},"Props, events and models","\u002Fauthoring\u002Fprops-events-models","3.authoring\u002F03.props-events-models",{"icon":491},"tabler:arrows-exchange","Pass values down, send typed events up and bind controlled values.",{"title":494,"path":495,"stem":496,"navigation":497,"description":499,"space":380,"icon":498,"docs":373,"redirect":373},"State and computed values","\u002Fauthoring\u002Fstate-and-computed","3.authoring\u002F04.state-and-computed",{"icon":498},"tabler:bolt","Update local fields, share reactive handles and derive cached values.",{"title":501,"path":502,"stem":503,"navigation":504,"description":506,"space":380,"icon":505,"docs":373,"redirect":373},"Conditions, lists and dynamic components","\u002Fauthoring\u002Fcontrol-flow","3.authoring\u002F05.control-flow",{"icon":505},"tabler:git-branch","Render branches, preserve list identity and select imported components.",{"title":508,"path":509,"stem":510,"navigation":511,"description":513,"space":380,"icon":512,"docs":373,"redirect":373},"Children and layouts","\u002Fauthoring\u002Fchildren-and-layouts","3.authoring\u002F06.children-and-layouts",{"icon":512},"tabler:layout","Pass default child content through reusable application shells.",{"title":515,"path":516,"stem":517,"navigation":518,"description":520,"space":380,"icon":519,"docs":373,"redirect":373},"Separating business logic","\u002Fauthoring\u002Fbusiness-logic","3.authoring\u002F07.business-logic",{"icon":519},"tabler:briefcase","Keep component interactions nearby and domain behavior reusable in Rust modules.",{"title":522,"path":523,"stem":524,"navigation":525,"description":527,"space":380,"icon":526,"docs":373,"redirect":373},"Lifecycle and refs","\u002Fauthoring\u002Flifecycle-and-refs","3.authoring\u002F08.lifecycle-and-refs",{"icon":526},"tabler:refresh","Understand setup, mount identity, cleanup and the limits of native refs.",{"title":529,"path":530,"stem":531,"navigation":532,"description":534,"space":380,"icon":533,"docs":373,"redirect":373},"Background tasks","\u002Fauthoring\u002Fbackground-tasks","3.authoring\u002F09.background-tasks",{"icon":533},"tabler:cpu","Run slow work outside the coordinator and return typed results to component state.",{"title":536,"path":537,"stem":538,"navigation":539,"description":541,"space":380,"icon":540,"docs":373,"redirect":373},"Provide and inject","\u002Fauthoring\u002Fdependency-injection","3.authoring\u002F10.dependency-injection",{"icon":540},"tabler:plug-connected","Share typed services through a component subtree without prop drilling.",{"title":543,"navigation":386,"description":373,"space":380,"icon":373,"docs":373,"redirect":373,"path":544,"stem":545,"children":546,"page":380},"Styling","\u002Fstyling","4.styling",[547,554,561,568,575],{"title":548,"path":549,"stem":550,"navigation":551,"description":553,"space":380,"icon":552,"docs":373,"redirect":373},"Styling basics","\u002Fstyling\u002Foverview","4.styling\u002F01.overview",{"icon":552},"tabler:palette","Style headless components with CSS-like rules or Rust values.",{"title":555,"path":556,"stem":557,"navigation":558,"description":560,"space":380,"icon":559,"docs":373,"redirect":373},"CSS reference","\u002Fstyling\u002Fcss-reference","4.styling\u002F02.css-reference",{"icon":559},"tabler:file-type-css","Use the supported selectors, properties, cascade and compiled style rules.",{"title":562,"path":563,"stem":564,"navigation":565,"description":567,"space":380,"icon":566,"docs":373,"redirect":373},"Parts and states","\u002Fstyling\u002Fparts-and-states","4.styling\u002F03.parts-and-states",{"icon":566},"tabler:puzzle","Style exposed control parts and interaction states without native widget handles.",{"title":569,"path":570,"stem":571,"navigation":572,"description":574,"space":380,"icon":573,"docs":373,"redirect":373},"Color values","\u002Fstyling\u002Fcolors","4.styling\u002F04.colors",{"icon":573},"tabler:color-swatch","Write literal CSS colors and understand alpha and color-space limits.",{"title":576,"path":577,"stem":578,"navigation":579,"description":581,"space":380,"icon":580,"docs":373,"redirect":373},"Themes and responsiveness","\u002Fstyling\u002Fthemes-and-responsiveness","4.styling\u002F05.themes-and-responsiveness",{"icon":580},"tabler:sun-moon","Compile complete theme sheets and respond to logical viewport dimensions.",{"title":583,"navigation":386,"description":373,"space":380,"icon":373,"docs":373,"redirect":373,"path":584,"stem":585,"children":586,"page":380},"Components","\u002Fcomponents","5.components",[587,594,601,608,615,622,629,636,643,650,657,664,671,678,685,692,699,706,713,719,726,733,740,742,747,754,761,768,775,781,788],{"title":588,"path":589,"stem":590,"navigation":591,"description":593,"space":380,"icon":592,"docs":373,"redirect":373},"AspectRatio","\u002Fcomponents\u002Faspect-ratio","5.components\u002Faspect-ratio",{"icon":592},"tabler:aspect-ratio","Size a container around a positive width-to-height ratio.",{"title":595,"path":596,"stem":597,"navigation":598,"description":600,"space":380,"icon":599,"docs":373,"redirect":373},"Badge","\u002Fcomponents\u002Fbadge","5.components\u002Fbadge",{"icon":599},"tabler:badge","Display a short status label.",{"title":602,"path":603,"stem":604,"navigation":605,"description":607,"space":380,"icon":606,"docs":373,"redirect":373},"Box","\u002Fcomponents\u002Fbox","5.components\u002Fbox",{"icon":606},"tabler:box","Create a physical vertical container.",{"title":609,"path":610,"stem":611,"navigation":612,"description":614,"space":380,"icon":613,"docs":373,"redirect":373},"Button","\u002Fcomponents\u002Fbutton","5.components\u002Fbutton",{"icon":613},"tabler:hand-click","Trigger an action from a labeled control.",{"title":616,"path":617,"stem":618,"navigation":619,"description":621,"space":380,"icon":620,"docs":373,"redirect":373},"Card","\u002Fcomponents\u002Fcard","5.components\u002Fcard",{"icon":620},"tabler:id","Group related child content in a surface.",{"title":623,"path":624,"stem":625,"navigation":626,"description":628,"space":380,"icon":627,"docs":373,"redirect":373},"Center","\u002Fcomponents\u002Fcenter","5.components\u002Fcenter",{"icon":627},"tabler:align-box-center-middle","Center a group within available free space.",{"title":630,"path":631,"stem":632,"navigation":633,"description":635,"space":380,"icon":634,"docs":373,"redirect":373},"Checkbox","\u002Fcomponents\u002Fcheckbox","5.components\u002Fcheckbox",{"icon":634},"tabler:checkbox","Control a labeled boolean choice.",{"title":637,"path":638,"stem":639,"navigation":640,"description":642,"space":380,"icon":641,"docs":373,"redirect":373},"Column","\u002Fcomponents\u002Fcolumn","5.components\u002Fcolumn",{"icon":641},"tabler:layout-list","Arrange child nodes vertically.",{"title":644,"path":645,"stem":646,"navigation":647,"description":649,"space":380,"icon":648,"docs":373,"redirect":373},"Container","\u002Fcomponents\u002Fcontainer","5.components\u002Fcontainer",{"icon":648},"tabler:container","Constrain and center a reading or application column.",{"title":651,"path":652,"stem":653,"navigation":654,"description":656,"space":380,"icon":655,"docs":373,"redirect":373},"Content reference","\u002Fcomponents\u002Fcontent-reference","5.components\u002Fcontent-reference",{"icon":655},"tabler:file-description","Compose cards, badges and separators with shared component descriptions.",{"title":658,"path":659,"stem":660,"navigation":661,"description":663,"space":380,"icon":662,"docs":373,"redirect":373},"Dialog","\u002Fcomponents\u002Fdialog","5.components\u002Fdialog",{"icon":662},"tabler:message","Show an egui-only modal prototype.",{"title":665,"path":666,"stem":667,"navigation":668,"description":670,"space":380,"icon":669,"docs":373,"redirect":373},"Flex","\u002Fcomponents\u002Fflex","5.components\u002Fflex",{"icon":669},"tabler:layout-distribute-horizontal","Choose a flexible layout direction and wrapping policy.",{"title":672,"path":673,"stem":674,"navigation":675,"description":677,"space":380,"icon":676,"docs":373,"redirect":373},"Grid","\u002Fcomponents\u002Fgrid","5.components\u002Fgrid",{"icon":676},"tabler:layout-grid","Arrange direct children in equal-width columns.",{"title":679,"path":680,"stem":681,"navigation":682,"description":684,"space":380,"icon":683,"docs":373,"redirect":373},"Heartbeat","\u002Fcomponents\u002Fheartbeat","5.components\u002Fheartbeat",{"icon":683},"tabler:heartbeat","Inspect an egui-only UI-thread animation diagnostic.",{"title":686,"path":687,"stem":688,"navigation":689,"description":691,"space":380,"icon":690,"docs":373,"redirect":373},"Input","\u002Fcomponents\u002Finput","5.components\u002Finput",{"icon":690},"tabler:forms","Edit a controlled single-line string.",{"title":693,"path":694,"stem":695,"navigation":696,"description":698,"space":380,"icon":697,"docs":373,"redirect":373},"Layout reference","\u002Fcomponents\u002Flayout-reference","5.components\u002Flayout-reference",{"icon":697},"tabler:layout-dashboard","Understand sizing, centering, spacing, flex, grid and aspect-ratio behavior.",{"title":700,"path":701,"stem":702,"navigation":703,"description":705,"space":380,"icon":704,"docs":373,"redirect":373},"Markdown","\u002Fcomponents\u002Fmarkdown","5.components\u002Fmarkdown",{"icon":704},"tabler:markdown","Render a subset of CommonMark through existing native components.",{"title":707,"path":708,"stem":709,"navigation":710,"description":712,"space":380,"icon":711,"docs":373,"redirect":373},"Meter","\u002Fcomponents\u002Fmeter","5.components\u002Fmeter",{"icon":711},"tabler:gauge","Show a finite measurement within explicit bounds.",{"title":714,"path":715,"stem":716,"navigation":717,"description":718,"space":380,"icon":466,"docs":373,"redirect":373},"Component catalogue","\u002Fcomponents\u002Foverview","5.components\u002Foverview",{"icon":466},"Choose a portable control or layout primitive and check its current API.",{"title":720,"path":721,"stem":722,"navigation":723,"description":725,"space":380,"icon":724,"docs":373,"redirect":373},"Progress","\u002Fcomponents\u002Fprogress","5.components\u002Fprogress",{"icon":724},"tabler:progress","Show a finite amount of completed work.",{"title":727,"path":728,"stem":729,"navigation":730,"description":732,"space":380,"icon":731,"docs":373,"redirect":373},"Boolean and range reference","\u002Fcomponents\u002Frange-reference","5.components\u002Frange-reference",{"icon":731},"tabler:adjustments-horizontal","Use controlled switches and validated progress and measurement ranges.",{"title":734,"path":735,"stem":736,"navigation":737,"description":739,"space":380,"icon":738,"docs":373,"redirect":373},"Row","\u002Fcomponents\u002Frow","5.components\u002Frow",{"icon":738},"tabler:columns","Arrange child nodes horizontally.",{"title":5,"path":378,"stem":381,"navigation":741,"description":372,"space":380,"icon":377,"docs":373,"redirect":373},{"icon":377},{"title":743,"path":352,"stem":744,"navigation":745,"description":746,"space":380,"icon":377,"docs":373,"redirect":373},"Scrolling reference","5.components\u002Fscrolling-reference",{"icon":377},"Use viewport commands, observations, clipping and native input direction.",{"title":748,"path":749,"stem":750,"navigation":751,"description":753,"space":380,"icon":752,"docs":373,"redirect":373},"Select","\u002Fcomponents\u002Fselect","5.components\u002Fselect",{"icon":752},"tabler:selector","Choose a controlled string value from options.",{"title":755,"path":756,"stem":757,"navigation":758,"description":760,"space":380,"icon":759,"docs":373,"redirect":373},"Separator","\u002Fcomponents\u002Fseparator","5.components\u002Fseparator",{"icon":759},"tabler:separator","Draw a decorative divider.",{"title":762,"path":763,"stem":764,"navigation":765,"description":767,"space":380,"icon":766,"docs":373,"redirect":373},"Spacer","\u002Fcomponents\u002Fspacer","5.components\u002Fspacer",{"icon":766},"tabler:space","Consume free main-axis space in a Row or Column.",{"title":769,"path":770,"stem":771,"navigation":772,"description":774,"space":380,"icon":773,"docs":373,"redirect":373},"Switch","\u002Fcomponents\u002Fswitch","5.components\u002Fswitch",{"icon":773},"tabler:toggle-left","Turn a labeled setting on or off.",{"title":776,"path":777,"stem":778,"navigation":779,"description":780,"space":380,"icon":459,"docs":373,"redirect":373},"Text","\u002Fcomponents\u002Ftext","5.components\u002Ftext",{"icon":459},"Display text with shared shaping and glyph pixels.",{"title":782,"path":783,"stem":784,"navigation":785,"description":787,"space":380,"icon":786,"docs":373,"redirect":373},"TextArea","\u002Fcomponents\u002Ftext-area","5.components\u002Ftext-area",{"icon":786},"tabler:align-left","Edit multiline text with wrapping and caret scrolling.",{"title":789,"path":790,"stem":791,"navigation":792,"description":794,"space":380,"icon":793,"docs":373,"redirect":373},"Text editing reference","\u002Fcomponents\u002Ftext-editing-reference","5.components\u002Ftext-editing-reference",{"icon":793},"tabler:text-wrap","Choose single-line Input or multiline TextArea and bind controlled text.",{"title":796,"navigation":386,"description":373,"space":380,"icon":373,"docs":373,"redirect":373,"path":797,"stem":798,"children":799,"page":380},"Tooling and contribution","\u002Ftooling","6.tooling",[800,807,814,821,828,835],{"title":801,"path":802,"stem":803,"navigation":804,"description":806,"space":380,"icon":805,"docs":373,"redirect":373},"CLI","\u002Ftooling\u002Fcli","6.tooling\u002F01.cli",{"icon":805},"tabler:terminal-2","Scaffold, validate and run applications through Cargo.",{"title":808,"path":809,"stem":810,"navigation":811,"description":813,"space":380,"icon":812,"docs":373,"redirect":373},"Contributing","\u002Ftooling\u002Fcontributing","6.tooling\u002F02.contributing",{"icon":812},"tabler:git-pull-request","Keep modules focused, preserve backend boundaries and run the relevant checks.",{"title":815,"path":816,"stem":817,"navigation":818,"description":820,"space":380,"icon":819,"docs":373,"redirect":373},"Working on this website","\u002Ftooling\u002Fdocumentation","6.tooling\u002F03.documentation",{"icon":819},"tabler:notebook","Run, edit, validate and export the Nuxt documentation site.",{"title":822,"path":823,"stem":824,"navigation":825,"description":827,"space":380,"icon":826,"docs":373,"redirect":373},"Troubleshooting","\u002Ftooling\u002Ftroubleshooting","6.tooling\u002F04.troubleshooting",{"icon":826},"tabler:bug","Resolve common compiler, native build and editor setup problems.",{"title":829,"path":830,"stem":831,"navigation":832,"description":834,"space":380,"icon":833,"docs":373,"redirect":373},"Rust API reference","\u002Ftooling\u002Frust-api","6.tooling\u002F05.rust-api",{"icon":833},"tabler:api","Find the public Rust types, build local rustdoc and inspect individual package APIs.",{"title":836,"path":837,"stem":838,"navigation":839,"description":841,"space":380,"icon":840,"docs":373,"redirect":373},"License and notices","\u002Ftooling\u002Flicense","6.tooling\u002F06.license",{"icon":840},"tabler:scale","Understand the license for Inrux code and the notices retained for dependencies and fonts.",[843,852,858,870,877,910],{"title":385,"space":380,"redirect":373,"path":387,"stem":388,"children":844,"page":380},[845,846,847,848,849,850,851],{"title":391,"path":392,"stem":393,"space":380,"redirect":373,"icon":395},{"title":398,"path":399,"stem":400,"space":380,"redirect":373,"icon":402},{"title":405,"path":39,"stem":406,"space":380,"redirect":373,"icon":408},{"title":411,"path":412,"stem":413,"space":380,"redirect":373,"icon":415},{"title":418,"path":357,"stem":419,"space":380,"redirect":373,"icon":421},{"title":424,"path":425,"stem":426,"space":380,"redirect":373,"icon":428},{"title":431,"path":21,"stem":432,"space":380,"redirect":373,"icon":434},{"title":437,"space":380,"redirect":373,"path":438,"stem":439,"children":853,"page":380},[854,855,856,857],{"title":437,"path":442,"stem":443,"space":380,"redirect":373,"icon":445},{"title":448,"path":449,"stem":450,"space":380,"redirect":373,"icon":452},{"title":455,"path":456,"stem":457,"space":380,"redirect":373,"icon":459},{"title":462,"path":463,"stem":464,"space":380,"redirect":373,"icon":466},{"title":469,"space":380,"redirect":373,"path":470,"stem":471,"children":859,"page":380},[860,861,862,863,864,865,866,867,868,869],{"title":474,"path":475,"stem":476,"space":380,"redirect":373,"icon":478},{"title":481,"path":482,"stem":483,"space":380,"redirect":373,"icon":466},{"title":487,"path":488,"stem":489,"space":380,"redirect":373,"icon":491},{"title":494,"path":495,"stem":496,"space":380,"redirect":373,"icon":498},{"title":501,"path":502,"stem":503,"space":380,"redirect":373,"icon":505},{"title":508,"path":509,"stem":510,"space":380,"redirect":373,"icon":512},{"title":515,"path":516,"stem":517,"space":380,"redirect":373,"icon":519},{"title":522,"path":523,"stem":524,"space":380,"redirect":373,"icon":526},{"title":529,"path":530,"stem":531,"space":380,"redirect":373,"icon":533},{"title":536,"path":537,"stem":538,"space":380,"redirect":373,"icon":540},{"title":543,"space":380,"redirect":373,"path":544,"stem":545,"children":871,"page":380},[872,873,874,875,876],{"title":548,"path":549,"stem":550,"space":380,"redirect":373,"icon":552},{"title":555,"path":556,"stem":557,"space":380,"redirect":373,"icon":559},{"title":562,"path":563,"stem":564,"space":380,"redirect":373,"icon":566},{"title":569,"path":570,"stem":571,"space":380,"redirect":373,"icon":573},{"title":576,"path":577,"stem":578,"space":380,"redirect":373,"icon":580},{"title":583,"space":380,"redirect":373,"path":584,"stem":585,"children":878,"page":380},[879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,894,895,896,897,898,899,900,901,902,903,904,905,906,907,908,909],{"title":588,"path":589,"stem":590,"space":380,"redirect":373,"icon":592},{"title":595,"path":596,"stem":597,"space":380,"redirect":373,"icon":599},{"title":602,"path":603,"stem":604,"space":380,"redirect":373,"icon":606},{"title":609,"path":610,"stem":611,"space":380,"redirect":373,"icon":613},{"title":616,"path":617,"stem":618,"space":380,"redirect":373,"icon":620},{"title":623,"path":624,"stem":625,"space":380,"redirect":373,"icon":627},{"title":630,"path":631,"stem":632,"space":380,"redirect":373,"icon":634},{"title":637,"path":638,"stem":639,"space":380,"redirect":373,"icon":641},{"title":644,"path":645,"stem":646,"space":380,"redirect":373,"icon":648},{"title":651,"path":652,"stem":653,"space":380,"redirect":373,"icon":655},{"title":658,"path":659,"stem":660,"space":380,"redirect":373,"icon":662},{"title":665,"path":666,"stem":667,"space":380,"redirect":373,"icon":669},{"title":672,"path":673,"stem":674,"space":380,"redirect":373,"icon":676},{"title":679,"path":680,"stem":681,"space":380,"redirect":373,"icon":683},{"title":686,"path":687,"stem":688,"space":380,"redirect":373,"icon":690},{"title":693,"path":694,"stem":695,"space":380,"redirect":373,"icon":697},{"title":700,"path":701,"stem":702,"space":380,"redirect":373,"icon":704},{"title":707,"path":708,"stem":709,"space":380,"redirect":373,"icon":711},{"title":714,"path":715,"stem":716,"space":380,"redirect":373,"icon":466},{"title":720,"path":721,"stem":722,"space":380,"redirect":373,"icon":724},{"title":727,"path":728,"stem":729,"space":380,"redirect":373,"icon":731},{"title":734,"path":735,"stem":736,"space":380,"redirect":373,"icon":738},{"title":5,"path":378,"stem":381,"space":380,"redirect":373,"icon":377},{"title":743,"path":352,"stem":744,"space":380,"redirect":373,"icon":377},{"title":748,"path":749,"stem":750,"space":380,"redirect":373,"icon":752},{"title":755,"path":756,"stem":757,"space":380,"redirect":373,"icon":759},{"title":762,"path":763,"stem":764,"space":380,"redirect":373,"icon":766},{"title":769,"path":770,"stem":771,"space":380,"redirect":373,"icon":773},{"title":776,"path":777,"stem":778,"space":380,"redirect":373,"icon":459},{"title":782,"path":783,"stem":784,"space":380,"redirect":373,"icon":786},{"title":789,"path":790,"stem":791,"space":380,"redirect":373,"icon":793},{"title":796,"space":380,"redirect":373,"path":797,"stem":798,"children":911,"page":380},[912,913,914,915,916,917],{"title":801,"path":802,"stem":803,"space":380,"redirect":373,"icon":805},{"title":808,"path":809,"stem":810,"space":380,"redirect":373,"icon":812},{"title":815,"path":816,"stem":817,"space":380,"redirect":373,"icon":819},{"title":822,"path":823,"stem":824,"space":380,"redirect":373,"icon":826},{"title":829,"path":830,"stem":831,"space":380,"redirect":373,"icon":833},{"title":836,"path":837,"stem":838,"space":380,"redirect":373,"icon":840},{"left":919,"top":919,"width":920,"height":920,"rotate":919,"vFlip":380,"hFlip":380,"body":921},0,24,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>","\u003Cspan class=\"shj-syn-tag\">&lt;view\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-tag\">&lt;Column\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"example\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Row\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"actions\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;Button\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Back to top\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{top} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"action\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;Button\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Jump down\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{bottom} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;\u002FRow\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;Text\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{format!(\u003Cspan class=\"shj-syn-str\">\"Vertical offset: {:.0}\"\u003C\u002Fspan>, offset)} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;ScrollArea\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">height\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{Size\u003Cspan class=\"shj-syn-attr\">::Px\u003C\u002Fspan>(240.0)} \u003Cspan class=\"shj-syn-attr\">scroll_to\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{request} \u003Cspan class=\"shj-syn-attr\">@scroll\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{observe_scroll} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"sample\"\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;Input\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">model:value\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{draft} \u003Cspan class=\"shj-syn-attr\">placeholder\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"A draft stays editable while scrolling\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;For\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">each\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{&#38;messages} \u003Cspan class=\"shj-syn-attr\">item\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"message\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">key\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{message.id}\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n                \u003Cspan class=\"shj-syn-tag\">&lt;Text\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">text\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{message.text.clone()} \u003Cspan class=\"shj-syn-attr\">class\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"message\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n            \u003Cspan class=\"shj-syn-tag\">&lt;\u002FFor\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n        \u003Cspan class=\"shj-syn-tag\">&lt;\u002FScrollArea\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-tag\">&lt;\u002FColumn\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Fview\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;rust\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-kwd\">use\u003C\u002Fspan> inrux\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>prelude\u003Cspan class=\"shj-syn-oper\">::*\u003C\u002Fspan>;\n\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F Stable keys identify the repeated rows.\n\u003C\u002Fspan>#[\u003Cspan class=\"shj-syn-func\">derive\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-class\">Clone\u003C\u002Fspan>)]\n\u003Cspan class=\"shj-syn-kwd\">pub\u003C\u002Fspan> \u003Cspan class=\"shj-syn-kwd\">struct\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Message\u003C\u002Fspan> {\n    id\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> u32\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    text\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">String\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n}\n\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> draft\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">String\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">String\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">new\u003C\u002Fspan>();\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> messages\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Vec\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Message\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> (\u003Cspan class=\"shj-syn-num\">1..\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">30\u003C\u002Fspan>)\n    \u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">map\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-oper\">|\u003C\u002Fspan>id\u003Cspan class=\"shj-syn-oper\">|\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Message\u003C\u002Fspan> {\n        id\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n        text\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">format\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">!\u003C\u002Fspan>(\u003Cspan class=\"shj-syn-str\">\"Message {id}\"\u003C\u002Fspan>)\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    })\n    \u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">collect\u003C\u002Fspan>();\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> request\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">ScrollRequest\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">ScrollRequest\u003C\u002Fspan> {\n    revision\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">0\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    offset\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">ScrollOffset\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">default\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n};\n\u003Cspan class=\"shj-syn-kwd\">let\u003C\u002Fspan> offset\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> f32 \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">0.0\u003C\u002Fspan>;\n\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F A new revision issues a command without controlling later wheel movement.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">top\u003C\u002Fspan>(state\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">mut\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> _\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Context\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>) {\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>request\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>revision \u003Cspan class=\"shj-syn-oper\">+=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">1\u003C\u002Fspan>;\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>request\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>offset \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">ScrollOffset\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>\u003Cspan class=\"shj-syn-func\">default\u003C\u002Fspan>();\n}\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F The viewport clamps an oversized requested offset to its content bounds.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">bottom\u003C\u002Fspan>(state\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">mut\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> _\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Context\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>) {\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>request\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>revision \u003Cspan class=\"shj-syn-oper\">+=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">1\u003C\u002Fspan>;\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>request\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>offset \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">ScrollOffset\u003C\u002Fspan> {\n        x\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">0.0\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n        y\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-num\">10_000.0\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    };\n}\n\u003Cspan class=\"shj-syn-cmnt\">\u002F\u002F\u002F Observe scrolling through the typed coordinator event path.\n\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">fn\u003C\u002Fspan> \u003Cspan class=\"shj-syn-func\">observe_scroll\u003C\u002Fspan>(state\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-kwd\">mut\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> metrics\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">ScrollMetrics\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan> _\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">Context\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-class\">State\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>) {\n    state\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>offset \u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan> metrics\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>offset\u003Cspan class=\"shj-syn-oper\">.\u003C\u002Fspan>y;\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Frust\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-tag\">&lt;style\u003C\u002Fspan> scoped\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n\u003Cspan class=\"shj-syn-var\">.example\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">padding\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">24\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">gap\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">16\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.actions\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">gap\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">8\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.action\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#b84200\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">color\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">white\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">padding\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">12\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">border-radius\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">6\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.action\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">:hover\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#913400\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.action\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">:focus-visible\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">border-width\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">2\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">border-color\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#262626\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.sample\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">padding\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">12\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">gap\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">8\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n    \u003Cspan class=\"shj-syn-var\">background\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">#f5f5f5\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-var\">.message\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-var\">padding\u003C\u002Fspan>: \u003Cspan class=\"shj-syn-num\">8\u003C\u002Fspan>\u003Cspan class=\"shj-syn-var\">px\u003C\u002Fspan>\u003Cspan class=\"shj-syn-num\">\u003C\u002Fspan>;\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Fstyle\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n",1794980347874]