aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/javascript/formatters.texi
blob: 65df48c4c3f31f39958fc1cebf303e1aceed9de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@node formatters
@subsection formatters

Formatting procedures used by some components.
@c TODO can we have a backref of every node containing @ref{formatters-proc}?

@deftypevar {Map<string, (e:HTMLElement, s:any) => void>} formatters
@anchor{formatters-proc}

Each procedure takes two arguments. The HTML-element which contents
should be replaced, along with the target value, as returned by @ref{VEvent.getProperty}.
@end deftypevar