UNPKG

bilibili-bangumi-component

Version:

展示 bilibili 与 Bangumi 追番列表的 WebComponent 组件

35 lines (34 loc) 1.07 kB
import type { Collection, CollectionLabel, ContainerState, Platform, ResponseData, Subject } from '../shared/types'; import type { UnionToTuple } from '../shared/typeUtils'; export declare class BilibiliBangumi { api: string; bilibiliUid?: string; bgmUid?: string; bilibiliEnabled: boolean; bgmEnabled: boolean; pageSize: number; customEnabled: boolean; customLabel: string; loading: boolean; error?: Error; pageNumber: number; responseData: ResponseData; platformLabels: Platform[]; activePlatform: Platform; subjectLabels: UnionToTuple<Subject>; activeSubject: Subject; collectionLabels: CollectionLabel; activeCollection: Collection; containerRef: HTMLDivElement; containerState: ContainerState; componentWillLoad(): void; componentDidLoad(): void; private fetchData; private handlePlatformChange; private handleSubjectChange; private handleCollectionChange; private scrollToTop; private handlePageChange; private handleInputChange; render(): any; }