@shumoku/core · 0.4.0 · function
metricsBindingOf
APIの説明は英語のcanonical sourceを表示しています。
The metrics-binding attachment on an element, if any. When `activeSourceIds` is given, only a binding whose `sourceId` is active counts — so a binding left behind by a detached/removed metrics source stops driving the mapping.
metricsBindingOf(attachments: { kind: string }[] | undefined, activeSourceIds?: ReadonlySet<string>): MetricsBindingAttachment | undefined パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
attachments | { kind: string }[] | undefined | 追加説明はありません。 | — |
activeSourceIds | ReadonlySet<string> | 追加説明はありません。 | — |
戻り値
MetricsBindingAttachment | undefined