"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 Share2Panel = (function (_super) {
    __extends(Share2Panel, _super);
    function Share2Panel(data) {
        return _super.call(this, data) || this;
    }
    Object.defineProperty(Share2Panel.prototype, "skinKey", {
        get: function () { return 'Share2'; },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(Share2Panel.prototype, "groupName", {
        get: function () { return 'share2_panel'; },
        enumerable: true,
        configurable: true
    });
    Share2Panel.prototype.start = function (data) {
        this.percentHeight = 100;
    };
    Share2Panel.prototype.initEvents = function () {
        this.addEventListener(egret.TouchEvent.TOUCH_TAP, this.hidePanel, this);
    };
    Share2Panel.prototype.removeEvents = function () {
        this.removeEventListener(egret.TouchEvent.TOUCH_TAP, this.hidePanel, this);
    };
    Share2Panel.prototype.onSkinComplete = function () {
        _super.prototype.onSkinComplete.call(this);
        this.once(egret.Event.ADDED_TO_STAGE, this.onLoad, this);
        if (this.stage) {
            this.onLoad();
        }
    };
    Share2Panel.prototype.onLoad = function () {
        //img.style.display = 'none';//block
    };
    return Share2Panel;
}(Panel_1.default));
exports.default = Share2Panel;
__reflect(Share2Panel.prototype, "\"c:/Users/duiba/Documents/kuwo/egret/src/share2Panel/Share2Panel\".Share2Panel");
//# sourceMappingURL=Share2Panel.js.map