@nines/vuepress-plugin-back-to-top

0.0.5 • Public • Published

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)'
}

Package Sidebar

Install

npm i @nines/vuepress-plugin-back-to-top

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

24 kB

Total Files

10

Last publish

Collaborators

  • wangjia_1919