You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-14Lines changed: 13 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ This Hook is designed for load https://apis.google.com/js/api.js, initialize Goo
113
113
114
114
#### Arguments
115
115
116
-
`initConf: object`: object for Initialize the [gapi.client.init(args)](https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiclientinitargs).
116
+
-`initConf: object`: object for Initialize the [gapi.client.init(args)](https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiclientinitargs).
117
117
118
118
#### Returns
119
119
@@ -132,12 +132,10 @@ Return the status of DYMO Label Web Service
132
132
133
133
#### Arguments
134
134
135
-
`port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
135
+
-`port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
136
136
137
137
#### Returns
138
138
139
-
Array containing:
140
-
141
139
-`status: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of DYMO Label Web Service.
142
140
143
141
### `useDymoFetchPrinters()`
@@ -146,33 +144,34 @@ Returns the available DYMO Labelwriter Printer
146
144
147
145
#### Arguments
148
146
149
-
`port: number`: The port of running DYMO Label Web Service.
150
-
`statusDymoService: string`: The status of DYMO Label Web Service.
147
+
-`statusDymoService: string`: The status of DYMO Label Web Service.
148
+
-`modelPrinter: string`: The model of label writer printer.
149
+
-`port: number`: The port of running DYMO Label Web Service.
151
150
152
151
#### Returns
153
152
154
-
Array containing:
153
+
Object containing:
155
154
156
-
-`printers: array`: `[]` The list of available DYMO Labelwriter Printer.
157
-
-`status: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of loading printers.
155
+
-`statusDymoFetchPrinters: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of loading printers.
156
+
-`printers: array`: `[]` The list of available DYMO Printer.
158
157
159
158
### `useDymoOpenLabel()`
160
159
161
160
Render Label
162
161
163
162
#### Arguments
164
163
165
-
`statusDymoService: string`: The status of DYMO Label Web Service.
166
-
`labelXML: xml file`: XML file.
167
-
`port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
164
+
-`statusDymoService: string`: The status of DYMO Label Web Service.
165
+
-`labelXML: xml file`: XML file.
166
+
-`port: number`:(OPTIONAL) The port of running DYMO Label Web Service.
168
167
169
168
#### Returns
170
169
171
170
Object containing:
172
171
173
-
-`label`:
172
+
-`label`
174
173
-`statusOpenLabel: string`: `"init"`: `"init" | "loading" | "success" | "error"` Status of render label.
0 commit comments