From 6f23cf88f362122cee735f8df314dc4caae87947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 16 Jun 2022 19:08:59 +0200 Subject: Change to proper javascript privates. --- doc/ref/javascript/vevent.texi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/ref') 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 -- cgit v1.2.3