Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1470 มุมมอง

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
1974
2
ก.ค. 25
461
0
ม.ค. 25
877
0
ธ.ค. 24
1640
0
ก.ย. 24
891