mirror of
https://github.com/SARL-PACIFIC-ERP/odoo-sh-test.git
synced 2025-06-25 17:42:22 +00:00
19 lines
464 B
JavaScript
19 lines
464 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { Component, useState } from "@odoo/owl";
|
|
import { Counter } from "./counter/counter";
|
|
import { Card } from "./card/card";
|
|
import { TodoList } from "./todo_list/todo_list";
|
|
|
|
export class Playground extends Component {
|
|
static template = "awesome_owl.playground";
|
|
static components = { Counter, Card, TodoList };
|
|
|
|
setup() {
|
|
this.sum = useState({value: 0});
|
|
}
|
|
|
|
incrementSum(){
|
|
this.sum.value++;
|
|
}
|
|
} |