Skip to content

Tankōbon / shared/settings / HomeSectionSetting

Interface: HomeSectionSetting ​

Defined in: shared/settings.ts:99

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 are absent from settings saved before they existed; resolveHomeSections() (renderer) fills them in.

Properties ​

count? ​

optional count?: number

Defined in: shared/settings.ts:103

How many books the block offers.


hideWhenEmpty? ​

optional hideWhenEmpty?: boolean

Defined in: shared/settings.ts:105

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:100


visible ​

visible: boolean

Defined in: shared/settings.ts:101