Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit aa03948

Browse files
author
DEWITTE Pierre-Alban
committed
[DOC] Remove default value documentation duplication
1 parent a82e53b commit aa03948

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

myscript-text-web.html

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,15 @@
9797
* <b>not mutable</b><br />
9898
* The current recognition protocol (WebSocket or REST). We strongly recommend using WebSocket.
9999
* @type String
100-
* @default 'WebSocket'
101100
*/
102101
protocol: {
103102
type: String,
104-
value: MyScript.Protocol.WS
103+
value: 'WebSocket'
105104
},
106105
/**
107106
* <b>not mutable</b><br />
108107
* The current recognition service host.
109108
* @type String
110-
* @default 'cloud.myscript.com'
111109
*/
112110
host: {
113111
type: String,
@@ -117,7 +115,6 @@
117115
* <b>not mutable</b><br />
118116
* The recognition timeout, only use in REST mode.
119117
* @type Number
120-
* @default 2000
121118
*/
122119
timeout: {
123120
type: Number,
@@ -147,7 +144,6 @@
147144
* True if undo is available
148145
* @private
149146
* @type Boolean
150-
* @default false
151147
*/
152148
canundo: {
153149
type: Boolean,
@@ -158,7 +154,6 @@
158154
* True if redo is available
159155
* @private
160156
* @type Boolean
161-
* @default false
162157
*/
163158
canredo: {
164159
type: Boolean,
@@ -169,7 +164,6 @@
169164
* True if there is something to clear
170165
* @private
171166
* @type Boolean
172-
* @default false
173167
*/
174168
canclear: {
175169
type: Boolean,
@@ -180,7 +174,6 @@
180174
* <b>not mutable</b><br />
181175
* If set to true, hide the buttons (Trash, Undo, Redo).
182176
* @type Boolean
183-
* @default false
184177
*/
185178
hidebuttons: {
186179
type: Boolean,
@@ -190,7 +183,6 @@
190183
* <b>not mutable</b><br />
191184
* If set to true, hide the result div tag.
192185
* @type Boolean
193-
* @default false
194186
*/
195187
hideresult: {
196188
type: Boolean,
@@ -200,7 +192,6 @@
200192
/**
201193
* The recognition language used by the recognition process.
202194
* @type String
203-
* @default 'en_US'
204195
*/
205196
language: {
206197
type: String,
@@ -210,7 +201,6 @@
210201
/**
211202
* The available recognition languages as configured for your application on MyScript Cloud or Server.
212203
* @type {Array<String>}
213-
* @default ['en_US']
214204
*/
215205
availablelanguages: {
216206
type: Array,
@@ -221,26 +211,23 @@
221211
/**
222212
* The result detail to use (TEXT, WORD or CHARACTER).
223213
* @type String
224-
* @default TEXT
225214
*/
226215
resultdetail: {
227216
type: String,
228-
value: MyScript.ResultDetail.TEXT
217+
value: 'TEXT'
229218
},
230219
/**
231220
* The input mode to use (CURSIVE, ISOLATED, SUPERIMPOSED or VERTICAL).
232221
* @type String
233-
* @default CURSIVE
234222
*/
235223
inputmode: {
236224
type: String,
237-
value: MyScript.InputMode.CURSIVE,
225+
value: 'CURSIVE',
238226
observer: '_inputModeChanged'
239227
},
240228
/**
241229
* The desired count of recognition candidates.
242230
* @type Number
243-
* @default 1
244231
*/
245232
recognitioncandidates: {
246233
type: Number,
@@ -249,7 +236,6 @@
249236
/**
250237
* The desired count of prediction candidates.
251238
* @type Number
252-
* @default 0
253239
*/
254240
predictioncandidates: {
255241
type: Number,
@@ -258,7 +244,6 @@
258244
/**
259245
* The desired count of completion candidates.
260246
* @type Number
261-
* @default 0
262247
*/
263248
completioncandidates: {
264249
type: Number,
@@ -267,7 +252,6 @@
267252
/**
268253
* The content types to use for the recognition.
269254
* @type {Array<String>}
270-
* @default []
271255
*/
272256
contenttypes: {
273257
type: Array,
@@ -276,7 +260,6 @@
276260
/**
277261
* The user resources to use for the recognition.
278262
* @type {Array<String>}
279-
* @default []
280263
*/
281264
userresources: {
282265
type: Array,
@@ -342,7 +325,6 @@
342325
* True if SSL is activated, false otherwise
343326
* @private
344327
* @type Boolean
345-
* @default true
346328
*/
347329
ssl: {
348330
type: Boolean,

0 commit comments

Comments
 (0)