MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / stableClipId

Function stableClipId

packages/core/src/runtime/clipTree.ts:45–47  ·  view source on GitHub ↗
(el: Element)

Source from the content-addressed store, hash-verified

43 * timeline expansion can't join them and never expands.
44 */
45export function stableClipId(el: Element): string | null {
46 return (el as HTMLElement).id || el.getAttribute("data-hf-id") || null;
47}
48
49interface StartResolverLike {
50 resolveStartForElement: (element: Element, fallback?: number) => number;

Callers 3

clipTree.test.tsFile · 0.90
createClipTreeFunction · 0.85

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected