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

Commit cdc65d2

Browse files
author
DEWITTE Pierre-Alban
committed
[OPTIONS]Renaming trigger params
1 parent 4275775 commit cdc65d2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

myscript-text-web.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
options="[[ options ]]"
7676
protocol="{{ protocol }}"
7777
host="{{ host }}"
78+
recognitiontriggerdelay="{{recognitiontriggerdelay}}"
79+
recognitionprocessdelay="{{recognitionprocessdelay}}"
7880
strokecolor="{{ strokecolor }}"
7981
strokewidth="{{ strokewidth }}"
8082
timeout="{{ timeout }}"
@@ -249,6 +251,26 @@
249251
reflectToAttribute: true,
250252
value: 'V3'
251253
},
254+
/**
255+
* Delay without any user input before asking for recognition, only use in REST mode.
256+
* @type Number
257+
* @default 2000
258+
*/
259+
recognitiontriggerdelay: {
260+
type: Number,
261+
reflectToAttribute: true,
262+
value: 2000
263+
},
264+
/**
265+
* Delay without any recognition result received before processing the last one received, only use in WEBSOCKET mode.
266+
* @type Number
267+
* @default 2000
268+
*/
269+
recognitionprocessdelay: {
270+
type: Number,
271+
reflectToAttribute: true,
272+
value: 1000
273+
},
252274
/**
253275
* The recognition timeout, only use in REST mode.
254276
* @type Number

0 commit comments

Comments
 (0)