0.0.6 • Published 5 years ago

@nine-theme/vuepress-plugin-back-to-top v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

@nine-theme/vuepress-plugin-back-to-top

GitHub last commit npm (scoped) npm NPM


Back-to-top plugin for vuepress

使用

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

参数

name类型默认值
iconStringnine-up
customStyleObjectcustomStyle
visibilityHeightnumber400
<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)'
}