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/script.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/script.texi')
-rw-r--r-- | doc/ref/javascript/script.texi | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/doc/ref/javascript/script.texi b/doc/ref/javascript/script.texi deleted file mode 100644 index a60343e4..00000000 --- a/doc/ref/javascript/script.texi +++ /dev/null @@ -1,60 +0,0 @@ - -@node script -@subsection script.js - -@dfn{Main} for my javascript, and also currently dumping ground for stuff. - -@deftp {class} EventCreator - -@defmethod EventCreator create_empty_event -@end defmethod - -@defmethod EventCreator create_event_down intended_target -@end defmethod - -@defmethod EventCreator create_event_move pos_in [round=1] [wide_element=false] -@end defmethod - -@defmethod EventCreator create_event_finisher callback -@end defmethod - -@end deftp - -@defun place_in_edit_mode event -@end defun - -@c window.onload is here in source file - -@defun get_property event field default_value -Returns the @emph{value} slot of given field in @var{event}, creating it if needed. - -@itemize -@item -@var{el}: the event to work on - -@item -@var{field}: name of the field - -@item -@var{default_value}: default value when creating - -@item -@var{bind_to_ical} should this property be added to the icalendar subtree? -@end itemize -@end defun - -@defun bind_properties el [wide_event=false] -@anchor{bind_properties} -@ref{binders} - Properties are icalendar properties. - - p['name'] to get and set value (also updates any connected slots) - - p['_value_name'] for raw value - p['_slot_name'] for connected slots, Vector of pairs, where the - car should be a reference to the slot, and the - cdr a procedure which takes a slot and a value - and binds the value to the slot. -@end defun - - |