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 alwaysVisiblevoid
attach
(MutationRecord mutationRecord) static BackToTop
static BackToTop
void
detach
(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, element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
attach
in interfaceAttachable
-
detach
- Specified by:
detach
in interfaceAttachable
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
BackToTop>
-
alwaysVisible
Same as alwaysVisible(true) -
alwaysVisible
Flag to indicate Accordion content is alwaysVisible -
scrollableSelector
-
scrollableSelector
-
scrollableSelector
-
scrollableSelector
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLElement,
BackToTop>
-
text
- Specified by:
text
in interfaceWithText<HTMLElement,
BackToTop>
-