Skip to content
#

data-binding

Here are 367 public repositories matching this topic...

handsontable
pfftdammitchris
pfftdammitchris commented Sep 19, 2017

What is the more modern, common approach to using knockout? I want to start using knockout to build my web applications. But I also want to use powerful, latest javascript features while still supporting most old browsers.

I am currently just creating an index.html, scripts.js, and styles.css file and including the knockout library as a CDN into my html file. But this is very limiting to explor

ElliotNB
ElliotNB commented Aug 21, 2018

With regular Proxy objects you can trigger an infinite loop by modifying an object that was just modified within the set handler:

let validator = {
  set: function(obj, prop, value) {
    if (prop === 'age') {
      if (!Number.isInteger(value)) {
        throw new TypeError('The age is not an integer');
      }
      if (value > 200) {
        throw new RangeError('The age seem

Improve this page

Add a description, image, and links to the data-binding topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the data-binding topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.