getCanvas
Get the canvas DOM element that the current emulator is using.
Usage
const nostalgist = await Nostalgist.launch('flappybird.nes')const canvas = nostalgist.getCanvas()console.log(canvas) // a canvas element
Get the canvas DOM element that the current emulator is using.
const nostalgist = await Nostalgist.launch('flappybird.nes')const canvas = nostalgist.getCanvas()console.log(canvas) // a canvas element