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/date_time.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/date_time.texi')
-rw-r--r-- | doc/ref/javascript/date_time.texi | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/doc/ref/javascript/date_time.texi b/doc/ref/javascript/date_time.texi deleted file mode 100644 index b2c5db92..00000000 --- a/doc/ref/javascript/date_time.texi +++ /dev/null @@ -1,41 +0,0 @@ -@node date_time -@subsection date_time.js - -@defun init_date_time -@c possibly have special index for these -@cindex dummy component -Procedure which initializes the dummy component for date-time input. -When called, finds all elements with class ``date-time'', and makes -them date-time inputs. - -@c <input type='date-time'/> - -The expected HTML form is -@example -<div class="date-time" name="@var{name}"> - <input type="date"/> - <input type="time"/> -</div> -@end example - -Each date-time gets the following fields: - -@defivar date_time value -The current date-time value as a string, -on the form @code{YYYY-mm-ddTHH:MM[:SS]} -(@code{SS} if the underlying time input has it). - -A new date-time can also be set to the field, the same format as above -is expected. -@end defivar - -@defivar date_time name -The ``name'' field of the date-time input. Since @code{name} note that -this is an addition, since name is actually invalid on non-input -components. We nevertheless use it here since we are emulating an -input element. -@end defivar - -See also @pxref{bind_date_time} - -@end defun |