13.16. slot
Aus Hugo Doku
@#slot<![flag, ]slot_id !>
Description:
Long form of calling a slot. It is the same wether you declare a slot and the write @#slot_id for calling it or wether you call it with @#slot(!slot_id!). In the second case you need not to declare the slot, but it is recommended that you use the first form of calling because the frame class is then much more readable, if you see all used slots declared at the beginning of the frame.
The advantage of the second variant is that you can use the conditioned flag parameter.
Parameter:
| Name | Type | Meaning |
|---|---|---|
| flag | boolean | Flag, if set to true, the function is called, otherwise not. (Default-Value: true) |
| slot_id | String | The name of the slot which is searched in all the children tags. |
Next: 13.17. slot_list
