Posts by Vitor Baggi de Almeida • 46 points
4 posts
-
1
votes1
answer85
viewsA: Should we use Pipes instead of ternary condition in the template to render something in Angular?
Actually I would use Pipes only if I want to filter the list of users that will be displayed. See, in your case whether the user is a teacher or a student, a line will be created and will be…
angularanswered Vitor Baggi de Almeida 46 -
2
votes1
answer139
viewsA: To configure the resolution of modules in the tsconfig.json file to use the ts-Node library in Typescript
Try using this tsconfig here: { "compilerOptions": { "target": "es6", "module": "commonjs", "outDir": "./dist", "rootDir": "./src", "moduleResolution": "node", "resolveJsonModule": true,…
-
0
votes1
answer52
viewsA: I am unable to perform the grid in the html <mat-table>
Young, in your file . ts declare the variable datasource as a Mattablesource object, thus: import { MatTableDataSource } from '@angular/material'; export class SeuComponente implements OnInit {…
-
0
votes1
answer887
viewsA: Take a value from a child component and send to the parent
Hello. There are several ways to solve information exchange between parent and child element. In your case, as this information should be sent from child to parent when the user does the action of…