nitro-renderer/packages/events/src/NitroToolbarEvent.ts

36 lines
659 B
TypeScript
Raw Normal View History

2022-11-03 14:40:24 -04:00
import { NitroEvent } from './core';
2021-03-16 22:02:09 -04:00
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;
}
2022-10-30 00:02:19 -04:00
}