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