OTPInputBuilder
Defines the fluent API for configuring the Kendo UI OTPInput
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class OTPInputBuilder : WidgetBuilderBase<OTPInput, OTPInputBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<OTPInput, OTPInputBuilder>OTPInputBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the OTPInputBuilder class.
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.
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 for FillMode
Returns:Sets the appearance of the keyboard for a devices with a virtual keyboard
public OTPInputBuilder InputMode(string value)
The value for InputMode
Returns:Sets the Otp Input's items configuration.
public OTPInputBuilder Items(Action<OTPInputItemFactory> configurator)
The configurator for the items setting.
Returns:Sets the number of items in the OTPInput.
public OTPInputBuilder Items(int length)
The number of items
Returns:Returns the current OTPInputBuilder instance.
The hint displayed by the widget when the inputs are empty. Not set by default.
public OTPInputBuilder Placeholder(string value)
The value for 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.
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.
Sets a value controlling the border radius.
public OTPInputBuilder Rounded(Rounded? value)
The value for Rounded
Returns:Adds a separator for each of the input groups.
public OTPInputBuilder Separator(string value)
The value for 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 for Size
Returns:If set to true, each of the input groups will not be concatenated with one another.
If set to true, each of the input groups will not be concatenated with one another.
Sets a value which will dictate the type of the component.
The value of the widget.