Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1620 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 24
2115
2
jul 25
699
0
ene 25
973
0
dic 24
1781
0
sept 24
996