OTPInputBuilder
Defines the fluent API for configuring the Kendo OTPInput for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class OTPInputBuilder : WidgetBuilderBase<OTPInput, OTPInputBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<OTPInput, OTPInputBuilder>OTPInputBuilder
Implements:
Inherited Members
Constructors
Methods
If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
public OTPInputBuilder Enable(bool value)
The value that configures the enable.
Returns:Configures the client-side events.
public OTPInputBuilder Events(Action<OTPInputEventBuilder> configurator)
The client events action.
Returns:Sets a value controlling how the color is applied.
public OTPInputBuilder FillMode(FillMode value)
The value that configures the fillmode.
Returns:Sets the appearance of the keyboard for a devices with a virtual keyboard
public OTPInputBuilder InputMode(string value)
The value that configures the inputmode.
Returns:Sets the Otp Input's items configuration.
public OTPInputBuilder Items(Action<OTPInputItemFactory> configurator)
The action that configures the items.
Returns:The hint displayed by the widget when the inputs are empty. Not set by default.
public OTPInputBuilder Placeholder(string value)
The value that configures the placeholder.
Returns:If set to false, the user will be will unable to enter values within the inputs. The widget is non-readonly by default and allows user input.
public OTPInputBuilder Readonly(bool value)
The value that configures the readonly.
Returns:Sets a value controlling the border radius.
public OTPInputBuilder Rounded(Rounded? value)
The value that configures the rounded.
Returns:Adds a separator for each of the input groups.
public OTPInputBuilder Separator(string value)
The value that configures the separator.
Returns:Adds a separator for each of the input groups.
public OTPInputBuilder SeparatorHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:Sets the size of the component.
public OTPInputBuilder Size(ComponentSize? value)
The value that configures the size.
Returns:If set to true, each of the input groups will not be concatenated with one another.
public OTPInputBuilder Space(bool value)
The value that configures the space.
Returns:Sets a value which will dictate the type of the component.
public OTPInputBuilder Type(OTPType value)
The value that configures the type.
Returns:The value of the widget.
public OTPInputBuilder Value(string value)
The value that configures the value.
Returns: