mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
84a867f847
* refactor(components): [backtop] * Extract logic code from component itself. * Reorganize code for better readability. * chore: remove handleScrollThrottled from being returned
10 lines
248 B
TypeScript
10 lines
248 B
TypeScript
import { withInstall } from '@element-plus/utils'
|
|
|
|
import Backtop from './src/backtop.vue'
|
|
|
|
export const ElBacktop = withInstall(Backtop)
|
|
export default ElBacktop
|
|
|
|
export * from './src/backtop'
|
|
export type { BacktopInstance } from './src/instance'
|