{"id":"ui--yuiControlSpec","name":"yuiControlSpec","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiControlSpec","description":"A yui control spec record carrying kind, name, state, value, binding, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"kind","kind":"field","type":"text","description":"Stores kind as text.","signature":"text kind","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"state","kind":"field","type":"text","description":"Stores state as text.","signature":"text state","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"value","kind":"field","type":"text","description":"Stores value as text.","signature":"text value","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"binding","kind":"field","type":"text","description":"Stores binding as text.","signature":"text binding","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"accessibility","kind":"field","type":"text","description":"Stores accessibility as text.","signature":"text accessibility","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"customHook","kind":"field","type":"text","description":"Stores custom hook as text.","signature":"text customHook","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiControlSpec","kind":"constructor","parameters":[{"name":"kind","type":"text","description":"Kind."},{"name":"name","type":"text","description":"Name."},{"name":"state","type":"text","description":"State."},{"name":"value","type":"text","description":"Value."},{"name":"binding","type":"text","description":"Binding."},{"name":"accessibility","type":"text","description":"Accessibility."},{"name":"customHook","type":"text","description":"Custom hook."}],"returns":"void","signature":"yuiControlSpec(text kind, text name, text state, text value, text binding, text accessibility, text customHook)","description":"Yui control spec.","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/ui.yh","line":876,"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 yuiControlSpec","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.\nyuiControlSpec sample = yuiControlSpec(\"kind\", \"Nova\", \"state\", \"value\", \"binding\", \"accessibility\", \"custom Hook\")\nConsole.Log(Text.From(sample.kind))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicontrolspec\"\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":"18ee8a43dda6635f89b16bcaef3ac117b8b933e480c852e8fee06b2e7a1aa485","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-8","title":"yuiControlSpec.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.\nyuiControlSpec instance = yuiControlSpec(\"kind\", \"Nova\", \"state\", \"value\", \"binding\", \"accessibility\", \"custom Hook\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicontrolspec\"\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":"3213736793e8d0e12315d73452bdff7727ba774f6b1050f1c2b3f76ee88e2288","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["kind","name","state","value","binding","accessibility","customHook","yuiControlSpec","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiControlSpec","json":"https://demonhunterlabs.com/reference/items/ui--yuiControlSpec.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiControlSpec.md"}
