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.

19 lines
661 B

4 years ago
4 years ago
4 years ago
  1. import { LightningElement } from 'lwc';
  2. import { BaseLayout } from "vlocity_cmt/baseLayout";
  3. export default class BaseCustomLayoutComponent extends BaseLayout(LightningElement) {
  4. // @api recordId;
  5. // @api theme;
  6. // @api parent;
  7. // @api definition;
  8. // @api isLoaded;
  9. // @api debug;
  10. // @api records;
  11. connectedCallback() {
  12. this.cards = this.definition.Cards;
  13. console.log("This is defination object", JSON.parse(JSON.stringify(this.definition)));
  14. console.log("This is records", JSON.parse(JSON.stringify(this.records)));
  15. console.log("This is cards", JSON.parse(JSON.stringify(this.cards)));
  16. }
  17. }