Type Alias Panel<TNotifyArgs>

Panel<TNotifyArgs>: {
    dismount: (() => void);
    id: string;
    label: string;
    mount: ((parentEl: HTMLElement) => void);
    notify?: ((name: string, args: TNotifyArgs) => void);
}

Type Parameters

  • TNotifyArgs

Type declaration

  • dismount: (() => void)
      • (): void
      • Returns void

  • id: string
  • label: string
  • mount: ((parentEl: HTMLElement) => void)
      • (parentEl): void
      • Parameters

        • parentEl: HTMLElement

        Returns void

  • Optionalnotify?: ((name: string, args: TNotifyArgs) => void)

    Panel gets a notification

      • (name, args): void
      • Parameters

        Returns void