Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1484 Переглядів

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



Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
трав. 24
1990
2
лип. 25
467
0
січ. 25
885
0
груд. 24
1656
0
вер. 24
900