Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1832 Vizualizări

This is not exactly a question, but more of an answer, because I can't seem to find details on the documentations regarding this scenario.


The example is based on the tutorial on Odoo's documentation


card.xml


How to add the slots would be:

export class Card extends Component {
static template = "awesome_owl.card";
static props = {
title: String,
slots: {
type: Object,
shape: {
default: true,
second: {
type: true,
optional: true,
},
}
}
}
}



Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 24
2367
2
iul. 25
1101
0
ian. 25
1182
0
dec. 24
2077
0
sept. 24
1208