Grammalecte  Diff

Differences From Artifact [ffd28e54f4]:

To Artifact [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