Grammalecte  Check-in [d8b0e71ca7]

Overview
Comment:[doc] Web API: event GrammalecteLoaded when the APi is ready
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | doc
Files: files | file ages | folders
SHA3-256: d8b0e71ca7a61e206a92ac17cd3c87571494c32a78954bbafe829d3368a55b33
User & Date: olr on 2020-03-22 09:22:41
Other Links: manifest | tags
Context
2020-03-22
09:26
[doc] Web API update check-in: 049c6d098f user: olr tags: trunk, doc
09:22
[doc] Web API: event GrammalecteLoaded when the APi is ready check-in: d8b0e71ca7 user: olr tags: trunk, doc
08:46
[doc] Web API: event GrammalecteLoaded when the APi is ready check-in: 6163821fce user: olr tags: trunk, doc
Changes

Modified doc/API_web.md from [ffd28e54f4] to [a962714feb].

40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

Every call to the Grammalecte API will be done via an object called `oGrammalecteAPI`.

    if (typeof(oGrammalecteAPI) === "object"  &&  oGrammalecteAPI !== null) {
        ...
    }

When the Grammalecte API is ready, it sends an event called `GrammalecteLoaded` on the `document` node.

You can detect it with:

    document.addEventListener("GrammalecteLoaded", function (event) {
        ...
    });


### Version of the Grammalecte API







|
<
<







40
41
42
43
44
45
46
47


48
49
50
51
52
53
54

Every call to the Grammalecte API will be done via an object called `oGrammalecteAPI`.

    if (typeof(oGrammalecteAPI) === "object"  &&  oGrammalecteAPI !== null) {
        ...
    }

Alternatively, when the Grammalecte API is ready, it sends an event called `GrammalecteLoaded` on `document`. You can detect it with:



    document.addEventListener("GrammalecteLoaded", function (event) {
        ...
    });


### Version of the Grammalecte API