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