parent
2eb020ceea
commit
2d4ca17711
@ -0,0 +1,16 @@
|
||||
/* eslint-env browser */
|
||||
class ContentCardEditor extends HTMLElement {
|
||||
setConfig = (config: any): void => {
|
||||
console.log(config);
|
||||
};
|
||||
|
||||
configChanged = (newConfig: any) => {
|
||||
const event: any = new Event('config-changed', {
|
||||
bubbles: true,
|
||||
composed: true
|
||||
});
|
||||
event.detail = { config: newConfig };
|
||||
this.dispatchEvent(event);
|
||||
};
|
||||
}
|
||||
export default ContentCardEditor;
|
Loading…
Reference in new issue