FVTTSidebarRemoveData: { condition?: boolean | () => boolean; id: string }

Type declaration

  • Optionalcondition?: boolean | () => boolean

    A boolean value or function to invoke that returns a boolean value to control sidebar replacement. This is executed in the renderSidebar callback internally.

  • id: string

    The ID for the sidebar tab to remove. This must be an existing sidebar tab ID.