Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Atributo
- [ngStyle]="{ 'color': verificarRUN(col.RUT), 'border': 1px solid verificarRUN(col.RUT) }"
- // Métodos
- verificarRUN(RUN) {
- return RUN != null && RUN.length < 7 ? 'red' : 'green';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement