The configuration of where to render Tron interface.
Where to render the GUI:
hidden : Target
GUI is hidden. For example, for the case of dat.gui
, where your interface is on the JS side, but uses Tron definition in Elm.
See example/DatGui
for details.
toHtml : Tron.Style.Dock.Dock -> Tron.Style.Theme.Theme -> Target
Render to HTML using given theme (dark/light) and docked at the requested side (see Tron.Style.Dock
). Most used option!
toVr : Tron.Style.Theme.Theme -> Target
Render to Virtual Reality using given theme (dark/light); Experimental. Uses a-frame
library for render, so it should be included in your HTML;
See example/AFrame
for details.
toDebug : Tron.Style.Dock.Dock -> Tron.Style.Theme.Theme -> Target
Render to Debug mode where all the controls are represented as text boxes with information.