Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.2 · function

nodeContentMetrics

Source

nodeContentMetrics(presentation: { assumed: boolean; badge: string; hidden: number; labels: string[]; rows: { label: string; value: string }[]; subtitle: string; title: string }, hasIcon: boolean): { footerHeight: number; headerHeight: number; height: number }

Parameters

Parameter Type Description Default
presentation { assumed: boolean; badge: string; hidden: number; labels: string[]; rows: { label: string; value: string }[]; subtitle: string; title: string } No additional description. —
hasIcon boolean No additional description. —

Returns

{ footerHeight: number; headerHeight: number; height: number }

libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts:132