Skip to content

Tankōbon / lib/home-sections / setHomeSectionVisible

Function: setHomeSectionVisible() ​

setHomeSectionVisible(stored, id, visible): HomeSectionSetting[]

Defined in: lib/home-sections.ts:88

The resolved list with the block id shown or hidden.

Parameters ​

stored ​

readonly HomeSectionSetting[]

id ​

"secondChance" | "suggestions" | "continueReading" | "recentlyAdded" | "favorites"

visible ​

boolean

Returns ​

HomeSectionSetting[]