CheckpointTagHelper
Kendo UI Checkpoint TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("kendo-checkpoint")]
[RestrictChildren("checkpoint-template", new string[] { "messages" })]
public class CheckpointTagHelper : TagHelperBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperBaseCheckpointTagHelper
Implements:
Inherited Members
Child Tags
Constructors
Initializes a new instance of the CheckpointTagHelper class.
public CheckpointTagHelper(IKendoHtmlGenerator generator)
Properties
Controls when the checkpoint button is visible.
public CheckpointDisplayMode? DisplayMode { get; set; }
The name of the JavaScript function that will handle the action event. Fired when the user clicks the checkpoint button.The event handler function context (available via the this keyword) will be set to the widget instance.
public string OnAction { get; set; }
The current action state of the checkpoint.
public CheckpointState? State { get; set; }
A function used to render the entire checkpoint body, replacing the default button layout. Called with an empty object and must return an HTML string. This option expects the name of a JavaScript function that will be called to return the template.
public string TemplateHandler { get; set; }
Configures the templates for the Checkpoint.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
Methods
Gets the generated initialization script.
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.
public override IDictionary<string, object> Serialize()
Overrides:
SerializeEvents method.
protected override Dictionary<string, object> SerializeEvents()
Overrides:
SerializeSettings method.
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Serializes the defined templates.
protected override Dictionary<string, object> SerializeTemplates()
Overrides:
Writes content to the output.
protected override void WriteHtml(TagHelperOutput output)
Overrides: