MCPcopy
hub / github.com/DevCloudFE/ng-devui / addColorTransition

Method addColorTransition

devui/theme/theme-service.ts:282–287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 }
281
282 private addColorTransition() {
283 if (typeof document === 'undefined') {
284 return;
285 }
286 document.head.appendChild(this.colorTransitionElement);
287 }
288 private removeColorTransition() {
289 if (this.colorTransitionElement.parentElement) {
290 this.colorTransitionElement.parentElement.removeChild(this.colorTransitionElement);

Callers 1

applyThemeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected