Examples of Vlocity/SF LWC components (in various states of working)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
982 B

4 years ago
4 years ago
4 years ago
4 years ago
  1. import OmniscriptText from 'vlocity_cmt/omniscriptText';
  2. import template from "./myTextComponent.html";
  3. export default class MyTextComponent extends OmniscriptTbext {
  4. connectedCallback() {
  5. console.log("MyTextComponent - Connected");
  6. try {
  7. console.log("MyTextComponent - this:", this);
  8. console.log("MyTextComponent - this.scriptHeaderDef:", JSON.parse(JSON.stringify(this.scriptHeaderDef)));
  9. console.log("MyTextComponent - this.resume:", JSON.parse(JSON.stringify(this.resume)));
  10. console.log("MyTextComponent - this.seedJson:", JSON.parse(JSON.stringify(this.seedJson)));
  11. console.log("MyTextComponent - this.jsonDef:", JSON.parse(JSON.stringify(this.jsonDef)));
  12. console.log("MyTextComponent - this.jsonData:", JSON.parse(JSON.stringify(this.jsonData)));
  13. } catch (e) {
  14. console.debug("Error Parsing: ", e);
  15. }
  16. }
  17. render() {
  18. return template;
  19. }
  20. }