Class SkipToContent
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement, SkipToContent>
org.patternfly.component.skiptocontent.SkipToContent
- All Implemented Interfaces:
ElementAttributeMethods<HTMLDivElement, SkipToContent>, ElementClassListMethods<HTMLDivElement, SkipToContent>, ElementConsumerMethods<HTMLDivElement, SkipToContent>, ElementContainerMethods<HTMLDivElement, SkipToContent>, ElementEventMethods<HTMLDivElement, SkipToContent>, ElementIdMethods<HTMLDivElement, SkipToContent>, ElementQueryMethods<HTMLDivElement>, ElementTextMethods<HTMLDivElement, SkipToContent>, HTMLElementAttributeMethods<HTMLDivElement, SkipToContent>, HTMLElementDataMethods<HTMLDivElement, SkipToContent>, HTMLElementStyleMethods<HTMLDivElement, SkipToContent>, HTMLElementVisibilityMethods<HTMLDivElement, SkipToContent>, IsElement<HTMLDivElement>, TypedBuilder<HTMLDivElement, SkipToContent>, Component
public class SkipToContent
extends BaseComponent<HTMLDivElement, SkipToContent>
implements ElementTextMethods<HTMLDivElement, SkipToContent>
A skip to content component allows screen reader and keyboard users to bypass navigation rather than tabbing through it.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SkipToContentskipToContent(String mainId) Creates a new component with the given main ID and a default text.static SkipToContentskipToContent(String mainId, String text) Creates a new component with the given main ID and a text.text()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
-
skipToContent
Creates a new component with the given main ID and a default text. -
skipToContent
Creates a new component with the given main ID and a text. -
text
- Specified by:
textin interfaceElementTextMethods<HTMLDivElement, SkipToContent>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement, SkipToContent>
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLDivElement, SkipToContent>
-