# plugin-back-to-top

GitHub last commit

NPM npm (scoped) npm

Back-to-top plugin for vuepress

# 使用

使用位置
plugin name @nines/vuepress-plugin-back-to-top
component name BackToTop(主题开发时使用)
npm i @nines/vuepress-plugin-back-to-top

# 参数

name 类型 默认值
icon String nine-up
customStyle Object customStyle
visibilityHeight number 400
<BackToTop ></BackToTop>

customStyle:

customStyle = {
  right: '1rem',
  bottom: '6rem',
  width: '2.5rem',
  height: '2.5rem',
  'border-radius': '.25rem',
  'line-height': '2.5rem',
  backgroundColor: 'rgba(231, 234, 241,.5)'
}

Made with ❤️ by Ahmad Mostafa - @z3by