mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 23:46:19 +00:00
🆙 Init V3
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user