Resultados de la búsqueda a petición "angular-renderer"

1 la respuesta

Angular: use el Renderer 2 para agregar una variable CSS

¿Es posible agregar una variable CSS de estilo en línea usandoRenderer2? Intenté lo siguiente pero no funciona. import { Component, OnChanges, Output, ViewChild, Renderer2, ElementRef, ViewEncapsulation } from '@angular/core'; @Component({ }) ...