UNPKG

@trycourier/courier-ui-inbox

Version:

Inbox components for the Courier web UI

20 lines (19 loc) 794 B
import { CourierInboxMenuOption } from './courier-inbox-option-menu'; import { CourierInboxFeedType } from '../types/feed-type'; import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager'; export declare class CourierInboxHeaderTitle extends HTMLElement { private _themeSubscription; private _option; private _feedType?; private _titleElement; private _iconElement; private _unreadBadge; private _container; private _style; constructor(themeManager: CourierInboxThemeManager, option: CourierInboxMenuOption); private getStyles; private refreshTheme; updateSelectedOption(option: CourierInboxMenuOption, feedType: CourierInboxFeedType, unreadCount: number): void; private updateFilter; disconnectedCallback(): void; }