Files
Odoo-Tutorial/cheat_web/static/src/views/hello/hello_controller.js
T
2025-08-19 15:05:55 +07:00

19 lines
517 B
JavaScript

import { Component } from "@odoo/owl";
import { standardViewProps } from "@web/views/standard_view_props";
import { Layout } from "@web/search/layout";
export class HelloController extends Component {
static template = `cheat_web.HelloView`;
static props = {
...standardViewProps,
aValue: { type: String }
};
static components = { Layout };
setup() {
console.log("Hello Controller - this: ", this);
console.log("Hello Controller - props: ", this.props);
}
}