Package org.patternfly.component.help
Class HelperText
java.lang.Object
org.patternfly.component.BaseComponentFlat<HTMLElement,HelperText>
org.patternfly.component.help.HelperText
- All Implemented Interfaces:
Finder<HTMLElement>
,HasElement<HTMLElement,
,HelperText> HasHTMLElement<HTMLElement,
,HelperText> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,HelperText> Component
Helper text is an on-screen field guideline that helps provide context regarding field inputs.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd
(HelperTextItem item) addItem
(HelperTextItem item) static HelperText
static HelperText
helperText
(String text) Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text))
static HelperText
helperText
(String text, ValidationStatus status) Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text, status))
static <E extends HTMLElement>
HelperTexthelperText
(HTMLContainerBuilder<E> builder) Flag for indicating whether the helper text container is a live region.that()
Methods inherited from class org.patternfly.component.BaseComponentFlat
componentType, element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
helperText
-
helperText
-
helperText
Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text))
-
helperText
Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text, status))
-
addItem
-
add
-
liveRegion
Flag for indicating whether the helper text container is a live region. Use this prop when you expect or intend for any helper text items within the container to be dynamically updated. -
that
-
firstItem
-