Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/components
/ addClass
Method
addClass
src/cdk/drag-drop/preview-ref.ts:87–89 ·
view source on GitHub ↗
(className: string)
Source
from the content-addressed store, hash-verified
85
}
86
87
addClass(className: string): void {
88
this._preview.classList.add(className);
89
}
90
91
getTransitionDuration(): number {
92
return
getTransformTransitionDurationInMs(this._preview);
Callers
1
_animatePreviewToPlaceholder
Method · 0.80
Calls
1
add
Method · 0.45
Tested by
no test coverage detected