UNPKG

@elgato/streamdeck

Version:

The official Node.js SDK for creating Stream Deck plugins.

19 lines (18 loc) 550 B
import { Event } from "./event.js"; /** * Provides event information for when the plugin received the global settings. */ export class DidReceiveGlobalSettingsEvent extends Event { /** * Settings associated with the event. */ settings; /** * Initializes a new instance of the {@link DidReceiveGlobalSettingsEvent} class. * @param source Source of the event, i.e. the original message from Stream Deck. */ constructor(source) { super(source); this.settings = source.payload.settings; } }