File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,8 @@ This control utilizes React and the Office-Ui-Fabric to allow a user to pick a c
11
11
12
12
![ Demo Image] ( https://1.bp.blogspot.com/-DRZqFJPS1e8/XbtAv9zhLZI/AAAAAAABN1Y/Qt5eoWhmTBcW3tplwsLL2plE1bAOmQDGwCLcBGAsYHQ/s1600/PCFColorPicker.gif )
13
13
Note - Image above shows the color field twice so that you see that the field is being updated.
14
+
15
+ ## Properties
16
+
17
+ * ` inputValue ` (string, required): The field value bound to the control.
18
+ * ` defaultColor ` (string, required): Default color shown when the bound field is blank. Use hex format (e.g. ` #ffffff ` ).
Original file line number Diff line number Diff line change @@ -60,12 +60,14 @@ Add the Image Cropper control to your form or app and configure the required pro
60
60
| DefaultY | input | Whole.Number | No | -1 | Default crop Y position |
61
61
| DefaultWidth | input | Whole.Number | No | -1 | Default crop width |
62
62
| DefaultHeight | input | Whole.Number | No | -1 | Default crop height |
63
+ | actionSchema | bound | SingleLine.Text | No | | Defines the schema for the action output object (hidden) |
63
64
64
65
### Output Properties
65
66
66
- | Name | Type | Description |
67
- | --------------| ----------------| ---------------------------------------------|
68
- | croppedImage | SingleLine.Text| Cropped image as base64 PNG (data URL) |
67
+ | Name | Type | Description |
68
+ | --------------| --------------------| ---------------------------------------------|
69
+ | imageOutput | Multiple Lines Text | Cropped image as base64 PNG (data URL) |
70
+ | actionOutput | Object | The most recent action and its data |
69
71
70
72
## Advanced Usage
71
73
Original file line number Diff line number Diff line change @@ -41,3 +41,6 @@ If you would like to try this component download the sample solution which inclu
41
41
{name: "Photo", data: ImageJSON});
42
42
``
43
43
* OnChange: Use this to output the final pdf to a variable that be can used by another component such as the PDF Preview.
44
+ * pdfOutput (string, output): Contains the completed PDF as a Base64 string.
45
+ * outputErrorMessage (string, output): Error message if the fill process fails.
46
+ * outputError (bool, output): Will be ** true** when an error occurs during filling.
You can’t perform that action at this time.
0 commit comments