Class HelperText
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement, HelperText>
org.patternfly.component.help.HelperText
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, HelperText>, ElementClassListMethods<HTMLElement, HelperText>, ElementConsumerMethods<HTMLElement, HelperText>, ElementContainerMethods<HTMLElement, HelperText>, ElementEventMethods<HTMLElement, HelperText>, ElementIdMethods<HTMLElement, HelperText>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, HelperText>, HTMLElementDataMethods<HTMLElement, HelperText>, HTMLElementStyleMethods<HTMLElement, HelperText>, HTMLElementVisibilityMethods<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 HelperTextstatic HelperTexthelperText(String text) Shortcut for a helper text with one itemhelperText().addItem(helperTextItem(text))static HelperTexthelperText(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 BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hidden
-
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
-