1.0.0 • Published 4 years ago

sider-open v1.0.0

Weekly downloads
-
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 sider-open
# or
yarn i sider-open
  • config.js
const siderOpen = require("sider-open");
module.exports = {
  //. omitted
};
plugins: [
  //. omitted
  [
    "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.0

4 years ago