Skip to content

Function: isSurfaceVisible()

Makaio Framework


Makaio Framework / contracts/common / isSurfaceVisible

isSurfaceVisible(visibility, surface): boolean

Defined in: ../../../packages/contracts/src/common/surface.ts:50

Check if a page is visible on a given surface.

SurfaceVisibility | undefined

Page surface visibility configuration

SurfaceType

Surface to check against

boolean

True if the page should be visible on the surface