Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1876 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
maj 24
2397
2
jul. 25
1133
0
jan. 25
1196
0
dec. 24
2110
0
sep. 24
1216