configure
Configure default options for Nostalgist.js. These options will be applied to all following emulator launches.
Usage
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
-
options
type:
Object
The options here are the same as the
options
argument forNostalgist.launch
.Please refer to launch#options.