1.0.2 • Published 4 years ago

vuepress-plugin-sider-open v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Menu expand / collapse

background 中文文档

For some table fields that are too long, the small screen experience is not particularly good, so I made a sudden move to expand the function of folding up a menu and give more space to the screen. Note: this plug-in will not load under the mobile screen

How to use

npm i vuepress-plugin-sider-open
# or
yarn i vuepress-plugin-sider-open
  • config.js
module.exports = {
  //. omitted
};
plugins: [
  //. omitted
  [
    "vuepress-plugin-sider-open",
    {
      Opentext: "expand",
      Retracttext: "put up"
    }
  ]
];

api

Nametypedefault valuedescription
Opentextstringopenname of the expanded field
Retracttextstringretractname of the field to be retracted

Agreement

MIT

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago