Interface Reference
Interface Reference
Constructor (Fliplet.Helper
)
Defines a new Helper for the current screen. Use the constructor in Global JS code to define it for the entire app.
- public static object Fliplet.Helper(options: Object)
Fliplet.Helper({
name: String
configuration: Object
});
Parameters of the configuration
object:
Name | Type | Attribute | Description |
---|---|---|---|
configuration.title |
string |
optional | A title to display at the top of the configuration interface |
configuration.fields |
array |
required | The list of fields to display in the UI. |
configuration.beforeReady |
function |
optional | A function to run before the configuration interface gets initialized. |
configuration.ready |
function |
optional | A function to run when the configuration interface gets initialized. |
configuration.beforeSave |
function |
optional | A function to run before the configuration interface data is saved.. |