How to use the ember-buffered-proxy/proxy.create function in ember-buffered-proxy

To help you get started, we’ve selected a few ember-buffered-proxy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github yapplabs / ember-buffered-proxy / tests / dummy / app / controllers / application.js View on Github external
init() {
    this._super(...arguments);

    let user = {
      firstName: 'stefan',
      email: 'example@example.com'
    };

    let buffer = BufferedProxy.create({
      content: user
    });

    this.setProperties({
      buffer: buffer,
      user: user
    });
  },
github pixelhandler / ember-jsonapi-resources / tests / dummy / app / components / form-post.js View on Github external
resource: Ember.computed('post', function() {
    return BufferedProxy.create({ content: this.get('post') });
  }).readOnly(),
github CodingItWrong / firehose-api / frontend / app / components / link-form.js View on Github external
get buffer() {
    return BufferedProxy.create({
      content: this.link,
    });
  }
github pixelhandler / blog-admin / app / components / form-post.js View on Github external
resource: Ember.computed('post', function() {
    return BufferedProxy.create({ content: this.get('post') });
  }).readOnly(),
github CodingItWrong / firehose-api / frontend / app / components / link-form.js View on Github external
get buffer() {
    return BufferedProxy.create({
      content: this.get('link'),
    });
  }
github rtablada / ember-simple-form / addon / components / simple-form.js View on Github external
didReceiveAttrs() {
    this._super(...arguments);
    let startingValues = this.getAttr('startingValues') || {};
    let formValues = BufferedProxy.create({content: startingValues});

    this.set('formValues', formValues);
  },
github discourse / discourse / app / assets / javascripts / discourse / app / mixins / buffered-content.js View on Github external
buffered: computed(property, function () {
      return BufferedProxy.create({
        content: this.get(property),
      });
    }),

ember-buffered-proxy

An Ember Object Proxy with change buffering

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis