mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Add 0 Based Position tip.
This commit is contained in:
parent
b692514523
commit
1b93db019c
@ -298,6 +298,7 @@ iteration.
|
||||
* `$First`, `$Last`, `$Middle`: Booleans about the position in the list.
|
||||
* `$FirstLast`: Returns a string, "first", "last", or "". Useful for CSS classes.
|
||||
* `$Pos`: The current position in the list (integer). Will start at 1.
|
||||
* `$Pos(0)`: The current position in the list (integer). Will start at 0.
|
||||
* `$TotalItems`: Number of items in the list (integer).
|
||||
|
||||
:::ss
|
||||
|
Loading…
Reference in New Issue
Block a user