MCPcopy Index your code
hub / github.com/angular/angular / setStyles

Method setStyles

packages/core/test/acceptance/styling_spec.ts:3311–3315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3309 }
3310
3311 setStyles() {
3312 const nativeEl = this.elementRef.nativeElement;
3313 this.renderer.setStyle(nativeEl, 'transform', 'translate3d(0px, 0px, 0px)');
3314 this.renderer.addClass(nativeEl, 'my-class');
3315 }
3316 }
3317
3318 @Component({

Callers 1

styling_spec.tsFile · 0.45

Calls 2

setStyleMethod · 0.65
addClassMethod · 0.65

Tested by

no test coverage detected