@shumoku/core · 0.4.2 · function
nodeContentMetrics
APIの説明は英語のcanonical 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 } パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
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 } libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts:132