diff options
Diffstat (limited to 'doc/ref/javascript')
-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 |