Skip to content

Tankōbon / shared/settings / HomeSectionSetting

Interface: HomeSectionSetting ​

Defined in: shared/settings.ts:109

One block of the home page in AppSettings.homeSections: whether it is shown, at its place in the list. count (between HOME_SECTION_MIN_COUNT and HOME_SECTION_MAX_COUNT) and hideWhenEmpty and layout are absent from settings saved before they existed; resolveHomeSections() (renderer) fills them in.

Properties ​

count? ​

optional count?: number

Defined in: shared/settings.ts:113

How many books the block offers.


hideWhenEmpty? ​

optional hideWhenEmpty?: boolean

Defined in: shared/settings.ts:115

Hide the block while it has no book, instead of showing an explanatory message.


id ​

id: "secondChance" | "suggestions" | "continueReading" | "recentlyAdded" | "favorites"

Defined in: shared/settings.ts:110


layout? ​

optional layout?: "row" | "wrap"

Defined in: shared/settings.ts:117

One scrolled row of covers, or lines wrapping automatically (default row).


visible ​

visible: boolean

Defined in: shared/settings.ts:111