configure
Configure default options for Nostalgist.js. These options will be applied to all following emulator launches.
Nostalgist.configure({ style: { position: 'static', },})
// The canvas element will have position: staticawait Nostalgist.nes('flappybird.nes')
// The canvas element will have position: static tooawait Nostalgist.nes('flappybird.nes')
// Reset all configurations to defaultNostalgist.resetToDefault()Arguments
Section titled “Arguments”-
Section titled “options”optionstype:
ObjectThe options here are the same as the
optionsargument forNostalgist.launch.Please refer to launch#options.