Questions tagged [two-way-binding]

351 questions
-1
votes
1 answer

React Native code explanation

I have a simple app application project that I would appreciate if someone would explain the logic behind the code. On the click on the button the text that is inside the text input appears on the imageBackground. FilterView.js: import React, {…
-1
votes
1 answer

How to use ngModel with class data type in angular 2?

I would like to use class instance for two way data binding in angular 2 project. is it possible? I shorten code for easy understanding ---- typescript ---- export class PackageOption { name: string; description: string; ... } import {…
Nomura Nori
  • 4,689
  • 8
  • 47
  • 85
-2
votes
1 answer

what is [(selection)] in Angular 8?

Is it the same as [(ngModel)] ? Some kind of two-way binding ? I do have the following tag on our project : universitiesList and…
Code Klaudia
  • 47
  • 1
  • 7
-2
votes
2 answers

jQuery - Dynamically show and hide button on checkbox checked/ unchecked, and vise versa

Attempt: I am trying to map a check-box checked & unchecked to a button show/hide. Also, to toggle check/uncheck the check-box when I click the mapped button. Problem: When I click one of the displayed buttons, all the checked boxed are unchecked…
nfiona
  • 21
  • 6
-3
votes
1 answer

How to make ngModel available between components

I am seriously getting mad. I have tried everything. FormsModules,ReactiveForms,FORMDIRECTIVES,Input,Output i've been searching everywhere on how to make ngModel available between components. I am trying to show in an h1 tag the value which is being…
Raptrozz
  • 3
  • 5
-4
votes
1 answer

what is ([ngModel]) in angular? Is it reverse version of [(ngModel)]?

I konw what is two way data binding, but there is also ([ngModel]), It is reverse version of [(ngModel)]? then what is ([ngModel])? how it works?
1 2 3
23
24