@cmk/fe_utils
Version:
frontend utility library
5 lines (3 loc) • 441 B
TypeScript
import { Attribute, EditorStateType, Element, Property } from '../../editorRendererController';
/** Entity = Element, Property or Attribute */
export declare const doesEntityBelongToViewport: (entity_id: string, viewport: string | undefined | null, isViewportAutarkic: boolean | undefined, viewport_references: EditorStateType["viewport_references"], entityViewport: string | null, entities: (Property | Attribute | Element)[]) => boolean;