MCPcopy Create free account
hub / github.com/angular/components / combineTransforms

Function combineTransforms

src/cdk/drag-drop/dom/styling.ts:92–96  ·  view source on GitHub ↗
(transform: string, initialTransform?: string)

Source from the content-addressed store, hash-verified

90 * that exited before the base transform was applied.
91 */
92export function combineTransforms(transform: string, initialTransform?: string): string {
93 return initialTransform && initialTransform != 'none'
94 ? transform + ' ' + initialTransform
95 : transform;
96}
97
98/**
99 * Matches the target element's size to the source's size.

Callers 3

sortMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected