Note

All code samples below refer to the skuid object.

In the v2 API, this object is not directly accessible when working within a browser console—or when referring to another Skuid page runtime.

If you are experiencing issues, use the skuid.runtime API to target the appropriate page context.

skuid.actions


Good news, everyone!

We are currently writing more material for our Javascript API. All of the objects and functions you see below are part of Skuid’s public API, even if they aren’t fully documented yet. Feel free to experiment while we write about them—and check back later for updates.


skuid.actions.runActionsNode(actionsXMLNode, component, context)

Runs the Action Framework on an <actions> XML node containing child actions to run.

Arguments:
  • actionsXMLNode (XML element) – A jQuery wrapped XML “actions” node containing a series of XML “action” nodes to run in sequence.
  • component (skuid.component.Component) – The Skuid Component responsible for executing this actions node.
  • context (object) – An object to use as the starting context for the action steps. For data aware components, this object may include model and row properties representing the Model and Row that should be acted on.