Members
-
DataTypestring
-
Enum string values.
Properties:
Name Type Default Description STRINGstring STRING NUMBERstring NUMBER CUSTOMstring CUSTOM CHECKBOXstring CHECKBOX
Type Definitions
-
GadgetSettingObject
-
Properties:
Name Type Argument Description nameString The techincal name of the setting
defString | Number The default value to be used if no value is specified. If a number is specified the default value will be
the value from the enum array with the given index.typeString The type of the setting. (string | boolean | number)
enumArray An Array of values i.e. ["A", "B"] that the user can choose from.
Or an Array of key value pairs i.e. [[0, "A"], [1, "B"]]. The values must be of the type defined in type.descString <optional>
The description of this setting
-
ListActionObject
-
Properties:
Name Type Argument Description namestring Unique name of the action
labelstring Label to display for this action
typestring Type of the action ("button" or "list") default: "button"
actionstring Action to be executed, e.g., ("runScript:myScript&myParam=value")
imageFilestring <optional>
The action is displayed with the referenced icon (
entypo:orionicons:syntax is supported). Only for typebuttontooltipstring <optional>
Optional tooltip
clientActionstring <optional>
[ONLY USEABLE IN GADGET CONTEXT] Register a client function that is called with an array of ids if showCheckboxes is enabled
gadgetActionstring <optional>
[ONLY USEABLE IN GADGET CONTEXT] Register a gadget action belonging to the same gadgetScript to be executed on click
-
SystemUserobject
-
The Portalscript SystemUser