mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-02-21 20:12:36 +01:00
36 lines
659 B
TypeScript
36 lines
659 B
TypeScript
import { NitroEvent } from './core';
|
|
|
|
export class NitroToolbarEvent extends NitroEvent
|
|
{
|
|
public static TOOLBAR_CLICK: string = 'NTE_TOOLBAR_CLICK';
|
|
public static SELECT_OWN_AVATAR: string = 'NTE_SELECT_OWN_AVATAR';
|
|
|
|
private _iconId: string;
|
|
private _iconName: string;
|
|
|
|
constructor(type: string)
|
|
{
|
|
super(type);
|
|
}
|
|
|
|
public get iconId(): string
|
|
{
|
|
return this._iconId;
|
|
}
|
|
|
|
public set iconId(id: string)
|
|
{
|
|
this._iconId = id;
|
|
}
|
|
|
|
public get iconName(): string
|
|
{
|
|
return this._iconName;
|
|
}
|
|
|
|
public set iconName(name: string)
|
|
{
|
|
this._iconName = name;
|
|
}
|
|
}
|