Defines the fluent API for configuring the EditorImmutablesSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorImmutablesSettingsBuilder
Inheritance: objectEditorImmutablesSettingsBuilder
Inherited Members
Constructors
public EditorImmutablesSettingsBuilder(EditorImmutablesSettings settings)
Methods
Defines a callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.
Defines a callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.
public EditorImmutablesSettingsBuilder Deserialization(string handler)
The name of the JavaScript function that will be evaluated.
Returns:Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.
public EditorImmutablesSettingsBuilder Serialization(string value)
The value that configures the serialization.
Returns:Defines a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.
Defines a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.
public EditorImmutablesSettingsBuilder SerializationHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns: