josteink/gmailjs-node-boilerplate

In compose, compose.body() undefined

gayanku opened this issue · 1 comments

I am not getting the object dom calls in the compose. See following code.

`
gmail.observe.on("compose", (compose) => {
console.log("___New compose window is opened!", compose);

        compose.body('<h1>AAAA</H1>');
        console.log("body", compose.body);
        console.log("body()", compose.body());

});
`

image

body() is undefined.

This is an issue with gmail.js, not the boilerplate. Please file report in appropriate repo 🙂