コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1493 ビュー

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



アバター
破棄
関連投稿 返信 ビュー 活動
1
5月 24
2000
2
7月 25
477
0
1月 25
893
0
12月 24
1667
0
9月 24
904