Ember.run.sync()

syncVoidprivate

Defined in packages/ember-metal/lib/run_loop.js:288

Immediately flushes any events scheduled in the 'sync' queue. Bindings use this queue so this method is a useful way to immediately force all bindings in the application to sync.

You should call this method anytime you need any changed state to propagate throughout the app immediately without repainting the UI (which happens in the later 'render' queue added by the ember-views package).

run.sync();

Returns:

Void
doc_EmberJs
2016-11-30 16:51:41
Comments
Leave a Comment

Please login to continue.