import{_ as a,c as r,a0 as t,o}from"./chunks/framework.P9qPzDnn.js";const p=JSON.parse('{"title":"Function: isRendered()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/data/common/functions/isRendered.md","filePath":"api/data/common/functions/isRendered.md","lastUpdated":null}'),n={name:"api/data/common/functions/isRendered.md"};function i(d,e,l,s,c,h){return o(),r("div",null,e[0]||(e[0]=[t('

Profectus / data/common / isRendered

Function: isRendered()

Call Signature

isRendered(layer, id): ComputedRef<boolean>

Utility function for getting a computed boolean for whether or not a given feature is currently rendered in the DOM. Note it will have a true value even if the feature is off screen.

Parameters

layer

BaseLayer

The layer the feature appears within

id

string

The ID of the feature

Returns

ComputedRef<boolean>

Defined in

profectus/src/data/common.tsx:491

Call Signature

isRendered(layer, feature): ComputedRef<boolean>

Utility function for getting a computed boolean for whether or not a given feature is currently rendered in the DOM. Note it will have a true value even if the feature is off screen.

Parameters

layer

BaseLayer

The layer the feature appears within

feature

The feature that may be rendered

id

string

Returns

ComputedRef<boolean>

Defined in

profectus/src/data/common.tsx:498

',31)]))}const f=a(n,[["render",i]]);export{p as __pageData,f as default};