@nysds/nys-backtotop
Version:
The Back To Top component from the NYS Design System.
17 lines (16 loc) • 467 B
TypeScript
import { LitElement } from "lit";
export declare class NysBacktotop extends LitElement {
position: string;
visible: boolean;
static styles: import("lit").CSSResult;
private isMobile;
private forceVisible;
private mediaQuery;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
private _handleScroll;
private _scrollToTop;
private _handleResize;
render(): import("lit-html").TemplateResult<1>;
}