Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@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