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
{{ message }}
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
Yes you are right. event.detail.result.textSegmentResult.candidates is an array containing all the candidates from the recognition engine. We will improve deeply the documentation in the upcoming version. We will address your remark.
The other option is to read the value of the firstcandidate attribute.
I want to capture the current value (result) of the widget.
I attached the event listener to
myscript-text-web-result
but the docs say nothing about the object it passes as argument in the callback.I guess
event.detail.result.textSegmentResult.candidates[0].label
is the whole result right?The text was updated successfully, but these errors were encountered: