{"id":"ui--yuiKeyboardContract","name":"yuiKeyboardContract","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiKeyboardContract","description":"A yui keyboard contract record carrying role, activationKeys, navigationKeys, escapeBehavior, pointerCommand, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"role","kind":"field","type":"text","description":"Stores role as text.","signature":"text role","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"activationKeys","kind":"field","type":"text","description":"Stores activation keys as text.","signature":"text activationKeys","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"navigationKeys","kind":"field","type":"text","description":"Stores navigation keys as text.","signature":"text navigationKeys","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"escapeBehavior","kind":"field","type":"text","description":"Stores escape behavior as text.","signature":"text escapeBehavior","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"pointerCommand","kind":"field","type":"text","description":"Stores pointer command as text.","signature":"text pointerCommand","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"keyboardCommand","kind":"field","type":"text","description":"Stores keyboard command as text.","signature":"text keyboardCommand","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiKeyboardContract","kind":"constructor","parameters":[{"name":"role","type":"text","description":"Role."},{"name":"activationKeys","type":"text","description":"Activation keys."},{"name":"navigationKeys","type":"text","description":"Navigation keys."},{"name":"escapeBehavior","type":"text","description":"Escape behavior."},{"name":"pointerCommand","type":"text","description":"Pointer command."},{"name":"keyboardCommand","type":"text","description":"Keyboard command."}],"returns":"void","signature":"yuiKeyboardContract(text role, text activationKeys, text navigationKeys, text escapeBehavior, text pointerCommand, text keyboardCommand)","description":"Yui keyboard contract.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"SemanticsMatch","kind":"method","parameters":[],"returns":"bool","signature":"SemanticsMatch() returns bool","description":"Semantics match.","tags":["thing","method","ui"],"exampleId":"method-SemanticsMatch-7","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/interaction-commands.yh","line":167,"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 yuiKeyboardContract","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.\nyuiKeyboardContract sample = yuiKeyboardContract(\"role\", \"activation Keys\", \"navigation Keys\", \"escape Behavior\", \"pointer Command\", \"keyboard Command\")\nConsole.Log(Text.From(sample.role))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuikeyboardcontract\"\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":"c7097a21ac59fbdf7e00378888ff405b7fefc8b060342c9136de3652c0974cb2","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SemanticsMatch-7","title":"yuiKeyboardContract.SemanticsMatch","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Semantics match.\nyuiKeyboardContract instance = yuiKeyboardContract(\"role\", \"activation Keys\", \"navigation Keys\", \"escape Behavior\", \"pointer Command\", \"keyboard Command\")\nbool result = instance.SemanticsMatch()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuikeyboardcontract\"\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":"98135acf604dd0393713907380be65a08f71f3837511898f6100785de988ab8f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-8","title":"yuiKeyboardContract.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.\nyuiKeyboardContract instance = yuiKeyboardContract(\"role\", \"activation Keys\", \"navigation Keys\", \"escape Behavior\", \"pointer Command\", \"keyboard Command\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuikeyboardcontract\"\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":"f3790a855c6484db5b5649fe398dc7920213238219f19536840db07d182f1b9c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["role","activationKeys","navigationKeys","escapeBehavior","pointerCommand","keyboardCommand","yuiKeyboardContract","SemanticsMatch","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiKeyboardContract","json":"https://demonhunterlabs.com/reference/items/ui--yuiKeyboardContract.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiKeyboardContract.md"}
