haxeui-rich-text

Rich text for HaxeUI


Keywords
haxeui, rich, ui
License
MIT
Install
haxelib install haxeui-rich-text 0.1.2

Documentation

Rich text components for HaxeUI

Installation

First install haxeui & haxeui-rich-text via haxelib:

haxelib install haxeui
haxelib install haxeui-rich-text

Once installed add

<haxelib name="haxeui" />
<haxelib name="haxeui-rich-text" />

to your openfl application.xml.

Usage

When you application starts the rich text module will auto init and register the classes and add styles (like icons for the buttons).

There are presently just two components:

  • RTFView:
<rtfview width="100%" height="100%" text="asset://ui/example.txt" />
  • Code:
<code width="100%" height="100%" text="asset://ui/example.hx" syntax="haxe" />