Class CollaborationSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CollaborationSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.BlockEditor
Assembly: Syncfusion.AspNetMvc.BlockEditor.dll
Syntax
public class CollaborationSettingsBuilder : ControlBuilder
Constructors
CollaborationSettingsBuilder()
Declaration
public CollaborationSettingsBuilder()
CollaborationSettingsBuilder(CollaborationSettings)
Declaration
public CollaborationSettingsBuilder(CollaborationSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| CollaborationSettings | model |
Methods
Adapter(Object)
Specifies the collaboration adapter used to integrate the editor with a collaborative data model/runtime such as Yjs.
Declaration
public CollaborationSettingsBuilder Adapter(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| CollaborationSettingsBuilder |
EnableAwareness(Boolean)
Specifies whether to enable awareness for cursor tracking across users. When enabled, users can see each other's cursor positions.
Declaration
public CollaborationSettingsBuilder EnableAwareness(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| CollaborationSettingsBuilder |
Provider(Object)
Specifies the list of provider instances for syncing changes across clients. Can include WebsocketProvider, HocusPocusProvider, or other multiplayer providers.
Declaration
public CollaborationSettingsBuilder Provider(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| CollaborationSettingsBuilder |
VersionHistory(Object)
Configures the version history feature.
When provided with a valid storage backend, automatic snapshotting is enabled
and the version management API becomes available via getVersionHistory().
Declaration
public CollaborationSettingsBuilder VersionHistory(object value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value |
Returns
| Type |
|---|
| CollaborationSettingsBuilder |