Skip to content

Commit f2a036e

Browse files
committed
add api doc
1 parent 4591d32 commit f2a036e

File tree

2 files changed

+28
-0
lines changed
  • examples/src/docs

2 files changed

+28
-0
lines changed

examples/src/docs/en/ve-table/api/db.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,13 @@ export const db = {
466466
optionalVal: "-",
467467
default: "1000",
468468
},
469+
{
470+
param: "beforeVisibleChange({nextVisible})",
471+
desc: `The filter panel show or hides previous callback methods. If<code>false</code>is returned, show or hide is Intercept`,
472+
type: "<code>Function</code>",
473+
optionalVal: "-",
474+
default: "-",
475+
},
469476
],
470477
columns: columnsType1,
471478
},
@@ -486,6 +493,13 @@ export const db = {
486493
optionalVal: "-",
487494
default: "-",
488495
},
496+
{
497+
param: "beforeVisibleChange({nextVisible})",
498+
desc: `The filter panel show or hides previous callback methods. If<code>false</code>is returned, show or hide is Intercept`,
499+
type: "<code>Function</code>",
500+
optionalVal: "-",
501+
default: "-",
502+
},
489503
],
490504
columns: columnsType1,
491505
},

examples/src/docs/zh/ve-table/api/db.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,13 @@ export const db = {
460460
optionalVal: "-",
461461
default: "1000",
462462
},
463+
{
464+
param: "beforeVisibleChange({nextVisible})",
465+
desc: `filter 面板显示或者隐藏之前的回调方法,返回<code>false</code>则阻止显示或隐藏`,
466+
type: "<code>Function</code>",
467+
optionalVal: "-",
468+
default: "-",
469+
},
463470
],
464471
columns: columnsType1,
465472
},
@@ -480,6 +487,13 @@ export const db = {
480487
optionalVal: "-",
481488
default: "-",
482489
},
490+
{
491+
param: "beforeVisibleChange({nextVisible})",
492+
desc: `filter 面板显示或者隐藏之前的回调方法,返回<code>false</code>则阻止显示或隐藏`,
493+
type: "<code>Function</code>",
494+
optionalVal: "-",
495+
default: "-",
496+
},
483497
],
484498
columns: columnsType1,
485499
},

0 commit comments

Comments
 (0)