Skip to Content
Menu
This question has been flagged
1 Atsakyti
1488 Rodiniai

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



Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
geg. 24
1991
2
liep. 25
473
0
saus. 25
886
0
gruod. 24
1658
0
rugs. 24
901