umajin_script

This example shows how a custom script is integrated into the Umajin App Creator experience. The aim is to give developers plenty of power, but to make it super easy for the designers who are using the editor.

Here is an example Lua script which a developer has created. This first registers the currency function and labels it “Currency Convert”. The register function also specifies the parameters, the type of the parameters and the labels to display inside the editor.

The function itself retrieves values from the specified components and calls a yahoo financial web service to retrieve an exchange rate. Once that exchange rate is returned it then updates a text field on the page.

umajin_script

This video shows the experience from the Umajin editor perspective.