feat: add options to the getValue api
This commit is contained in:
@@ -17,13 +17,9 @@ Usage:
|
||||
|
||||
```javascript
|
||||
const {
|
||||
version: string;
|
||||
width: number;
|
||||
height: number;
|
||||
margins: IMargin;
|
||||
header?: IHeader;
|
||||
watermark?: IWatermark;
|
||||
data: IEditorData;
|
||||
version: string
|
||||
data: IEditorData
|
||||
options: IEditorOption
|
||||
} = instance.command.getValue(options?: IGetValueOption)
|
||||
```
|
||||
|
||||
|
||||
@@ -17,13 +17,9 @@ const value = instance.command.commandName()
|
||||
|
||||
```javascript
|
||||
const {
|
||||
version: string;
|
||||
width: number;
|
||||
height: number;
|
||||
margins: IMargin;
|
||||
header?: IHeader;
|
||||
watermark?: IWatermark;
|
||||
data: IEditorData;
|
||||
version: string
|
||||
data: IEditorData
|
||||
options: IEditorOption
|
||||
} = instance.command.getValue(options?: IGetValueOption)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user