mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
20 lines
430 B
TypeScript
20 lines
430 B
TypeScript
import { NitroEvent } from '@nitrots/nitro-renderer';
|
|
import { CatalogWidgetEvent } from './CatalogWidgetEvent';
|
|
|
|
export class CatalogPurchaseOverrideEvent extends NitroEvent
|
|
{
|
|
private _callback: Function;
|
|
|
|
constructor(callback: Function)
|
|
{
|
|
super(CatalogWidgetEvent.PURCHASE_OVERRIDE);
|
|
|
|
this._callback = callback;
|
|
}
|
|
|
|
public get callback(): Function
|
|
{
|
|
return this._callback;
|
|
}
|
|
}
|