"use strict";
var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
Object.defineProperty(exports, "__esModule", { value: true });
var Panel_1 = require("../views/Panel");
var ExMsgPanel = (function (_super) {
    __extends(ExMsgPanel, _super);
    // public get groupName() { return '' }
    function ExMsgPanel(data) {
        return _super.call(this, data) || this;
    }
    Object.defineProperty(ExMsgPanel.prototype, "skinKey", {
        get: function () { return 'ExMsg'; },
        enumerable: true,
        configurable: true
    });
    ExMsgPanel.prototype.onSkinComplete = function () {
        _super.prototype.onSkinComplete.call(this);
        this.once(egret.Event.ADDED_TO_STAGE, this.onLoad, this);
        if (this.stage) {
            this.onLoad();
        }
        this.showAct();
    };
    ExMsgPanel.prototype.start = function () {
        this.percentHeight = 100;
    };
    ExMsgPanel.prototype.initEvents = function () {
        _super.prototype.initEvents.call(this);
        this.knowBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_knowBtn, this);
    };
    ExMsgPanel.prototype.removeEvents = function () {
        _super.prototype.removeEvents.call(this);
        this.knowBtn.removeEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_knowBtn, this);
    };
    ExMsgPanel.prototype.onTap_knowBtn = function () {
        //关闭弹框
        this.hidePanel();
    };
    ExMsgPanel.prototype.onLoad = function () {
    };
    return ExMsgPanel;
}(Panel_1.default));
exports.default = ExMsgPanel;
__reflect(ExMsgPanel.prototype, "\"/Users/zuopeng/DBGitLab/db-game-template/egret/src/panels/ExMsgPanel\".ExMsgPanel");
//# sourceMappingURL=ExMsgPanel.js.map