Common attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
| showOnView | STRING | book,index,slide,scroll | Specifies in which views the element is displayed. It can be either book, index, slide, scroll or a comma separated list of views (ex: book,slide). |
| showOnMode | STRING | normal,fullscreen | Specifies in which modes the element is displayed. It can be either mini, normal, fullscreen or a comma separated list of modes (ex: normal,fullscreen). |
| showOnState | STRING | normal,zoom | Specifies in which states the element is displayed. It can be either normal or zoom. |
| showOnPages | STRING | first-last | Specifies on which pages the element is displayed. It can be either a page number (ex: 3), a range of pages (ex: 1-9), first for the first page, last for the last page or a comma separated list of pages (ex: 1,7-9,last). |
| showOnDirection | STRING | ltr,rtl | Specifies in which direction the element is displayed. It can be either ltr (left to right), rtl. |
| behaviors | STRING | A comma separated list of behavior references or group (ex: fade,sound+cursor). Behaviors separated by a comma are triggered one after the other. Behaviors in a group are triggered simultaneously. |
You can group behaviors together so that they will be triggered simultaneously.
To group behaviors, simply use the + symbol.
Example
<layout behaviors="fade+sound" ></layout>