Last active
March 7, 2022 07:46
-
-
Save nalinbhardwaj/c952adb7b735c1c6def865e75295394d to your computer and use it in GitHub Desktop.
testing exgrasia frontend plugins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Plugin { | |
constructor() { | |
this.yo = 1; | |
} | |
async render(coords) { | |
console.log('gm', gm); | |
return {__html: 'hello from the <b>other</b> side'}; | |
} | |
destroy() { | |
console.log('destroyed'); | |
} | |
} | |
export default Plugin; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment