mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-25 01:04:14 -05:00
docs(cli-create): add supernova lifecycle stubs
This commit is contained in:
@@ -6,6 +6,7 @@ export default function sn(env) {
|
||||
properties,
|
||||
},
|
||||
component: {
|
||||
created() {},
|
||||
mounted(element) {
|
||||
console.log(env);
|
||||
this.element = element;
|
||||
@@ -17,6 +18,9 @@ export default function sn(env) {
|
||||
}) {
|
||||
console.log(layout, context);
|
||||
},
|
||||
resize() {},
|
||||
willUnmount() {},
|
||||
destroy() {},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user