Questions tagged [javascript-databinding]

This tag is for the application to Javascript of separation-of-concerns approaches such as the Model-View-Controller pattern.

This tag is for the application to JavaScript of separation-of-concerns approaches such as the pattern.

76 questions
0
votes
1 answer

Optimize ngFor in Ionic when page is loading too many data

currently I'm working on an Ionic page which get data from an API, roughly 50,000 items and save them in selectedItem (array). I have to list them all like this:
ken.ng
  • 221
  • 4
  • 15
0
votes
1 answer

Knockout binding fontawesome class

Exmaple of posted code Hello, I have a problem with binding CSS class of font-awesome into an tag. HTML:
0
votes
2 answers

JavaScript Vanilla Two Way Binding

I have found this very short yet handy two way binding code written in pure JavaScript. The data binding works fine, but what I want is to take the value from the first input and multiply it by a desired number and bind the outcome to the next…
Ahmad Karimi
  • 1,285
  • 2
  • 15
  • 26
0
votes
1 answer

How to bind the selection state of a button

I am trying to bind the selection state of button (selected or not selected) with aria-pressed or aria-checked property. But in none of the case sreen reader is announcing the value. I tried like: 1. data-bind="attr:{'aria-checked':…
0
votes
1 answer

ng-options expression with key value

I was trying to achieve cascading drop downs based on country , state , city found from the below links that i had attached and i was confusing with the regular expression for ng-options using array's and ng-option's with key value pair. i have…
0
votes
1 answer

Polymer: Checkbox elements not being updated after changing the checked property

I am writing a sample program in polymer. I have a template as shown below: