Package org.patternfly.component.help
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 org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.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
-