diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-12 23:29:06 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-12-13 02:26:51 +0100 |
commit | 5e4aa8e9aba34bb101923685c23f0f6681a12812 (patch) | |
tree | 0bed50b63266ab65931a027c59e7b901f06d9d82 /doc/ref/javascript/components/vevent.texi | |
parent | Made VEventComponent template optional. (diff) | |
download | calp-5e4aa8e9aba34bb101923685c23f0f6681a12812.tar.gz calp-5e4aa8e9aba34bb101923685c23f0f6681a12812.tar.xz |
Add documenttation for javascript rewrite.
Diffstat (limited to 'doc/ref/javascript/components/vevent.texi')
-rw-r--r-- | doc/ref/javascript/components/vevent.texi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ref/javascript/components/vevent.texi b/doc/ref/javascript/components/vevent.texi new file mode 100644 index 00000000..be53a46e --- /dev/null +++ b/doc/ref/javascript/components/vevent.texi @@ -0,0 +1,23 @@ +@subsection vevent + +@deftp {Abstract Web Component} ComponentVEvent {uid: string?} + +@c TODO what is done in the default constructor, +@c and the default connectedCallback + +This registeres itself, but doesn't redraw +We do however redraw in connectedCallback + +@deftypeivar ComponentVEvent uid uid +@end deftypeivar + +@deftypeivar ComponentVEvent {HTMLTemplateElement?} template +@end deftypeivar + +@deftypemethod ComponentVEvent void redraw (data: VEvent) +While abstract for this, @emph{must} be overridden for everyone else +@end deftypemethod +@end deftp + +Note that many of these assume that their initial children are +configured specifically, that is however not completely documented. |