mudacor2
v0.0.6
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.3.
Downloads
7
Readme
Mudacor
This library was generated with Angular CLI version 8.0.3.
Esta função demonstra como se muda a cor de fundo de um texto.
Instalação
Digite
npm i mudacor2
Após a instalação vá ao module.ts do seu arquivo e importe o mudacor.module.ts
import { MudacorModule } from 'mudacor';
@NgModule({
imports: [
MudacorModule,
],
na página page.html
Se você for digitar a cor , faça assim:
<lib-mudacor colorido='yellow'></lib-mudacor>
Mas, se você for receber de uma variável, faça assim:
<lib-mudacor [colorido]='this.teste'> </lib-mudacor>