mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-22 03:07:31 -05:00
* feat: add useEmitter and corresponding viz api * chore: update spec * chore: remove change to model * chore: align names
28 lines
485 B
JavaScript
28 lines
485 B
JavaScript
export default function fixture() {
|
|
return {
|
|
type: 'sn-mounted',
|
|
instanceConfig: {
|
|
flags: {
|
|
MAGIC_FLAG: true,
|
|
},
|
|
},
|
|
snConfig: {
|
|
options: {
|
|
myOption: 'opts',
|
|
},
|
|
events: ['somethingEmitted'],
|
|
},
|
|
genericObjects: [
|
|
{
|
|
getLayout() {
|
|
return {
|
|
qInfo: { qId: 'bb8' },
|
|
visualization: 'sn-mounted',
|
|
showTitles: true,
|
|
};
|
|
},
|
|
},
|
|
],
|
|
};
|
|
}
|