Skip to Content
Menu
This question has been flagged
1 Odpoveď
1746 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
máj 24
2297
2
júl 25
959
0
jan 25
1119
0
dec 24
1953
0
sep 24
1141