{"id":"ui--yuiCompositionEvent","name":"yuiCompositionEvent","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiCompositionEvent","description":"A yui composition event record carrying phase, rangeStart, rangeEnd, value, source.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"phase","kind":"field","type":"text","description":"Stores phase as text.","signature":"text phase","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"rangeStart","kind":"field","type":"int","description":"Stores range start as int.","signature":"int rangeStart","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"rangeEnd","kind":"field","type":"int","description":"Stores range end as int.","signature":"int rangeEnd","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":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiCompositionEvent","kind":"constructor","parameters":[{"name":"phase","type":"text","description":"Phase."},{"name":"rangeStart","type":"int","description":"Range start."},{"name":"rangeEnd","type":"int","description":"Range end."},{"name":"value","type":"text","description":"Value."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiCompositionEvent(text phase, int rangeStart, int rangeEnd, text value, text source)","description":"Yui composition event.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-6","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/text-definitions.yh","line":172,"sha256":"e1caaa89623be9b30f2bb9a81c77a4babed53f9f452127d047300ef2f5fd3d1c"},"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 yuiCompositionEvent","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.\nyuiCompositionEvent sample = yuiCompositionEvent(\"phase\", 1, 1, \"value\", \"example\")\nConsole.Log(Text.From(sample.phase))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicompositionevent\"\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":"3faba5b7bbc5584fc0b75879fc6499ad6215125f441da260076fca7b9585af91","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-6","title":"yuiCompositionEvent.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiCompositionEvent instance = yuiCompositionEvent(\"phase\", 1, 1, \"value\", \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicompositionevent\"\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":"ec5dae56b775a589ccf08452a55dc72497c741392315f82c37deda45f11c2115","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["phase","rangeStart","rangeEnd","value","source","yuiCompositionEvent","ValidationIssue"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiCompositionEvent","json":"https://demonhunterlabs.com/reference/items/ui--yuiCompositionEvent.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiCompositionEvent.md"}
