Skip to Content
Menu
This question has been flagged
1 Reply
1352 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
May 24
1820
2
Jul 25
126
0
Jan 25
750
0
Dec 24
1505
0
Sep 24
798