Class BackToTop
java.lang.Object
org.patternfly.component.BaseComponentFlat<HTMLElement,BackToTop>
org.patternfly.component.backtotop.BackToTop
- All Implemented Interfaces:
Attachable,Finder<HTMLElement>,HasElement<HTMLElement,,BackToTop> HasHTMLElement<HTMLElement,,BackToTop> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,BackToTop> Component,WithText<HTMLElement,BackToTop>
public class BackToTop
extends BaseComponentFlat<HTMLElement,BackToTop>
implements WithText<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.BaseComponentFlat
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Method Details
-
backToTop
-
backToTop
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
text
- Specified by:
textin interfaceWithText<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 interfaceWithText<HTMLElement,BackToTop>
-