STAT Library

You can import this library to help you in creating Custom Status for your components.

This simple utility library can be used to help format component custom statuses using HTML.

There are two example functions for formatting the different types of status information you want displayed. You can use them like this:

-- Format an informational status by passing in a label and a value local Status = STATrow("Filename", "ABC"); component.setStatus{data=Status} -- Format an error by passing an error message component.setStatus{data=STATerrorBlock("A problem has occured.")}

The main source file is here:

https://bitbucket.org/interfaceware/status/src/main/STATstatus.lua

Each function has help built in.

Â