Function: isSurfaceVisible()
Makaio Framework / contracts/common / isSurfaceVisible
Function: isSurfaceVisible()
Section titled “Function: isSurfaceVisible()”isSurfaceVisible(
visibility,surface):boolean
Defined in: ../../../packages/contracts/src/common/surface.ts:50
Check if a page is visible on a given surface.
Parameters
Section titled “Parameters”visibility
Section titled “visibility”SurfaceVisibility | undefined
Page surface visibility configuration
surface
Section titled “surface”Surface to check against
Returns
Section titled “Returns”boolean
True if the page should be visible on the surface