Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1489 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 24
1991
2
jul. 25
474
0
jan. 25
886
0
dez. 24
1660
0
set. 24
901