Everytime i see the completion for Toolkit.init(), i die a little inside.
Media
Possible Solution
Use the same principle that basically drives all the backend code (e.g. ComponentBase) and implement a proper ToolkitOptions type defined in the backends. So if you take the html5 backend as an example it would be defined in haxeui/haxeui-html5
Current Behavior
Everytime i see the completion for
Toolkit.init()
, i die a little inside.Media
Possible Solution
Use the same principle that basically drives all the backend code (e.g. ComponentBase) and implement a proper
ToolkitOptions
type defined in the backends. So if you take the html5 backend as an example it would be defined in haxeui/haxeui-html5In kha it would currently be just empty