Posts by GILBERTO OLIVEIRA • 68 points
4 posts
-
0
votes1
answer49
viewsQ: Passing the attribute of a list element as a method parameter
There is the possibility to pass the attribute of an element/object of a list as a function parameter and use it to return the values? static Future<List<dynamic>> filterElementsInList(…
dartasked GILBERTO OLIVEIRA 68 -
0
votes1
answer30
viewsA: Validation of Nativescript empty fields
When working with Nativescript/Angular I think the ideal would be to work with Reactiveforms. A login page for example: export class LoginComponent implements OnInit { public loginForm: FormGroup;…
-
0
votes1
answer1215
viewsA: Pass an object array to a Component at angular 8
Suppose you have a "Parent" component (Parent) **componente-pai.ts** ---------- @Component({ selector: 'componente-pai', templateUrl: './componente-pai.html', }) export class ComponentePai…
-
4
votes2
answers86
viewsQ: What is the difference between paths starting with ". /" and "~/" ? What is a best practice?
Both directories below point to the same file. These are Typescript import statements in an Angular application '~/app/shared/sevices/modules-services/inspections/checklist.service';…