{"id":"ui--yuiAuthoredNode","name":"yuiAuthoredNode","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiAuthoredNode","description":"A yui authored node record carrying id, parentId, kind, role, accessibilityName, and related state.","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":"parentId","kind":"field","type":"text","description":"Stores parent id as text.","signature":"text parentId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"kind","kind":"field","type":"text","description":"Stores kind as text.","signature":"text kind","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"role","kind":"field","type":"text","description":"Stores role as text.","signature":"text role","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"accessibilityName","kind":"field","type":"text","description":"Stores accessibility name as text.","signature":"text accessibilityName","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":"custom","kind":"field","type":"bool","description":"Stores custom as bool.","signature":"bool custom","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiAuthoredNode","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"parentId","type":"text","description":"Parent id."},{"name":"kind","type":"text","description":"Kind."},{"name":"role","type":"text","description":"Role."},{"name":"accessibilityName","type":"text","description":"Accessibility name."},{"name":"source","type":"text","description":"Source."},{"name":"custom","type":"bool","description":"Custom."}],"returns":"void","signature":"yuiAuthoredNode(text id, text parentId, text kind, text role, text accessibilityName, text source, bool custom)","description":"Yui authored node.","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-8","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/authoring-00-definitions.yh","line":198,"sha256":"8a01b294f77745d2935168bf4934a51f9ce7422cb9d9e21a09064be545f785b1"},"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 yuiAuthoredNode","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.\nyuiAuthoredNode sample = yuiAuthoredNode(\"id\", \"parent Id\", \"kind\", \"role\", \"accessibility Name\", \"example\", true)\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthorednode\"\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":"88eb7551b9ad22a5e5858a9635eecc71803c373963cddbd112240adf3fe831c7","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-8","title":"yuiAuthoredNode.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.\nyuiAuthoredNode instance = yuiAuthoredNode(\"id\", \"parent Id\", \"kind\", \"role\", \"accessibility Name\", \"example\", true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiauthorednode\"\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":"a04386ba9c1b43653c830bceb6c51ca09cb26b53da4fa90b3de7b70692a7c125","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","parentId","kind","role","accessibilityName","source","custom","yuiAuthoredNode","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiAuthoredNode","json":"https://demonhunterlabs.com/reference/items/ui--yuiAuthoredNode.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiAuthoredNode.md"}
