Owl 学习笔记之四---属性
Owl 学习笔记之四---属性内容概述 定义 绑定功能属性 动态属性 默认属性 属性验证 良好实践概述在 Owl 中,属性(properties的缩写)是一个对象,它包含由其父组件提供给组件的每条数据。class Child extends Component { static template = xml`<div><t t-esc="props.a"/><t t-esc="props.b"/></div>`;}.
复制链接