@@ -322,23 +322,24 @@ Finally, use `reslove()` to return your URL
322322
323323## v-print API
324324
325- | Parame | Explain | Type | OptionalValue | DefaultValue |
326- | ------------------------- | ------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------- | ------------ |
327- | id | Range print ID, required value | String | — | — |
328- | standard | Document type (Print local range only) | String | html5/loose/strict | html5 |
329- | extraHead | ` <head></head> ` Add DOM nodes in the node, and separate multiple nodes with ` , ` (Print local range only) | String | — | — |
330- | extraCss | ` <link> ` New CSS style sheet , and separate multiple nodes with ` , ` (Print local range only) | String | — | - |
331- | popTitle | ` <title></title> ` Content of label (Print local range only) | String | — | - |
332- | openCallback | Call the successful callback function of the printing tool | Function | Returns the instance of ` Vue ` called at that time | - |
333- | closeCallback | Close the callback function of printing tool success | Function | Returns the instance of ` Vue ` called at that time | - |
334- | beforeOpenCallback | Callback function before calling printing tool | Function | Returns the instance of ` Vue ` called at that time | - |
335- | url | Print the specified URL. (It is not allowed to set the ID at the same time) | string | - | - |
336- | asyncUrl | Return URL through 'resolve()' and Vue | Function | - | - |
337- | preview | Preview tool | Boolean | - | false |
338- | previewTitle | Preview tool Title | String | - | '打印预览' |
339- | previewPrintBtnLabel | The name of the preview tool button | String | - | '打印' |
340- | previewBeforeOpenCallback | Callback function before starting preview tool | Function | Returns the instance of ` Vue ` | - |
341- | previewOpenCallback | Callback function after fully opening preview tool | Function | Returns the instance of ` Vue ` | - |
325+ | Parame | Explain | Type | OptionalValue | DefaultValue |
326+ | ------------------------- | ------------------------------------------------------------------------------------------------------- | ------------- | ------------------------------------------------- | ------------ |
327+ | id | Range print ID, required value | String | — | — |
328+ | standard | Document type (Print local range only) | String | html5/loose/strict | html5 |
329+ | extraHead | ` <head></head> ` Add DOM nodes in the node, and separate multiple nodes with ` , ` (Print local range only) | String | — | — |
330+ | extraCss | ` <link> ` New CSS style sheet , and separate multiple nodes with ` , ` (Print local range only) | String | — | - |
331+ | popTitle | ` <title></title> ` Content of label (Print local range only) | String | — | - |
332+ | openCallback | Call the successful callback function of the printing tool | Function | Returns the instance of ` Vue ` called at that time | - |
333+ | closeCallback | Close the callback function of printing tool success | Function | Returns the instance of ` Vue ` called at that time | - |
334+ | beforeOpenCallback | Callback function before calling printing tool | Function | Returns the instance of ` Vue ` called at that time | - |
335+ | url | Print the specified URL. (It is not allowed to set the ID at the same time) | string | - | - |
336+ | asyncUrl | Return URL through 'resolve()' and Vue | Function | - | - |
337+ | preview | Preview tool | Boolean | - | false |
338+ | previewTitle | Preview tool Title | String | - | '打印预览' |
339+ | previewPrintBtnLabel | The name of the preview tool button | String | - | '打印' |
340+ | zIndex | CSS of preview tool: z-index | String,Number | - | 20002 |
341+ | previewBeforeOpenCallback | Callback function before starting preview tool | Function | Returns the instance of ` Vue ` | - |
342+ | previewOpenCallback | Callback function after fully opening preview tool | Function | Returns the instance of ` Vue ` | - |
342343
343344
344345
0 commit comments