Skeudenn / shared/settings / HomeSectionSetting
Interface: HomeSectionSetting ​
Defined in: src/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? ​
optionalcount?:number
Defined in: src/shared/settings.ts:113
How many books the block offers.
hideWhenEmpty? ​
optionalhideWhenEmpty?:boolean
Defined in: src/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: src/shared/settings.ts:110
layout? ​
optionallayout?:"row"|"wrap"
Defined in: src/shared/settings.ts:117
One scrolled row of covers, or lines wrapping automatically (default row).
visible ​
visible:
boolean
Defined in: src/shared/settings.ts:111