AddChildren
You will find here AddChildrenAction definition and its attributes details
Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
On Beagle, an action deals with behaviours (functions), that are performed in your application when an event is triggered. These actions can be a Beagle’s default or customized by you.
Any Beagle’s event must be associated with an action list. See below a button’s component example, that associates with a default action alert to its onPress
event:
{
"_beagleComponent_": "beagle:button",
"text": "click to show alert",
"onPress": [{
"_beagleAction_": "beagle:alert",
"title": "Hello",
"message": "World"
}]
}
An action is map key/value with at least a _beagleAction_
property. Its value indicates which action must be performed when the event it is triggered. The other properties specify the parameters expected by the indicated action.
There are several default implemented actions on Beagle and all of them start with “beagle:” prefix and the customized actions start with “custom:”.
To learn how to create custom actions, check out Beagle’s customization section.
Below, you will find a complete description of the attributes that are part of the Standard Actions on Beagle.
You will find here AddChildrenAction definition and its attributes details
You will find here Alert definition and its attributes details
You will find here the definition of Condition and more details about its attributes
You will find here Confirm definition and its attributes details
You will find here the definition of FormLocalAction and details about its attributes.
You will find here the definition of FormRemoteAction and details about its attributes.
You will find here the definition of FormValidation and details about its attributes.
Here you’ll find action Navigate definition and pages for each of its attributes
You will find here SendRequest definition and its attributes details
Here you’ll find a definition for SetContext and its attributes details
You will find here the definition of SubmitForm and more details about its attributes
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.