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

  • Home
  • SEARCH
  • 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 6872789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:58:27+00:00 2026-05-27T03:58:27+00:00

I know we can create our own events in Backbone.js like object.trigger(‘myEvent’); I also

  • 0

I know we can create our own events in Backbone.js like

object.trigger(‘myEvent’);

I also know there are some default events like the change or change:<attributename>

now i’m wondering, is there a list somewhere of these default events?
i am looking for a specific event that triggers when someone navigates away from a view,
so either in the removing of the view, or perhaps when a route is changed,

I just hope i don’t have to hack in my own event and it can’t hurt to see a full list of these events for further reference.

  • 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-05-27T03:58:27+00:00Added an answer on May 27, 2026 at 3:58 am

    update seems like the list did exist already, as benoit describes in the comment above,
    it can be found here… http://documentcloud.github.com/backbone/#FAQ-events


    so it seems such a list does not exist, well, i took it upon me to go through the annotated source and present the list here for everyone who might ever need it.

    i do also make this a community wiki post, so i hope it will be updated by any of you who feel the need to. whether a new Backbone version comes with extra events or i’ve got something wrong, feel free to edit.

    here goes the list of events triggered by backbone itself:

    • change:<attributename>

      fired after using model.set({<attributename>, 'value'});
      to indicate the attribute was changed.

    • change

      fired after using model.set({<attributename>, 'value'});
      to indicate the model was changed. this fire’s on any attribute you change.

    • destroy

      fires after you destroy a model, model.destroy({options});

    • error

      fires after a model is validated and 1 of the validations fails,
      if however a specific error callback function is passed in, that one will
      be executed instead of the error event.

      also fires when you do NOT give an error callback to the following model methods:

      model.fetch();
      model.save();
      model.destroy();
      
    • reset

      fired when a collection is sorted through the collection.sort({options}); method
      also fired when specifically asking to reset a collection through collection.reset(models, {options});

    • add

      fired when a model is added to a collection collection.add(models, {options});

    • remove

      fired when a model is removed from a collection… collection.remove(models, {options});

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

Sidebar

Related Questions

I know that Deamon threads are background threads. We can create our own daemon
I want to know if i can create a custom google maps application,on which
I need to know if I can create a file in a specific folder,
I want to know if PHPExcel can: Create Excel spreadsheets with embeded image. The
I want to know if I can create a WebBrowser through code in Vb.NET,
I'm using python 3.1.1. I know that I can create byte objects using the
this question can create a misunderstanding: I know I have to use CSS to
I know that horizontal partitioning...you can create many tables. How can you do this
Does anyone know how I can Dynamically create an installation package that installs files
I know with swift directly you can create a Recipient_List and do ->addBcc() .

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.