Base Action Element
Getting Started | API | Elements | Actions | Validators | Handlers | Configuration Options | About
Table of Contents
1 Base Action
In object-oriented parlance, all Nitrogen actions are subclasses of the base actions. This means that all Nitrogen elements can use the attributes listed below.
Attributes
- module - (atom)
- The module containing the logic for this action. Set automatically.
- trigger - (atom)
- The id of the Nitrogen element that will trigger this action. Set automatically.
- target - (atom)
- The id of the Nitrogen element to be referenced by obj('me'). Set automatically.
- actions - (list af actions)
- A list of actions grouped within this action.
- show_if - (boolean)
- If set to true, this action will be rendered. Otherwise, it will not.