ProposedChangesControllerOptions
interface
The options of ProposedChangesController.
Properties
autoAdvanceDelay?: numbermodule:ai/toolkit/proposedchangescontrollertype~ProposedChangesControllerOptions#autoAdvanceDelayHow long, in milliseconds, the preview waits after the user applies, suggests or rejects a change in the attached view or in the preview balloon before it moves on to the next change. The decided change shows its new state in the meantime. Set it to
0to move on right away.Applies only when
hasPreviewis on. Calling the controller methods, for exampleapplyChange, never waits.Defaults to
600hasPreview?: booleanmodule:ai/toolkit/proposedchangescontrollertype~ProposedChangesControllerOptions#hasPreviewWhether proposed changes are previewed in the document, in the balloon of the editor the change belongs to. Applies both to the previews opened from the attached view and to
previewChange.Requires the editor to load the
AIChatBalloonplugin.Defaults to
false