|
import OmniscriptText from 'vlocity_cmt/omniscriptText';
|
|
import template from "./myTextComponent.html";
|
|
|
|
export default class MyTextComponent extends OmniscriptTbext {
|
|
connectedCallback() {
|
|
console.log("MyTextComponent - Connected");
|
|
try {
|
|
console.log("MyTextComponent - this:", this);
|
|
console.log("MyTextComponent - this.scriptHeaderDef:", JSON.parse(JSON.stringify(this.scriptHeaderDef)));
|
|
console.log("MyTextComponent - this.resume:", JSON.parse(JSON.stringify(this.resume)));
|
|
console.log("MyTextComponent - this.seedJson:", JSON.parse(JSON.stringify(this.seedJson)));
|
|
console.log("MyTextComponent - this.jsonDef:", JSON.parse(JSON.stringify(this.jsonDef)));
|
|
console.log("MyTextComponent - this.jsonData:", JSON.parse(JSON.stringify(this.jsonData)));
|
|
} catch (e) {
|
|
console.debug("Error Parsing: ", e);
|
|
}
|
|
}
|
|
|
|
render() {
|
|
return template;
|
|
}
|
|
}
|