41 lines
840 B
JavaScript
41 lines
840 B
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
//#region ../../packages/components/backtop/src/backtop.ts
|
|
/**
|
|
* @deprecated Removed after 3.0.0, Use `BacktopProps` instead.
|
|
*/
|
|
const backtopProps = {
|
|
/**
|
|
* @description the button will not show until the scroll height reaches this value.
|
|
*/
|
|
visibilityHeight: {
|
|
type: Number,
|
|
default: 200
|
|
},
|
|
/**
|
|
* @description the target to trigger scroll.
|
|
*/
|
|
target: {
|
|
type: String,
|
|
default: ""
|
|
},
|
|
/**
|
|
* @description right distance.
|
|
*/
|
|
right: {
|
|
type: Number,
|
|
default: 40
|
|
},
|
|
/**
|
|
* @description bottom distance.
|
|
*/
|
|
bottom: {
|
|
type: Number,
|
|
default: 40
|
|
}
|
|
};
|
|
const backtopEmits = { click: (evt) => evt instanceof MouseEvent };
|
|
//#endregion
|
|
exports.backtopEmits = backtopEmits;
|
|
exports.backtopProps = backtopProps;
|
|
|
|
//# sourceMappingURL=backtop.js.map
|