{"id":"ui--RenderYuiBlockDiagnostics","name":"RenderYuiBlockDiagnostics","owner":"yeho","package":"ui","kind":"function","signature":"external RenderYuiBlockDiagnostics(yuiBlock first, yuiBlock second) returns text","description":"Format yui block diagnostics as readable text.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[{"name":"first","type":"yuiBlock","description":"Supply first as yuiBlock."},{"name":"second","type":"yuiBlock","description":"Supply second as yuiBlock."}],"returns":"text","members":[],"tags":["cpu","function","source-example","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/ui.yh","line":273,"sha256":"2745dad504552ce545dea2a953613be247f8b49f1b6712811e0a370cfa9e8575"},"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 RenderYuiBlockDiagnostics","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.\nyuiBlock first = yuiBlock(yuiBlockId(\"value\"), yuiBlockId(\"value\"), yuiComponentMetadata(\"Nova\", \"role\", \"property Schema\", \"child Rule\", \"defaults\", \"example\", \"design Label\", true), \"Player health\", \"content\", 1)\nyuiBlock second = yuiBlock(yuiBlockId(\"value\"), yuiBlockId(\"value\"), yuiComponentMetadata(\"Nova\", \"role\", \"property Schema\", \"child Rule\", \"defaults\", \"example\", \"design Label\", true), \"Player health\", \"content\", 1)\ntext result = RenderYuiBlockDiagnostics(first, second)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__renderyuiblockdiagnostics\"\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":"0bc6e80a00c616a6744463bef25ac5c1e98dc0acf4a04f548d8c6f9c5c5b9b59","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=ui--RenderYuiBlockDiagnostics","json":"https://demonhunterlabs.com/reference/items/ui--RenderYuiBlockDiagnostics.json","markdown":"https://demonhunterlabs.com/reference/text/ui--RenderYuiBlockDiagnostics.md"}
