{"id":"ui--yuiVirtualRange","name":"yuiVirtualRange","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiVirtualRange","description":"A yui virtual range record carrying startIndex, endIndex, realizedCount, generation.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"startIndex","kind":"field","type":"int","description":"Stores start index as int.","signature":"int startIndex","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"endIndex","kind":"field","type":"int","description":"Stores end index as int.","signature":"int endIndex","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"realizedCount","kind":"field","type":"int","description":"Stores realized count as int.","signature":"int realizedCount","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"generation","kind":"field","type":"int","description":"Stores generation as int.","signature":"int generation","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiVirtualRange","kind":"constructor","parameters":[{"name":"startIndex","type":"int","description":"Start index."},{"name":"endIndex","type":"int","description":"End index."},{"name":"count","type":"int","description":"Count."},{"name":"generation","type":"int","description":"Generation."}],"returns":"void","signature":"yuiVirtualRange(int startIndex, int endIndex, int count, int generation)","description":"Yui virtual range.","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-5","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/layout-virtual.yh","line":4,"sha256":"422119501235f2ef4675b1afd3c947951cfc0bedf81255f7a854da295bb01786"},"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 yuiVirtualRange","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.\nyuiVirtualRange sample = yuiVirtualRange(1, 1, 1, 1)\nConsole.Log(Text.From(sample.startIndex))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuivirtualrange\"\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":"cf8aecd953d5810021fc8f75995adda293d69b9d13074c4b46aafcb87c3e0aa0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-5","title":"yuiVirtualRange.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.\nyuiVirtualRange instance = yuiVirtualRange(1, 1, 1, 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuivirtualrange\"\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":"b69fd4d0a1f15d4466d61d8341b1e64a3a1a25d6fa9064ae36d283456f0dc33a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["startIndex","endIndex","realizedCount","generation","yuiVirtualRange","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiVirtualRange","json":"https://demonhunterlabs.com/reference/items/ui--yuiVirtualRange.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiVirtualRange.md"}
