| Attributes | Description | Options | Default |
|---|---|---|---|
| location | Navigator mode. |
| Attributes | Description | Options | Default |
|---|---|---|---|
| traversal | Navigator mode. | ||
| show-title | When true, renders context name as well. | false |
| Attributes | Description | Options | Default |
|---|---|---|---|
| options | Navigator mode. | ||
| decorators | When true, aditional DIVs are added at top and bottom. | ||
| level | Number of the item level. | ||
| preloaded | Number of preloaded children. | ||
| show-current | When true, children passing preloaded value will show along with ancestors and siblings, as opposed to not showing any child with level over level + preloaded. | true |
| Attributes | Description | Options | Default |
|---|---|---|---|
| tabulator | Navigator mode. | ||
| level | Number of the item level. |
| Attributes | Description | Options | Default |
|---|---|---|---|
| level | Tells until which level contexts are shown. | 1 |
| Attributes | Description | Options | Default |
|---|---|---|---|
| behavioural_keywords | Keywords controlling how information displays. | popup, external, hidden, verbose | |
| navigational_keywords | Keywords to navigate Elephant contexts. | parent, locate, level, root, match | |
| selection_keywords | Keywords actually returning contexts. | all, siblings, search, children, self, leaf, ancestors |
| Attributes | Description | Options | Default |
|---|---|---|---|
| behavioural_keywords | Keywords controlling how information displays. | popup, external, hidden, verbose | |
| navigational_keywords | Keywords to navigate Elephant contexts. | parent, locate, level, root, match | |
| selection_keywords | Keywords actually returning contexts. | all, siblings, search, children, self, leaf, ancestors |
behavioural keywords areBehavioural keywords stand for keywords controlling how information displays. The way behaviours will extend in future versions might be controlled in this section.
|
Behavioural keyword |
Description |
|
verbose |
Writes the whole path to context, starting from current context. |
|
popup |
Popup effect on resulting links is to open a popup instead of opening a new context. |
|
hidden |
Hidden contexts will show, even if protected. |
|
external |
Links will open on a new tab or window. |
navigational keywords and selection keywords mean
Navigational keywords end up as a list, colon separated, of keywords pointing to existing contexts. As starting point, path_to_contexts initializes to current context, that is, the web page where macro displays.
Here comes a brief description of what each keyword does and after some clear examples:
Navigation keywords move current selection from context to context.
|
Navigation keyword |
Description |
|
parent |
Moves to current selection's parent |
|
root |
Moves to root context |
|
level |
Moves to ancestor[level] |
|
locate |
Moves next token path, expands |
|
match |
Moves to matching context from current selection using regular expressions |
Selection keywords actually return contexts, one or several. A zero results it's considered an error an macro will displays with m_error class, which defaults to red color and a warning image. Otherwise, macro expands into m_list class.
|
Render keyword |
Description |
|
self |
Returns current selection |
|
children |
Returns current selection's children |
|
all |
Returns all descendant contexts |
|
leaf |
Returns all descendant contexts having no children |
|
ancestors |
Returns current selection's ancestors |
|
siblings |
Returns current selection's siblings, including itself |
|
search |
Returns matching contexts from current selection |
|
Macro |
Description |
|
{Navigational {Navigational |
|
|
{[ Core, Navigational, Modules, Documentation, Macro summary ] |
|
| English | 06/08/11 18:02 | Lluís Turró Cutiller | |
| English | 08/08/13 10:32 | Lluís Turró Cutiller | |
| English | 01/08/18 10:18 | Lluís Turró Cutiller | |
| English | 03/25/20 07:40 | Lluís Turró Cutiller | |
| English | 03/25/20 09:48 | Lluís Turró Cutiller | |
| English | 09/15/20 07:34 | Lluís Turró Cutiller |