[{"data":1,"prerenderedAt":730},["ShallowReactive",2],{"docs:\u002Fauthoring\u002Fprops-events-models":3,"docs-navigation:":185,"docs-locale-navigation":646,"i-tabler:chevron-down":722,"inrux-code-sfc:rs:use crate::components::counter as Counter;\n":726,"inrux-code-sfc:xml:\u003CCounter label=\"Tasks\" count={count} @increment={increment} \u002F>\n":727,"inrux-code-sfc:xml:\u003CInput model:value={name} @input={mark_dirty} \u002F>\n\u003CCheckbox label=\"Receive updates\" model:checked={receive_updates} \u002F>\n":728,"inrux-code-sfc:xml:\u003Cview>\n    \u003CRow gap={12.0}>\n        \u003CText text={format!(\"{}: {}\", props.label, props.count)} \u002F>\n        \u003CButton text=\"Increment\" @click={props.on_increment.clone()} \u002F>\n    \u003C\u002FRow>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\npub struct Props {\n    pub label: &'static str,\n    pub count: u32,\n    pub on_increment: Emit\u003C()>,\n}\n\u003C\u002Frust>\n":729},{"id":4,"title":5,"body":6,"description":174,"docs":175,"extension":176,"icon":175,"meta":177,"navigation":178,"path":180,"redirect":175,"seo":181,"space":182,"stem":183,"__hash__":184},"docs\u002F3.authoring\u002F03.props-events-models.md","Props, events and models",{"type":7,"value":8,"toc":167},"minimark",[9,14,23,34,37,45,51,60,64,85,88,92,98,128,147,155,159],[10,11,13],"h2",{"id":12},"props-pass-values-to-a-child","Props pass values to a child",[15,16,17,18,22],"p",{},"A child declares a public ",[19,20,21],"code",{},"Props"," struct. The parent supplies its fields. rustc checks the field names and types.",[24,25,32],"pre",{"className":26,"code":28,"filename":29,"language":30,"meta":31},[27],"language-xml","\u003Cview>\n    \u003CRow gap={12.0}>\n        \u003CText text={format!(\"{}: {}\", props.label, props.count)} \u002F>\n        \u003CButton text=\"Increment\" @click={props.on_increment.clone()} \u002F>\n    \u003C\u002FRow>\n\u003C\u002Fview>\n\u003Crust>\nuse inrux::prelude::*;\npub struct Props {\n    pub label: &'static str,\n    pub count: u32,\n    pub on_increment: Emit\u003C()>,\n}\n\u003C\u002Frust>\n","src\u002Fcomponents\u002FCounter.iru","xml","",[19,33,28],{"__ignoreMap":31},[15,35,36],{},"Import the component in the parent's Rust block and use its alias in the view:",[24,38,43],{"className":39,"code":41,"language":42,"meta":31},[40],"language-rust","use crate::components::counter as Counter;\n","rust",[19,44,41],{"__ignoreMap":31},[24,46,49],{"className":47,"code":48,"language":30,"meta":31},[27],"\u003CCounter label=\"Tasks\" count={count} @increment={increment} \u002F>\n",[19,50,48],{"__ignoreMap":31},[15,52,53,54,59],{},"These parent fragments belong in an existing stateful component. See the ",[55,56,58],"a",{"href":57},"\u002Fgetting-started\u002Ffirst-app","scaffold"," for the surrounding typed state declarations and handlers.",[10,61,63],{"id":62},"events-send-information-to-the-owner","Events send information to the owner",[15,65,66,69,70,73,74,69,77,80,81,84],{},[19,67,68],{},"@increment"," maps to ",[19,71,72],{},"on_increment: Emit\u003C()>",". A payload event such as ",[19,75,76],{},"@confirmed",[19,78,79],{},"on_confirmed: Emit\u003CString>"," when the child sends a String. A payload-consuming parent handler takes ",[19,82,83],{},"(&mut State, String, &Context\u003CState>)",".",[15,86,87],{},"Keep the controlled value in its owner. The child requests a change through an event instead of mutating the parent's fields. Handle event admission errors when using Emit directly in Rust.",[10,89,91],{"id":90},"models-pair-a-value-with-an-update","Models pair a value with an update",[24,93,96],{"className":94,"code":95,"language":30,"meta":31},[27],"\u003CInput model:value={name} @input={mark_dirty} \u002F>\n\u003CCheckbox label=\"Receive updates\" model:checked={receive_updates} \u002F>\n",[19,97,95],{"__ignoreMap":31},[15,99,100,103,104,107,108,111,112,115,116,119,120,123,124,127],{},[19,101,102],{},"model:value"," updates a String or ",[19,105,106],{},"Signal\u003CString>",". ",[19,109,110],{},"model:checked"," updates a bool or ",[19,113,114],{},"Signal\u003Cbool>",". Use a retained field name such as ",[19,117,118],{},"name"," or a named nested path such as ",[19,121,122],{},"counter.name",". Qualified ",[19,125,126],{},"state.field"," targets remain supported; props are readonly. The generated setter runs before an optional handler in the same coordinator command.",[15,129,130,131,134,135,138,139,142,143,146],{},"A custom component can expose a model by declaring ",[19,132,133],{},"value"," and ",[19,136,137],{},"on_update_value: Emit\u003CT>"," in Props. The parent uses ",[19,140,141],{},"model:value={state.name}",". A parent can add ",[19,144,145],{},"@update:value={mark_dirty}"," to observe the assignment.",[15,148,149,150,154],{},"Do not supply both a model and its controlled value\u002Fevent pair. See the complete ",[55,151,153],{"href":152},"\u002Fauthoring\u002Fcomponent-contract#events-and-models","component contract"," for signatures and validation rules.",[10,156,158],{"id":157},"readability-rule","Readability rule",[15,160,161,162,166],{},"Pass values through props when the ownership relationship is local. Use ",[55,163,165],{"href":164},"\u002Fauthoring\u002Fdependency-injection","typed provide\u002Finject"," for services or shared reactive values needed by descendants. Do not replace clear props with a hidden global dependency.",{"title":31,"searchDepth":168,"depth":168,"links":169},2,[170,171,172,173],{"id":12,"depth":168,"text":13},{"id":62,"depth":168,"text":63},{"id":90,"depth":168,"text":91},{"id":157,"depth":168,"text":158},"Pass values down, send typed events up and bind controlled values.",null,"md",{},{"icon":179},"tabler:arrows-exchange","\u002Fauthoring\u002Fprops-events-models",{"title":5,"description":174},false,"3.authoring\u002F03.props-events-models","XT4wyeNEJvhNUlkAdmZapUShcv1I-TVM6WYOVP0Irl0",[186,240,272,340,380,599],{"title":187,"navigation":188,"description":175,"space":182,"icon":175,"docs":175,"redirect":175,"path":189,"stem":190,"children":191,"page":182},"Getting started",true,"\u002Fgetting-started","1.getting-started",[192,199,206,212,219,226,233],{"title":193,"path":194,"stem":195,"navigation":196,"description":198,"space":182,"icon":197,"docs":175,"redirect":175},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F01.introduction",{"icon":197},"tabler:book-2","Build native Rust interfaces with reusable .iru components.",{"title":200,"path":201,"stem":202,"navigation":203,"description":205,"space":182,"icon":204,"docs":175,"redirect":175},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F02.installation",{"icon":204},"tabler:download","Install the native build tools, clone Inrux and run your first application.",{"title":207,"path":57,"stem":208,"navigation":209,"description":211,"space":182,"icon":210,"docs":175,"redirect":175},"Your first application","1.getting-started\u002F03.first-app",{"icon":210},"tabler:rocket","Create a project, mount App.iru and connect a button to local state.",{"title":213,"path":214,"stem":215,"navigation":216,"description":218,"space":182,"icon":217,"docs":175,"redirect":175},"Project structure","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F04.project-structure",{"icon":217},"tabler:folders","Find the framework crates, native examples, editor tools and application folders.",{"title":220,"path":221,"stem":222,"navigation":223,"description":225,"space":182,"icon":224,"docs":175,"redirect":175},"Playgrounds","\u002Fgetting-started\u002Fplaygrounds","1.getting-started\u002F05.playgrounds",{"icon":224},"tabler:device-desktop","Run the same component catalogue with egui, Masonry or GPUI.",{"title":227,"path":228,"stem":229,"navigation":230,"description":232,"space":182,"icon":231,"docs":175,"redirect":175},"VS Code","\u002Fgetting-started\u002Fvscode","1.getting-started\u002F06.vscode",{"icon":231},"tabler:code","Set up .iru icons, completion, formatting, navigation and Rust support.",{"title":234,"path":235,"stem":236,"navigation":237,"description":239,"space":182,"icon":238,"docs":175,"redirect":175},"Alpha status","\u002Fgetting-started\u002Fstatus","1.getting-started\u002F07.status",{"icon":238},"tabler:flask","Check what works today and which features still need implementation or platform testing.",{"title":241,"navigation":188,"description":175,"space":182,"icon":175,"docs":175,"redirect":175,"path":242,"stem":243,"children":244,"page":182},"Architecture","\u002Finternals","2.internals",[245,251,258,265],{"title":241,"path":246,"stem":247,"navigation":248,"description":250,"space":182,"icon":249,"docs":175,"redirect":175},"\u002Finternals\u002Farchitecture","2.internals\u002F01.architecture",{"icon":249},"tabler:sitemap","Follow compilation, state ownership, threads and the native adapter boundary.",{"title":252,"path":253,"stem":254,"navigation":255,"description":257,"space":182,"icon":256,"docs":175,"redirect":175},"Adapter services","\u002Finternals\u002Fadapter-services","2.internals\u002F02.adapter-services",{"icon":256},"tabler:plug","Understand provider contracts, capabilities, fallback selection and component prerequisites.",{"title":259,"path":260,"stem":261,"navigation":262,"description":264,"space":182,"icon":263,"docs":175,"redirect":175},"Text rendering","\u002Finternals\u002Ftext-rendering","2.internals\u002F03.text-rendering",{"icon":263},"tabler:typography","Learn how shared shaping and glyph rasterization reduce differences between engines.",{"title":266,"path":267,"stem":268,"navigation":269,"description":271,"space":182,"icon":270,"docs":175,"redirect":175},"Headless components","\u002Finternals\u002Fheadless-components","2.internals\u002F04.headless-components",{"icon":270},"tabler:components","Separate interaction behavior from application appearance and themes.",{"title":273,"navigation":188,"description":175,"space":182,"icon":175,"docs":175,"redirect":175,"path":274,"stem":275,"children":276,"page":182},"Writing components","\u002Fauthoring","3.authoring",[277,284,290,292,299,306,313,320,327,334],{"title":278,"path":279,"stem":280,"navigation":281,"description":283,"space":182,"icon":282,"docs":175,"redirect":175},"The .iru format","\u002Fauthoring\u002Firu-format","3.authoring\u002F01.iru-format",{"icon":282},"tabler:file-code","Learn what goes in a component file, why Inrux uses SFCs and when to move code out.",{"title":285,"path":286,"stem":287,"navigation":288,"description":289,"space":182,"icon":270,"docs":175,"redirect":175},"Component contract","\u002Fauthoring\u002Fcomponent-contract","3.authoring\u002F02.component-contract",{"icon":270},"Write imports, props, events, models, keyed children and component state.",{"title":5,"path":180,"stem":183,"navigation":291,"description":174,"space":182,"icon":179,"docs":175,"redirect":175},{"icon":179},{"title":293,"path":294,"stem":295,"navigation":296,"description":298,"space":182,"icon":297,"docs":175,"redirect":175},"State and computed values","\u002Fauthoring\u002Fstate-and-computed","3.authoring\u002F04.state-and-computed",{"icon":297},"tabler:bolt","Update local fields, share reactive handles and derive cached values.",{"title":300,"path":301,"stem":302,"navigation":303,"description":305,"space":182,"icon":304,"docs":175,"redirect":175},"Conditions, lists and dynamic components","\u002Fauthoring\u002Fcontrol-flow","3.authoring\u002F05.control-flow",{"icon":304},"tabler:git-branch","Render branches, preserve list identity and select imported components.",{"title":307,"path":308,"stem":309,"navigation":310,"description":312,"space":182,"icon":311,"docs":175,"redirect":175},"Children and layouts","\u002Fauthoring\u002Fchildren-and-layouts","3.authoring\u002F06.children-and-layouts",{"icon":311},"tabler:layout","Pass default child content through reusable application shells.",{"title":314,"path":315,"stem":316,"navigation":317,"description":319,"space":182,"icon":318,"docs":175,"redirect":175},"Separating business logic","\u002Fauthoring\u002Fbusiness-logic","3.authoring\u002F07.business-logic",{"icon":318},"tabler:briefcase","Keep component interactions nearby and domain behavior reusable in Rust modules.",{"title":321,"path":322,"stem":323,"navigation":324,"description":326,"space":182,"icon":325,"docs":175,"redirect":175},"Lifecycle and refs","\u002Fauthoring\u002Flifecycle-and-refs","3.authoring\u002F08.lifecycle-and-refs",{"icon":325},"tabler:refresh","Understand setup, mount identity, cleanup and the limits of native refs.",{"title":328,"path":329,"stem":330,"navigation":331,"description":333,"space":182,"icon":332,"docs":175,"redirect":175},"Background tasks","\u002Fauthoring\u002Fbackground-tasks","3.authoring\u002F09.background-tasks",{"icon":332},"tabler:cpu","Run slow work outside the coordinator and return typed results to component state.",{"title":335,"path":164,"stem":336,"navigation":337,"description":339,"space":182,"icon":338,"docs":175,"redirect":175},"Provide and inject","3.authoring\u002F10.dependency-injection",{"icon":338},"tabler:plug-connected","Share typed services through a component subtree without prop drilling.",{"title":341,"navigation":188,"description":175,"space":182,"icon":175,"docs":175,"redirect":175,"path":342,"stem":343,"children":344,"page":182},"Styling","\u002Fstyling","4.styling",[345,352,359,366,373],{"title":346,"path":347,"stem":348,"navigation":349,"description":351,"space":182,"icon":350,"docs":175,"redirect":175},"Styling basics","\u002Fstyling\u002Foverview","4.styling\u002F01.overview",{"icon":350},"tabler:palette","Style headless components with CSS-like rules or Rust values.",{"title":353,"path":354,"stem":355,"navigation":356,"description":358,"space":182,"icon":357,"docs":175,"redirect":175},"CSS reference","\u002Fstyling\u002Fcss-reference","4.styling\u002F02.css-reference",{"icon":357},"tabler:file-type-css","Use the supported selectors, properties, cascade and compiled style rules.",{"title":360,"path":361,"stem":362,"navigation":363,"description":365,"space":182,"icon":364,"docs":175,"redirect":175},"Parts and states","\u002Fstyling\u002Fparts-and-states","4.styling\u002F03.parts-and-states",{"icon":364},"tabler:puzzle","Style exposed control parts and interaction states without native widget handles.",{"title":367,"path":368,"stem":369,"navigation":370,"description":372,"space":182,"icon":371,"docs":175,"redirect":175},"Color values","\u002Fstyling\u002Fcolors","4.styling\u002F04.colors",{"icon":371},"tabler:color-swatch","Write literal CSS colors and understand alpha and color-space limits.",{"title":374,"path":375,"stem":376,"navigation":377,"description":379,"space":182,"icon":378,"docs":175,"redirect":175},"Themes and responsiveness","\u002Fstyling\u002Fthemes-and-responsiveness","4.styling\u002F05.themes-and-responsiveness",{"icon":378},"tabler:sun-moon","Compile complete theme sheets and respond to logical viewport dimensions.",{"title":381,"navigation":188,"description":175,"space":182,"icon":175,"docs":175,"redirect":175,"path":382,"stem":383,"children":384,"page":182},"Components","\u002Fcomponents","5.components",[385,392,399,406,413,420,427,434,441,448,455,462,469,476,483,490,497,504,511,517,524,531,538,545,551,558,565,572,579,585,592],{"title":386,"path":387,"stem":388,"navigation":389,"description":391,"space":182,"icon":390,"docs":175,"redirect":175},"AspectRatio","\u002Fcomponents\u002Faspect-ratio","5.components\u002Faspect-ratio",{"icon":390},"tabler:aspect-ratio","Size a container around a positive width-to-height ratio.",{"title":393,"path":394,"stem":395,"navigation":396,"description":398,"space":182,"icon":397,"docs":175,"redirect":175},"Badge","\u002Fcomponents\u002Fbadge","5.components\u002Fbadge",{"icon":397},"tabler:badge","Display a short status label.",{"title":400,"path":401,"stem":402,"navigation":403,"description":405,"space":182,"icon":404,"docs":175,"redirect":175},"Box","\u002Fcomponents\u002Fbox","5.components\u002Fbox",{"icon":404},"tabler:box","Create a physical vertical container.",{"title":407,"path":408,"stem":409,"navigation":410,"description":412,"space":182,"icon":411,"docs":175,"redirect":175},"Button","\u002Fcomponents\u002Fbutton","5.components\u002Fbutton",{"icon":411},"tabler:hand-click","Trigger an action from a labeled control.",{"title":414,"path":415,"stem":416,"navigation":417,"description":419,"space":182,"icon":418,"docs":175,"redirect":175},"Card","\u002Fcomponents\u002Fcard","5.components\u002Fcard",{"icon":418},"tabler:id","Group related child content in a surface.",{"title":421,"path":422,"stem":423,"navigation":424,"description":426,"space":182,"icon":425,"docs":175,"redirect":175},"Center","\u002Fcomponents\u002Fcenter","5.components\u002Fcenter",{"icon":425},"tabler:align-box-center-middle","Center a group within available free space.",{"title":428,"path":429,"stem":430,"navigation":431,"description":433,"space":182,"icon":432,"docs":175,"redirect":175},"Checkbox","\u002Fcomponents\u002Fcheckbox","5.components\u002Fcheckbox",{"icon":432},"tabler:checkbox","Control a labeled boolean choice.",{"title":435,"path":436,"stem":437,"navigation":438,"description":440,"space":182,"icon":439,"docs":175,"redirect":175},"Column","\u002Fcomponents\u002Fcolumn","5.components\u002Fcolumn",{"icon":439},"tabler:layout-list","Arrange child nodes vertically.",{"title":442,"path":443,"stem":444,"navigation":445,"description":447,"space":182,"icon":446,"docs":175,"redirect":175},"Container","\u002Fcomponents\u002Fcontainer","5.components\u002Fcontainer",{"icon":446},"tabler:container","Constrain and center a reading or application column.",{"title":449,"path":450,"stem":451,"navigation":452,"description":454,"space":182,"icon":453,"docs":175,"redirect":175},"Content reference","\u002Fcomponents\u002Fcontent-reference","5.components\u002Fcontent-reference",{"icon":453},"tabler:file-description","Compose cards, badges and separators with shared component descriptions.",{"title":456,"path":457,"stem":458,"navigation":459,"description":461,"space":182,"icon":460,"docs":175,"redirect":175},"Dialog","\u002Fcomponents\u002Fdialog","5.components\u002Fdialog",{"icon":460},"tabler:message","Show an egui-only modal prototype.",{"title":463,"path":464,"stem":465,"navigation":466,"description":468,"space":182,"icon":467,"docs":175,"redirect":175},"Flex","\u002Fcomponents\u002Fflex","5.components\u002Fflex",{"icon":467},"tabler:layout-distribute-horizontal","Choose a flexible layout direction and wrapping policy.",{"title":470,"path":471,"stem":472,"navigation":473,"description":475,"space":182,"icon":474,"docs":175,"redirect":175},"Grid","\u002Fcomponents\u002Fgrid","5.components\u002Fgrid",{"icon":474},"tabler:layout-grid","Arrange direct children in equal-width columns.",{"title":477,"path":478,"stem":479,"navigation":480,"description":482,"space":182,"icon":481,"docs":175,"redirect":175},"Heartbeat","\u002Fcomponents\u002Fheartbeat","5.components\u002Fheartbeat",{"icon":481},"tabler:heartbeat","Inspect an egui-only UI-thread animation diagnostic.",{"title":484,"path":485,"stem":486,"navigation":487,"description":489,"space":182,"icon":488,"docs":175,"redirect":175},"Input","\u002Fcomponents\u002Finput","5.components\u002Finput",{"icon":488},"tabler:forms","Edit a controlled single-line string.",{"title":491,"path":492,"stem":493,"navigation":494,"description":496,"space":182,"icon":495,"docs":175,"redirect":175},"Layout reference","\u002Fcomponents\u002Flayout-reference","5.components\u002Flayout-reference",{"icon":495},"tabler:layout-dashboard","Understand sizing, centering, spacing, flex, grid and aspect-ratio behavior.",{"title":498,"path":499,"stem":500,"navigation":501,"description":503,"space":182,"icon":502,"docs":175,"redirect":175},"Markdown","\u002Fcomponents\u002Fmarkdown","5.components\u002Fmarkdown",{"icon":502},"tabler:markdown","Render a subset of CommonMark through existing native components.",{"title":505,"path":506,"stem":507,"navigation":508,"description":510,"space":182,"icon":509,"docs":175,"redirect":175},"Meter","\u002Fcomponents\u002Fmeter","5.components\u002Fmeter",{"icon":509},"tabler:gauge","Show a finite measurement within explicit bounds.",{"title":512,"path":513,"stem":514,"navigation":515,"description":516,"space":182,"icon":270,"docs":175,"redirect":175},"Component catalogue","\u002Fcomponents\u002Foverview","5.components\u002Foverview",{"icon":270},"Choose a portable control or layout primitive and check its current API.",{"title":518,"path":519,"stem":520,"navigation":521,"description":523,"space":182,"icon":522,"docs":175,"redirect":175},"Progress","\u002Fcomponents\u002Fprogress","5.components\u002Fprogress",{"icon":522},"tabler:progress","Show a finite amount of completed work.",{"title":525,"path":526,"stem":527,"navigation":528,"description":530,"space":182,"icon":529,"docs":175,"redirect":175},"Boolean and range reference","\u002Fcomponents\u002Frange-reference","5.components\u002Frange-reference",{"icon":529},"tabler:adjustments-horizontal","Use controlled switches and validated progress and measurement ranges.",{"title":532,"path":533,"stem":534,"navigation":535,"description":537,"space":182,"icon":536,"docs":175,"redirect":175},"Row","\u002Fcomponents\u002Frow","5.components\u002Frow",{"icon":536},"tabler:columns","Arrange child nodes horizontally.",{"title":539,"path":540,"stem":541,"navigation":542,"description":544,"space":182,"icon":543,"docs":175,"redirect":175},"ScrollArea","\u002Fcomponents\u002Fscroll-area","5.components\u002Fscroll-area",{"icon":543},"tabler:arrows-vertical","Clip and scroll bounded child content.",{"title":546,"path":547,"stem":548,"navigation":549,"description":550,"space":182,"icon":543,"docs":175,"redirect":175},"Scrolling reference","\u002Fcomponents\u002Fscrolling-reference","5.components\u002Fscrolling-reference",{"icon":543},"Use viewport commands, observations, clipping and native input direction.",{"title":552,"path":553,"stem":554,"navigation":555,"description":557,"space":182,"icon":556,"docs":175,"redirect":175},"Select","\u002Fcomponents\u002Fselect","5.components\u002Fselect",{"icon":556},"tabler:selector","Choose a controlled string value from options.",{"title":559,"path":560,"stem":561,"navigation":562,"description":564,"space":182,"icon":563,"docs":175,"redirect":175},"Separator","\u002Fcomponents\u002Fseparator","5.components\u002Fseparator",{"icon":563},"tabler:separator","Draw a decorative divider.",{"title":566,"path":567,"stem":568,"navigation":569,"description":571,"space":182,"icon":570,"docs":175,"redirect":175},"Spacer","\u002Fcomponents\u002Fspacer","5.components\u002Fspacer",{"icon":570},"tabler:space","Consume free main-axis space in a Row or Column.",{"title":573,"path":574,"stem":575,"navigation":576,"description":578,"space":182,"icon":577,"docs":175,"redirect":175},"Switch","\u002Fcomponents\u002Fswitch","5.components\u002Fswitch",{"icon":577},"tabler:toggle-left","Turn a labeled setting on or off.",{"title":580,"path":581,"stem":582,"navigation":583,"description":584,"space":182,"icon":263,"docs":175,"redirect":175},"Text","\u002Fcomponents\u002Ftext","5.components\u002Ftext",{"icon":263},"Display text with shared shaping and glyph pixels.",{"title":586,"path":587,"stem":588,"navigation":589,"description":591,"space":182,"icon":590,"docs":175,"redirect":175},"TextArea","\u002Fcomponents\u002Ftext-area","5.components\u002Ftext-area",{"icon":590},"tabler:align-left","Edit multiline text with wrapping and caret scrolling.",{"title":593,"path":594,"stem":595,"navigation":596,"description":598,"space":182,"icon":597,"docs":175,"redirect":175},"Text editing reference","\u002Fcomponents\u002Ftext-editing-reference","5.components\u002Ftext-editing-reference",{"icon":597},"tabler:text-wrap","Choose single-line Input or multiline TextArea and bind controlled text.",{"title":600,"navigation":188,"description":175,"space":182,"icon":175,"docs":175,"redirect":175,"path":601,"stem":602,"children":603,"page":182},"Tooling and contribution","\u002Ftooling","6.tooling",[604,611,618,625,632,639],{"title":605,"path":606,"stem":607,"navigation":608,"description":610,"space":182,"icon":609,"docs":175,"redirect":175},"CLI","\u002Ftooling\u002Fcli","6.tooling\u002F01.cli",{"icon":609},"tabler:terminal-2","Scaffold, validate and run applications through Cargo.",{"title":612,"path":613,"stem":614,"navigation":615,"description":617,"space":182,"icon":616,"docs":175,"redirect":175},"Contributing","\u002Ftooling\u002Fcontributing","6.tooling\u002F02.contributing",{"icon":616},"tabler:git-pull-request","Keep modules focused, preserve backend boundaries and run the relevant checks.",{"title":619,"path":620,"stem":621,"navigation":622,"description":624,"space":182,"icon":623,"docs":175,"redirect":175},"Working on this website","\u002Ftooling\u002Fdocumentation","6.tooling\u002F03.documentation",{"icon":623},"tabler:notebook","Run, edit, validate and export the Nuxt documentation site.",{"title":626,"path":627,"stem":628,"navigation":629,"description":631,"space":182,"icon":630,"docs":175,"redirect":175},"Troubleshooting","\u002Ftooling\u002Ftroubleshooting","6.tooling\u002F04.troubleshooting",{"icon":630},"tabler:bug","Resolve common compiler, native build and editor setup problems.",{"title":633,"path":634,"stem":635,"navigation":636,"description":638,"space":182,"icon":637,"docs":175,"redirect":175},"Rust API reference","\u002Ftooling\u002Frust-api","6.tooling\u002F05.rust-api",{"icon":637},"tabler:api","Find the public Rust types, build local rustdoc and inspect individual package APIs.",{"title":640,"path":641,"stem":642,"navigation":643,"description":645,"space":182,"icon":644,"docs":175,"redirect":175},"License and notices","\u002Ftooling\u002Flicense","6.tooling\u002F06.license",{"icon":644},"tabler:scale","Understand the license for Inrux code and the notices retained for dependencies and fonts.",[647,656,662,674,681,714],{"title":187,"space":182,"redirect":175,"path":189,"stem":190,"children":648,"page":182},[649,650,651,652,653,654,655],{"title":193,"path":194,"stem":195,"space":182,"redirect":175,"icon":197},{"title":200,"path":201,"stem":202,"space":182,"redirect":175,"icon":204},{"title":207,"path":57,"stem":208,"space":182,"redirect":175,"icon":210},{"title":213,"path":214,"stem":215,"space":182,"redirect":175,"icon":217},{"title":220,"path":221,"stem":222,"space":182,"redirect":175,"icon":224},{"title":227,"path":228,"stem":229,"space":182,"redirect":175,"icon":231},{"title":234,"path":235,"stem":236,"space":182,"redirect":175,"icon":238},{"title":241,"space":182,"redirect":175,"path":242,"stem":243,"children":657,"page":182},[658,659,660,661],{"title":241,"path":246,"stem":247,"space":182,"redirect":175,"icon":249},{"title":252,"path":253,"stem":254,"space":182,"redirect":175,"icon":256},{"title":259,"path":260,"stem":261,"space":182,"redirect":175,"icon":263},{"title":266,"path":267,"stem":268,"space":182,"redirect":175,"icon":270},{"title":273,"space":182,"redirect":175,"path":274,"stem":275,"children":663,"page":182},[664,665,666,667,668,669,670,671,672,673],{"title":278,"path":279,"stem":280,"space":182,"redirect":175,"icon":282},{"title":285,"path":286,"stem":287,"space":182,"redirect":175,"icon":270},{"title":5,"path":180,"stem":183,"space":182,"redirect":175,"icon":179},{"title":293,"path":294,"stem":295,"space":182,"redirect":175,"icon":297},{"title":300,"path":301,"stem":302,"space":182,"redirect":175,"icon":304},{"title":307,"path":308,"stem":309,"space":182,"redirect":175,"icon":311},{"title":314,"path":315,"stem":316,"space":182,"redirect":175,"icon":318},{"title":321,"path":322,"stem":323,"space":182,"redirect":175,"icon":325},{"title":328,"path":329,"stem":330,"space":182,"redirect":175,"icon":332},{"title":335,"path":164,"stem":336,"space":182,"redirect":175,"icon":338},{"title":341,"space":182,"redirect":175,"path":342,"stem":343,"children":675,"page":182},[676,677,678,679,680],{"title":346,"path":347,"stem":348,"space":182,"redirect":175,"icon":350},{"title":353,"path":354,"stem":355,"space":182,"redirect":175,"icon":357},{"title":360,"path":361,"stem":362,"space":182,"redirect":175,"icon":364},{"title":367,"path":368,"stem":369,"space":182,"redirect":175,"icon":371},{"title":374,"path":375,"stem":376,"space":182,"redirect":175,"icon":378},{"title":381,"space":182,"redirect":175,"path":382,"stem":383,"children":682,"page":182},[683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713],{"title":386,"path":387,"stem":388,"space":182,"redirect":175,"icon":390},{"title":393,"path":394,"stem":395,"space":182,"redirect":175,"icon":397},{"title":400,"path":401,"stem":402,"space":182,"redirect":175,"icon":404},{"title":407,"path":408,"stem":409,"space":182,"redirect":175,"icon":411},{"title":414,"path":415,"stem":416,"space":182,"redirect":175,"icon":418},{"title":421,"path":422,"stem":423,"space":182,"redirect":175,"icon":425},{"title":428,"path":429,"stem":430,"space":182,"redirect":175,"icon":432},{"title":435,"path":436,"stem":437,"space":182,"redirect":175,"icon":439},{"title":442,"path":443,"stem":444,"space":182,"redirect":175,"icon":446},{"title":449,"path":450,"stem":451,"space":182,"redirect":175,"icon":453},{"title":456,"path":457,"stem":458,"space":182,"redirect":175,"icon":460},{"title":463,"path":464,"stem":465,"space":182,"redirect":175,"icon":467},{"title":470,"path":471,"stem":472,"space":182,"redirect":175,"icon":474},{"title":477,"path":478,"stem":479,"space":182,"redirect":175,"icon":481},{"title":484,"path":485,"stem":486,"space":182,"redirect":175,"icon":488},{"title":491,"path":492,"stem":493,"space":182,"redirect":175,"icon":495},{"title":498,"path":499,"stem":500,"space":182,"redirect":175,"icon":502},{"title":505,"path":506,"stem":507,"space":182,"redirect":175,"icon":509},{"title":512,"path":513,"stem":514,"space":182,"redirect":175,"icon":270},{"title":518,"path":519,"stem":520,"space":182,"redirect":175,"icon":522},{"title":525,"path":526,"stem":527,"space":182,"redirect":175,"icon":529},{"title":532,"path":533,"stem":534,"space":182,"redirect":175,"icon":536},{"title":539,"path":540,"stem":541,"space":182,"redirect":175,"icon":543},{"title":546,"path":547,"stem":548,"space":182,"redirect":175,"icon":543},{"title":552,"path":553,"stem":554,"space":182,"redirect":175,"icon":556},{"title":559,"path":560,"stem":561,"space":182,"redirect":175,"icon":563},{"title":566,"path":567,"stem":568,"space":182,"redirect":175,"icon":570},{"title":573,"path":574,"stem":575,"space":182,"redirect":175,"icon":577},{"title":580,"path":581,"stem":582,"space":182,"redirect":175,"icon":263},{"title":586,"path":587,"stem":588,"space":182,"redirect":175,"icon":590},{"title":593,"path":594,"stem":595,"space":182,"redirect":175,"icon":597},{"title":600,"space":182,"redirect":175,"path":601,"stem":602,"children":715,"page":182},[716,717,718,719,720,721],{"title":605,"path":606,"stem":607,"space":182,"redirect":175,"icon":609},{"title":612,"path":613,"stem":614,"space":182,"redirect":175,"icon":616},{"title":619,"path":620,"stem":621,"space":182,"redirect":175,"icon":623},{"title":626,"path":627,"stem":628,"space":182,"redirect":175,"icon":630},{"title":633,"path":634,"stem":635,"space":182,"redirect":175,"icon":637},{"title":640,"path":641,"stem":642,"space":182,"redirect":175,"icon":644},{"left":723,"top":723,"width":724,"height":724,"rotate":723,"vFlip":182,"hFlip":182,"body":725},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-kwd\">use\u003C\u002Fspan> \u003Cspan class=\"shj-syn-kwd\">crate\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>components\u003Cspan class=\"shj-syn-oper\">::\u003C\u002Fspan>counter \u003Cspan class=\"shj-syn-kwd\">as\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Counter\u003C\u002Fspan>;\n","\u003Cspan class=\"shj-syn-tag\">&lt;Counter\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">label\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>\u003Cspan class=\"shj-syn-str\">\"Tasks\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">count\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{count} \u003Cspan class=\"shj-syn-attr\">@increment\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{increment} \u003Cspan class=\"shj-syn-oper\">\u002F\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>{name} \u003Cspan class=\"shj-syn-attr\">@input\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{mark_dirty} \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\">\"Receive updates\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">model:checked\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{receive_updates} \u003Cspan class=\"shj-syn-oper\">\u002F\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n","\u003Cspan class=\"shj-syn-tag\">&lt;view\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\">gap\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{12.0}\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\">\"{}: {}\"\u003C\u002Fspan>, props.label, props.count)} \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\">\"Increment\"\u003C\u002Fspan> \u003Cspan class=\"shj-syn-attr\">@click\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">=\u003C\u002Fspan>{props.on_increment.clone()} \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;\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\u003Cspan class=\"shj-syn-kwd\">pub\u003C\u002Fspan> \u003Cspan class=\"shj-syn-kwd\">struct\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Props\u003C\u002Fspan> {\n    \u003Cspan class=\"shj-syn-kwd\">pub\u003C\u002Fspan> label\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-oper\">&#38;\u003C\u002Fspan>\u003Cspan class=\"shj-syn-type\">'static\u003C\u002Fspan> str\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-kwd\">pub\u003C\u002Fspan> count\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> u32\u003Cspan class=\"shj-syn-oper\">,\u003C\u002Fspan>\n    \u003Cspan class=\"shj-syn-kwd\">pub\u003C\u002Fspan> on_increment\u003Cspan class=\"shj-syn-oper\">:\u003C\u002Fspan> \u003Cspan class=\"shj-syn-class\">Emit\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&lt;\u003C\u002Fspan>()\u003Cspan class=\"shj-syn-oper\">&gt;,\u003C\u002Fspan>\n}\n\u003Cspan class=\"shj-syn-tag\">&lt;\u002Frust\u003C\u002Fspan>\u003Cspan class=\"shj-syn-oper\">&gt;\u003C\u002Fspan>\n",1794980346076]