Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1491 Vues

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
Ignorer
Publications associées Réponses Vues Activité
1
mai 24
1995
2
juil. 25
475
0
janv. 25
891
0
déc. 24
1664
0
sept. 24
904