Update cookcli-card.js

This commit is contained in:
TheThomaas 2026-09-16 15:44:37 +02:00
parent c34a53b621
commit 580ab43962

View file

@ -33,6 +33,10 @@
*/ */
class CookCliCard extends HTMLElement { class CookCliCard extends HTMLElement {
static getConfigElement() {
return document.createElement("cookcli-card-editor");
}
static getStubConfig() { static getStubConfig() {
return { title: "Recettes" }; return { title: "Recettes" };
} }
@ -255,6 +259,7 @@ class CookCliCardEditor extends HTMLElement {
} }
customElements.define("cookcli-card", CookCliCard); customElements.define("cookcli-card", CookCliCard);
customElements.define("cookcli-card-editor", CookCliCardEditor);
window.customCards = window.customCards || []; window.customCards = window.customCards || [];
window.customCards.push({ window.customCards.push({