Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7739697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:35:12+00:00 2026-06-01T08:35:12+00:00

When I pass {silent:true} while setting an attribute in a Backbone model, why doesn’t

  • 0

When I pass {"silent":true} while setting an attribute in a Backbone model, why doesn’t that just suppress the change:attribute event? What is the advantage of firing that event the next time an attribute is changed?

Update

Backbone 0.9.10 changed the behavior of passing { "silent": true }. From the changelog:

Passing {silent:true} on change will no longer delay individual
“change:attr” events, instead they are silenced entirely.

Browse the changelog here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:35:13+00:00Added an answer on June 1, 2026 at 8:35 am

    This has confused me for some time as well.

    The reason is that {silent:true} does not mean “Do everything as normal, but just don’t trigger the event”.

    From various comments and answers by @jashkenas, what it seems to mean is “simply change the attribute value (and add it to the ‘changedAttributes’ hash), but defer all other “change-related” activities until later”.

    ‘silent’ doesn’t prevent the change event for that/those properties, it simply queues up the ‘announcement’ until the next change event is triggered.

    So, its probably better named something like defer.

    Relevant information:

    https://github.com/documentcloud/backbone/pull/850

    the point of a “silent” change is that it isn’t considered a change from the models point of view. Later, when the change actually occurs, you get the full difference all at once.

    https://github.com/documentcloud/backbone/issues/870

    Because the point of silent changes is that you’re allowed to twiddle with the internal state of your model, temporarily, without actually making a change. Later, when the attribute actually changes, the validation runs and events are emitted. It wouldn’t make sense to emit an error event when making a silent change.

    Update 4/7/2013

    Note: I have not tested this to confirm behavior, this is just based on my reading of the release notes…

    As of Backbone 0.9.10, the behavior described above has changed. In that version (and newer), silent:true suppresses the change:attr events entirely – not just delays them.

    http://backbonejs.org/#changelog

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have noticed that when multiple attributes of a Backbone model are set like
(pass[i]!= null) && (pass[i].getName()!= nullnull) <--returning true when I debug it even though the
I pass the parameter value '*1.dat' to FindFirst, still the first file that the
To pass url i have ip address and port number , how can that
we pass CSS class name in an element to apply that class on that
I pass parameter with url called var which is containing value 'event'. I want
Pass a []byte into a template as the body of a message post on
I pass in the following XML to XMLin : <root foo=bar foo2=bar2> <pizzas> <pizza>Pepperoni</pizza>
Goal Pass images generated by one process efficiently and at very high speed to
How do you pass $_POST values to a page using cURL ?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.