UNPKG

streamdeck-typescript

Version:

This library will help you build elgato stream deck plugins in typescript

19 lines (17 loc) 452 B
/** * This will help you creating actions. * @author XeroxDev <help@xeroxdev.de> * @copyright 2021 */ export abstract class StreamDeckAction<Plugin, Instance> { /** * @type {Function[]} * @private * @internal */ protected _sd_events: Function[]; protected constructor(plugin: Plugin, actionName: string) { if (this._sd_events) for (let event of this._sd_events) event(actionName, this); } }