gg-y-ui
Version:
An enterprise-class UI design language and Vue-based implementation for web
32 lines (23 loc) • 749 B
TypeScript
import { YUIComponent } from './component';
/** FixedButton Component */
export declare class YFixedButton extends YUIComponent {
/** FixedButton icon, accepts an icon name of YUI icon component */
icon: string;
/** FixedButton type */
type: 'stick' | 'peel';
/** FixedButton description */
description: string;
/** Determine whether it's visible, depend on `target` scrollTop */
visibilityHeight: number;
/** FixedButton right */
right: number;
/** FixedButton bottom */
bottom: number;
/** Determine whether it's enable scroll to top event */
backTop: boolean;
/**
* The scroll element target, get by document.querySelector()
* @default document
*/
target: string;
}