JavaScript API Reference/Ab.timeline.Model object

getPendingEvents()

Return an array of Ab.timeline.Event objects that were changed by the user, but have not been saved to the server yet. The array contains new events and deleted events. Each event object contains the status property that can be used to determine how the change should be processed.

Parameters: none