App Creator

This is TwinAPI documentation work in progress

class TwinAPI.AppManager.AppCreator.AppCreator(appId, appTitle)
SetInput(label)

Inserts a basic input field to the app’s user interface. Sets the input field’s title as the given label.

AddButton(label)

Inserts a button to the app’s user interface. This button needs to be added in order to execute calculations and get the output. Button’s text is set as the given label.

SetOutput(label)

Inserts a basic output field to the app’s user interface. After executing the calculations this output field will be updated according to inputs. Output field’s title is set as the given label.

Create()

Collects user interface elements and creates a web app which is formed by the collected UI elements. Then deploys the created app to the web.