import Panel from "../../Module/Panel";
import { _decorator, Button, Node } from "cc";
import { observer } from "../store/decorators";
import { _asyncThrottle } from "../Utils/Utils";

const { ccclass, property } = _decorator;

@observer
@ccclass('TaskTipsPop_qw')
export default class TaskTipsPop_qw extends Panel {

    static bundle = "TaskTipsPop_qw";
    static skin = "TaskTipsPop_qw";

    @property(Node) closeBtn: Node = null;
    @property(Node) btn: Node = null;

    onLoad() {
        this.closeBtn.on(Button.EventType.CLICK, this.clickClose);
        this.btn.on(Button.EventType.CLICK, this.clickClose);
    }

    async start() {
    }

    clickClose = () => {
        this.hidePanel();
    }

}
