Yes, if you put that code in a boot file it should work, except you also want to check that
type === 'text'
msg.t !== 'remove'
The messages library README has some example code using E.showMessage().
© Espruino, powered by microcosm.
Report a problem