{"id":"frontend.yui--RegisterYuiEditableTextFieldDisplayResources","name":"RegisterYuiEditableTextFieldDisplayResources","owner":"yeho","package":"frontend.yui","kind":"function","signature":"external RegisterYuiEditableTextFieldDisplayResources(yuiDisplayList display, yuiEditableTextFieldLayout layout, text resourcePrefix, yuiResolvedStyle style) returns yuiDisplayList","description":"Register yui editable text field display resources.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[{"name":"display","type":"yuiDisplayList","description":"Supply display as yuiDisplayList."},{"name":"layout","type":"yuiEditableTextFieldLayout","description":"Supply layout as yuiEditableTextFieldLayout."},{"name":"resourcePrefix","type":"text","description":"Supply resource prefix as text."},{"name":"style","type":"yuiResolvedStyle","description":"Supply style as yuiResolvedStyle."}],"returns":"yuiDisplayList","members":[],"tags":["cpu","frontend","frontend.yui","function","source-example","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/input-render-editable_text_field.yh","line":418,"sha256":"8d416b4bad12876dc1b58a8cb32e1abb3e170509cbf0ccb388e54beec07f3382"},"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 RegisterYuiEditableTextFieldDisplayResources","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiDisplayList display = yuiDisplayList(\"surface Id\")\nyuiEditableTextFieldLayout layout = yuiEditableTextFieldLayout(yuiTextEditState(\"value\", yuiGraphemeMap(1, \"example\"), 1, true, \"clipboard Hook\"), 1, 1, 1)\ntext resourcePrefix = \"resource Prefix\"\nyuiResolvedStyle style = yuiResolvedStyle(\"Nova\", yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1), yuiColor(1, 1, 1, 1))\nyuiDisplayList result = RegisterYuiEditableTextFieldDisplayResources(display, layout, resourcePrefix, style)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__registeryuieditabletextfielddisplayresources\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"89c9590bea65155628d4dda29f1f833560e32f3cc94b8413aa7aff6387add4bc","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--RegisterYuiEditableTextFieldDisplayResources","json":"https://demonhunterlabs.com/reference/items/frontend.yui--RegisterYuiEditableTextFieldDisplayResources.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--RegisterYuiEditableTextFieldDisplayResources.md"}
