|
# -*- mode: snippet -*-
|
|
# name: Class OmniscriptBaseMixin
|
|
# condition: (locate-dominating-file buffer-file-name "lwc")
|
|
# key: osbase
|
|
# --
|
|
import template from './`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.html';
|
|
import { LightningElement } from 'lwc';
|
|
import pubsub from 'vlocity_cmt/pubsub';
|
|
import { OmniscriptBaseMixin } from 'vlocity_cmt/omniscriptBaseMixin';
|
|
|
|
export default class `(upcase-initials (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))` extends OmniscriptBaseMixin(LightningElement) {
|
|
connectedCallback() {
|
|
console.log("`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))` - Connected");
|
|
$0
|
|
}
|
|
|
|
handleBlur(evt) {
|
|
this.omniUpdateDataJson(evt.target.value);
|
|
}
|
|
|
|
render() {
|
|
return template;
|
|
}
|
|
}
|