{"id":"ui--yuiFocusScope","name":"yuiFocusScope","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiFocusScope","description":"A yui focus scope record carrying id, rootNodeId, restoreNodeId, wrap, modal.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"id","kind":"field","type":"text","description":"Stores id as text.","signature":"text id","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"rootNodeId","kind":"field","type":"text","description":"Stores root node id as text.","signature":"text rootNodeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"restoreNodeId","kind":"field","type":"text","description":"Stores restore node id as text.","signature":"text restoreNodeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"wrap","kind":"field","type":"bool","description":"Stores wrap as bool.","signature":"bool wrap","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"modal","kind":"field","type":"bool","description":"Stores modal as bool.","signature":"bool modal","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiFocusScope","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"rootNodeId","type":"text","description":"Root node id."},{"name":"wrap","type":"bool","description":"Wrap."},{"name":"modal","type":"bool","description":"Modal."}],"returns":"void","signature":"yuiFocusScope(text id, text rootNodeId, bool wrap, bool modal)","description":"Yui focus scope.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-6","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-focus.yh","line":41,"sha256":"93a7821db0efcb10676701855cad400a9b00d3bbeee4cc79518df0984d173f6f"},"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 yuiFocusScope","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.\nyuiFocusScope sample = yuiFocusScope(\"id\", \"root Node Id\", true, true)\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusscope\"\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":"3fc14445249c3d0749a468f8b7435b1fd38f40fa2a96a1b879dcc6048cf64361","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-6","title":"yuiFocusScope.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiFocusScope instance = yuiFocusScope(\"id\", \"root Node Id\", true, true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusscope\"\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":"16b13005b4b7331a3faf1e811a400920b933158176acbf334d13ce1153bf8ae1","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","rootNodeId","restoreNodeId","wrap","modal","yuiFocusScope","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiFocusScope","json":"https://demonhunterlabs.com/reference/items/ui--yuiFocusScope.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiFocusScope.md"}
