EditorImmutablesSettingsBuilder
Defines the fluent API for configuring the EditorImmutablesSettings settings.
Methods
Serialization(System.String)
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.
Parameters
value - System.String
The value that configures the serialization.
SerializationHandler(System.String)
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.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
SerializationHandler(System.Func)
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.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Deserialization(System.String)
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.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Deserialization(System.Func)
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.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.