Skip to Content
मेन्यू
This question has been flagged
1 Reply
1522 Views

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
Discard
Related Posts Replies Views Activity
1
मई 24
2038
2
जुल॰ 25
509
0
जन॰ 25
923
0
दिस॰ 24
1704
0
सित॰ 24
932