aboutsummaryrefslogtreecommitdiff
path: root/doc/ref/javascript/clock.texi
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-12 23:29:06 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-13 02:26:51 +0100
commit5e4aa8e9aba34bb101923685c23f0f6681a12812 (patch)
tree0bed50b63266ab65931a027c59e7b901f06d9d82 /doc/ref/javascript/clock.texi
parentMade VEventComponent template optional. (diff)
downloadcalp-5e4aa8e9aba34bb101923685c23f0f6681a12812.tar.gz
calp-5e4aa8e9aba34bb101923685c23f0f6681a12812.tar.xz
Add documenttation for javascript rewrite.
Diffstat (limited to 'doc/ref/javascript/clock.texi')
-rw-r--r--doc/ref/javascript/clock.texi10
1 files changed, 2 insertions, 8 deletions
diff --git a/doc/ref/javascript/clock.texi b/doc/ref/javascript/clock.texi
index 5c2bd954..10ab7d4e 100644
--- a/doc/ref/javascript/clock.texi
+++ b/doc/ref/javascript/clock.texi
@@ -1,21 +1,15 @@
@node clock
@subsection clock.js
-@deftp {(abstract) class} Clock
+@deftp {abstract class} Clock
Interface for ``things'' which wants to get updated on a human timescale.
@defmethod Clock update now
+@c abstract method
Called every now and then, with @var{now} being the current time.
@end defmethod
-
-All instances are expected to implement @code{update}, but are free to
-implement any other methods they see fit.
@end deftp
-Below, only the methods (including @code{constructor} and
-@code{update} which do something of note (excluding the expected))
-are noted.
-
@deftp {class} Timebar @extends{Clock}
The (blue) vertical line which show the current time in the current day.