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 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
-
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>
-