Wocart

@wocart/theme v4.1.0


@wocart/theme / index / isAreaShown

Function: isAreaShown()

isAreaShown(theme, page, key): boolean

Whether a page shows one of the theme's areas: it does unless its document leaves it out and its surface allows that.

Parameters

theme

ThemeDefinition

page

PageData

key

string

Returns

boolean