Skip to content

Commit

Permalink
feat(types): Export type definitions for destroyPane() method
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored and AriaMinaei committed Oct 9, 2023
1 parent 7d1473f commit b7408dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions theatre/studio/src/TheatreStudio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,13 @@ export interface IStudio {
paneClass: PaneClass,
): PaneInstance<PaneClass>

/**
* Destroys a previously created pane instance
*
* @param paneId - The unique identifier for the pane instance, provided in the 'mount' callback
*/
destroyPane(paneId: string): void

/**
* Returns the Theatre.js project that contains the studio's sheets and objects.
*
Expand Down

1 comment on commit b7408dd

@vercel
Copy link

@vercel vercel bot commented on b7408dd Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.