DeltaChangedEventArgs
Namespace: Wisej.Web.Ext.QuillJS
Assembly: Wisej.Web.Ext.QuillJS (4.1.0.0)
Provides data for the DeltaChanged event.
- C#
- VB.NET
public class DeltaChangedEventArgs : EventArgs
Public Class DeltaChangedEventArgs
Inherits EventArgs
Constructors
DeltaChangedEventArgs(oldDelta, newDelta, source)
Initializes a new instance of the DeltaChangedEventArgs class.
| Name | Type | Description |
|---|---|---|
| oldDelta | QuillDelta | The content of the editor before the change. |
| newDelta | QuillDelta | The delta describing the change, or the new content of the editor. |
| source | String | The source of the change: "user", "api" or "silent". |
Properties
NewDelta
QuillDelta: Returns the delta describing the change, or the new content of the editor.
OldDelta
QuillDelta: Returns the content of the editor before the change, as a QuillDelta.
Source
String: Returns the source of the change.
QuillJS uses "user" for changes made by the user, "api" for changes made programmatically and "silent" for programmatic changes that don't fire events.
Used By
| Name | Description |
|---|---|
| QuillJSEditor.DeltaChangedEventHandler | Delegate for the DeltaChanged event. |