{"id":"ui--yuiRoutedEventResult","name":"yuiRoutedEventResult","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRoutedEventResult","description":"A yui routed event result record carrying eventKind, source, targetId, pointerId, key, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"eventKind","kind":"field","type":"text","description":"Stores event kind as text.","signature":"text eventKind","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"targetId","kind":"field","type":"text","description":"Stores target id as text.","signature":"text targetId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pointerId","kind":"field","type":"text","description":"Stores pointer id as text.","signature":"text pointerId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"key","kind":"field","type":"text","description":"Stores key as text.","signature":"text key","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"captured","kind":"field","type":"bool","description":"Stores captured as bool.","signature":"bool captured","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"canceled","kind":"field","type":"bool","description":"Stores canceled as bool.","signature":"bool canceled","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"handled","kind":"field","type":"bool","description":"Stores handled as bool.","signature":"bool handled","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"steps","kind":"field","type":"list of yuiRouteStep","description":"Stores steps as list of yuiRouteStep.","signature":"list of yuiRouteStep steps","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"acquisition","kind":"field","type":"yuiPointerAcquisitionResult","description":"Stores acquisition as yuiPointerAcquisitionResult.","signature":"yuiPointerAcquisitionResult acquisition","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRoutedEventResult","kind":"constructor","parameters":[{"name":"eventKind","type":"text","description":"Event kind."},{"name":"source","type":"text","description":"Source."},{"name":"targetId","type":"text","description":"Target id."},{"name":"pointerId","type":"text","description":"Pointer id."},{"name":"key","type":"text","description":"Key."},{"name":"captured","type":"bool","description":"Captured."}],"returns":"void","signature":"yuiRoutedEventResult(text eventKind, text source, text targetId, text pointerId, text key, bool captured)","description":"Yui routed event result.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"AddStep","kind":"method","parameters":[{"name":"nodeId","type":"text","description":"Node id."},{"name":"phase","type":"text","description":"Phase."},{"name":"canceled","type":"bool","description":"Canceled."}],"returns":"void","signature":"AddStep(text nodeId, text phase, bool canceled)","description":"Add step.","tags":["thing","method","ui"],"exampleId":"method-AddStep-12","updated":"2026-09-09"},{"name":"RenderRouteReport","kind":"method","parameters":[],"returns":"text","signature":"RenderRouteReport() returns text","description":"Render route report.","tags":["thing","method","ui"],"exampleId":"method-RenderRouteReport-13","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-model.yh","line":511,"sha256":"8d81aed85100e922e71427f6bf625fed7a7e4bf2c9d6c16ddf4d0570cb71455b"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiRoutedEventResult","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiRoutedEventResult sample = yuiRoutedEventResult(\"event Kind\", \"example\", \"target Id\", \"pointer Id\", \"key\", true)\nConsole.Log(Text.From(sample.eventKind))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiroutedeventresult\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"030b6d2baf26dcdb50d3996b35f4fea5c7a614b79066c6235bd9cb8ae73e8fc2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddStep-12","title":"yuiRoutedEventResult.AddStep","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add step.\nyuiRoutedEventResult instance = yuiRoutedEventResult(\"event Kind\", \"example\", \"target Id\", \"pointer Id\", \"key\", true)\ntext argument_nodeId = \"argument node Id\"\ntext argument_phase = \"argument phase\"\nbool argument_canceled = true\ninstance.AddStep(argument_nodeId, argument_phase, argument_canceled)\nConsole.Log(\"AddStep completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiroutedeventresult\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"ef8095d34baa55a2077a3d9981655c2d3a06de977e91f0e8f7a2f0b95fc418a8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderRouteReport-13","title":"yuiRoutedEventResult.RenderRouteReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render route report.\nyuiRoutedEventResult instance = yuiRoutedEventResult(\"event Kind\", \"example\", \"target Id\", \"pointer Id\", \"key\", true)\ntext result = instance.RenderRouteReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiroutedeventresult\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"42ec004d4c61853a0138c23caaed13aa4dd35c9d640d1f49d39d1ad9587e71b7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["eventKind","source","targetId","pointerId","key","captured","canceled","handled","steps","acquisition","diagnostic","yuiRoutedEventResult","AddStep","RenderRouteReport"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRoutedEventResult","json":"https://demonhunterlabs.com/reference/items/ui--yuiRoutedEventResult.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRoutedEventResult.md"}
