diff --git a/docs/en-US/component/drawer.md b/docs/en-US/component/drawer.md index f492f398a8..bae9659891 100644 --- a/docs/en-US/component/drawer.md +++ b/docs/en-US/component/drawer.md @@ -89,6 +89,7 @@ Drawer provides an API called `destroyOnClose`, which is a flag variable that in | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | | model-value / v-model | Should Drawer be displayed | ^[boolean] | false | | append-to-body | Controls should Drawer be inserted to DocumentBody Element, nested Drawer must assign this param to **true** | ^[boolean] | false | +| append-to ^(2.8.0) | which element the Drawer appends to. Will override `append-to-body` | ^[string] | body | | lock-scroll | whether scroll of body is disabled while Drawer is displayed | ^[boolean] | true | | before-close | If set, closing procedure will be halted | ^[Function]`(done: (cancel?: boolean) => void) => void(done is function type that accepts a boolean as parameter, calling done with true or without parameter will abort the close procedure)` | — | | close-on-click-modal | whether the Drawer can be closed by clicking the mask | ^[boolean] | true | diff --git a/packages/components/drawer/src/drawer.vue b/packages/components/drawer/src/drawer.vue index 4bef605949..525f9e1362 100644 --- a/packages/components/drawer/src/drawer.vue +++ b/packages/components/drawer/src/drawer.vue @@ -1,5 +1,8 @@