diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-16 19:08:59 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-06-16 19:08:59 +0200 |
commit | 6f23cf88f362122cee735f8df314dc4caae87947 (patch) | |
tree | dd91dc7b296f9cf079a747bf5ddb33e38064eb4d /doc/ref | |
parent | Add TODO about CSS foreground color. (diff) | |
download | calp-6f23cf88f362122cee735f8df314dc4caae87947.tar.gz calp-6f23cf88f362122cee735f8df314dc4caae87947.tar.xz |
Change to proper javascript privates.
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/javascript/vevent.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/ref/javascript/vevent.texi b/doc/ref/javascript/vevent.texi index 4ceaa380..97d15f2a 100644 --- a/doc/ref/javascript/vevent.texi +++ b/doc/ref/javascript/vevent.texi @@ -28,7 +28,7 @@ Component for a single instance of a calendar event. Almost all data access should go through @code{getProperty} and @code{setProperty}, with the exception of the current calendar (which is accessed directly through @code{calendar}). Almost all changes through these interfaces -are logged, and can be viewed in @var{_changelog}. +are logged, and can be viewed through @var{changelog}. @deftypemethod VEvent {any?} getProperty {key: string} @anchor{VEvent.getProperty} @@ -68,12 +68,16 @@ list, but only calls @var{redraw} once at the end. Returns an iterator of all our properties. @end deftypemethod -@deftypeivar VEvent {ChangeLogEntry[]} {_changelog} +@deftypeivar VEvent {ChangeLogEntry[]} {#changelog} Every write through getProperty gets logged here, and can be consumed. Hopefully this will one day turn into an undo system. @ref{ChangeLogEntry}. @end deftypeivar +@deftypeivar VEvent {IterableIterator<[number, ChangeLogEntry]>} changelog +Public (read only) interface to changelog. +@end deftypeivar + @deftypeivar VEvent {string?} calendar The name of the calendar which this event belongs to. @end deftypeivar |