Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

IguanaX makes it very easy to implement a custom status for components. By status, we mean to show information about what the component is doing on the component’s card.

It’s super useful because you can really customize what the component shows which makes your interfaces much easier to understand.

Try out a basic example:

 Use component.setStatus{data=Text}

Make a component and use this:

component.setStatus{data="Hello world!"}
 When you run the component you will see Hello world! in the status at the bottom of the component card

Remember to make sure the component is either in development mode or run off a commit with the code. SeeChoosing the code to run for your component.

 You can use HTML to format the status - and we provide a simple STAT library to do just that

If you import the STATus library it has a couple of helper functions to format your code more nicely with HTML markup.

Import the library and try the code example:

local Status = STATrow("Age", 14);
component.setStatus{data=Status}

Then when you look at the card you will see nicer formatting of this data:

  • No labels