Skip to Content
Menú
This question has been flagged
1 Respondre
1475 Vistes

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,
},
}
}
}
}



Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de maig 24
1980
2
de jul. 25
462
0
de gen. 25
880
0
de des. 24
1648
0
de set. 24
894