Class BackToTop
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,BackToTop>
org.patternfly.component.backtotop.BackToTop
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLElement,,BackToTop> ElementClassListMethods<HTMLElement,,BackToTop> ElementConsumerMethods<HTMLElement,,BackToTop> ElementContainerMethods<HTMLElement,,BackToTop> ElementEventMethods<HTMLElement,,BackToTop> ElementIdMethods<HTMLElement,,BackToTop> ElementQueryMethods<HTMLElement>,ElementTextMethods<HTMLElement,,BackToTop> HTMLElementAttributeMethods<HTMLElement,,BackToTop> HTMLElementDataMethods<HTMLElement,,BackToTop> HTMLElementStyleMethods<HTMLElement,,BackToTop> HTMLElementVisibilityMethods<HTMLElement,,BackToTop> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,BackToTop> Component
public class BackToTop
extends BaseComponent<HTMLElement,BackToTop>
implements ElementTextMethods<HTMLElement,BackToTop>, Attachable
The back to top component is a shortcut that allows users to quickly navigate to the top of a lengthy content page.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionSame as alwaysVisible(true)alwaysVisible(boolean alwaysVisible) Flag to indicate Accordion content is alwaysVisiblevoidattach(MutationRecord mutationRecord) static BackToTopstatic BackToTopvoiddetach(MutationRecord mutationRecord) scrollableSelector(HTMLElement element) scrollableSelector(String selector) scrollableSelector(Supplier<HTMLElement> element) scrollableSelector(By selector) 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
-
backToTop
-
backToTop
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLElement,BackToTop>
-
alwaysVisible
Same as alwaysVisible(true) -
alwaysVisible
Flag to indicate Accordion content is alwaysVisible -
scrollableSelector
-
scrollableSelector
-
scrollableSelector
-
scrollableSelector
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,BackToTop>
-
text
- Specified by:
textin interfaceElementTextMethods<HTMLElement,BackToTop>
-