public static class PlainTextInputElement.PlainTextInputElementBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
PlainTextInputElement.PlainTextInputElementBuilder |
actionId(String actionId)
An identifier for the input value when the parent modal is submitted.
|
PlainTextInputElement |
build() |
PlainTextInputElement.PlainTextInputElementBuilder |
initialValue(String initialValue)
The initial value in the plain-text input when it is loaded.
|
PlainTextInputElement.PlainTextInputElementBuilder |
maxLength(Integer maxLength)
The maximum length of input that the user can provide.
|
PlainTextInputElement.PlainTextInputElementBuilder |
minLength(Integer minLength)
The minimum length of input that the user must provide.
|
PlainTextInputElement.PlainTextInputElementBuilder |
multiline(boolean multiline)
Indicates whether the input will be a single line (false) or a larger textarea (true).
|
PlainTextInputElement.PlainTextInputElementBuilder |
placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
String |
toString() |
public PlainTextInputElement.PlainTextInputElementBuilder actionId(String actionId)
public PlainTextInputElement.PlainTextInputElementBuilder placeholder(PlainTextObject placeholder)
public PlainTextInputElement.PlainTextInputElementBuilder initialValue(String initialValue)
public PlainTextInputElement.PlainTextInputElementBuilder multiline(boolean multiline)
public PlainTextInputElement.PlainTextInputElementBuilder minLength(Integer minLength)
public PlainTextInputElement.PlainTextInputElementBuilder maxLength(Integer maxLength)
public PlainTextInputElement build()
Copyright © 2020. All rights reserved.