mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
display view type in views
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Widget } from "./widget";
|
||||
|
||||
export class View extends Widget<{}, {}> {
|
||||
inlineTemplate = "<div>some view</div>";
|
||||
export class View extends Widget<{}, { info: any }> {
|
||||
inlineTemplate = `<div>some view: <span t-esc="props.info"/></div>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user