Grammalecte  Check-in [714cebddcc]

Overview
Comment:[doc] Web API update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | doc
Files: files | file ages | folders
SHA3-256: 714cebddcc006837ebb091fd1c6468e6996c63785934515d233c07e046a16041
User & Date: olr on 2020-03-22 08:32:40
Other Links: manifest | tags
Context
2020-03-22
08:46
[doc] Web API: event GrammalecteLoaded when the APi is ready check-in: 6163821fce user: olr tags: trunk, doc
08:32
[doc] Web API update check-in: 714cebddcc user: olr tags: trunk, doc
08:28
[fx] fix Web API for parseText and openPanelForText check-in: 887fd87b74 user: olr tags: trunk, fx
Changes

Modified doc/API_web.md from [9652ecdf27] to [2b20dc2adf].

113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

### Parse text and get errors

    oGrammalecteAPI.parseText(text, "node_id")
    oGrammalecteAPI.parseText(text, node)

The node must have an identifier.
Like with parseNode, results (for each paragraph) will be sent in a succession of events at the node.



### Get spelling suggestions

    oGrammalecteAPI.getSpellingSuggestions(word, destination, request_identifier)








|







113
114
115
116
117
118
119
120
121
122
123
124
125
126
127

### Parse text and get errors

    oGrammalecteAPI.parseText(text, "node_id")
    oGrammalecteAPI.parseText(text, node)

The node must have an identifier.
Like with `oGrammalecteAPI.parseNode()`, results (for each paragraph) will be sent in a succession of events at the node.



### Get spelling suggestions

    oGrammalecteAPI.getSpellingSuggestions(word, destination, request_identifier)