Methods
box()
A box: its display condition (if any), then its items, rows, inputs and buttons.
- Source:
button()
One of an interactive stage's buttons, as JS: what it is pressed on (the subject, a new
record, or the chosen row of a list), its inputs, its checkers, its programs, whether it
leaves the stage. Its functions have player, rec (the record), period and g (globals).
- Source:
buttons()
A box's buttons: in a form, they send it; else each is one of the stage's buttons (stage.buttons).
- Source:
chat()
A chat box: its table's entries that meet its condition, each in its format (worked out on
the server, as a list's rows), and an input for a new entry (stage.chats: the entry's
table and variable, and the box's programs, run on it).
- Source:
grid()
A grid box: its items in columns of equal length (the first holds the rows' labels), as z-Leaf shows it.
- Source:
history()
A history box: the subject's records of the periods before, a row each (worked out on the server, as a list's rows).
- Source:
item()
An item: text, a value, or an input (named player.X in a form, X otherwise); bare: without its label (a grid's cell).
- Source:
label()
A label: its text, z-Tree's <var|layout> as values.
- Source:
list()
A contract list: its table's records that meet its condition, sorted, worked out on the server (stage.lists).
- Source:
plot()
A plot box (stage.plots): draw, its items as shapes in the plot's coordinates for the
subject (graphs' items for each of their table's records), as the z-Tree dialect draws
them; and inputs, what each plot input does (by its place in the box: "1", "2.0", "2:0"
the first input of item 2), given the records it was drawn for (innermost first).
- Source:
screen()
A screen's boxes (the header first, if the stage shows it).
- Source:
serverValue()
A value only the server can work out (JS of player, period, g): put in player.zt_.v.
- Source:
shown()
A value shown with a layout ("1", "0.01", !text: ...): on the page if it can be, else from the server.
- Source:
start()
What a stage's screens collect: s.
- Source:
vue()
A subject's expression on the participant's page: player.X, period.globals.X; else null.
- Source: