{"id":"ui--yuiCommandBinding","name":"yuiCommandBinding","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiCommandBinding","description":"A yui command binding record carrying id, scopeRootId, chord, command, source, 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":"scopeRootId","kind":"field","type":"text","description":"Stores scope root id as text.","signature":"text scopeRootId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"chord","kind":"field","type":"text","description":"Stores chord as text.","signature":"text chord","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"command","kind":"field","type":"text","description":"Stores command as text.","signature":"text command","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":"enabled","kind":"field","type":"bool","description":"Stores enabled as bool.","signature":"bool enabled","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiCommandBinding","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"scopeRootId","type":"text","description":"Scope root id."},{"name":"chord","type":"text","description":"Chord."},{"name":"command","type":"text","description":"Command."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiCommandBinding(text id, text scopeRootId, text chord, text command, text source)","description":"Yui command binding.","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-7","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-commands.yh","line":2,"sha256":"e2e8c72c706ccbd69c0b2ddd233acc049f721eab01ee309405ef53839a4826b1"},"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 yuiCommandBinding","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.\nyuiCommandBinding sample = yuiCommandBinding(\"id\", \"scope Root Id\", \"chord\", \"command\", \"example\")\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicommandbinding\"\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":"1370eebcf7afa7244d4b8af41328b2d17c72a2247102c762d52743c27967bc3f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-7","title":"yuiCommandBinding.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.\nyuiCommandBinding instance = yuiCommandBinding(\"id\", \"scope Root Id\", \"chord\", \"command\", \"example\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicommandbinding\"\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":"6b73b3bf10e2f6e09300b71b425f6274f7ce1091e95954ce3dfee5ee3c5a3750","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","scopeRootId","chord","command","source","enabled","yuiCommandBinding","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiCommandBinding","json":"https://demonhunterlabs.com/reference/items/ui--yuiCommandBinding.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiCommandBinding.md"}
