查找
GitHub 版本库
带注释的源码
on
off
trigger
once
listenTo
stopListening
listenToOnce
Catalog of Built-in Events
extend
constructor / initialize
get
set
escape
has
unset
clear
id
idAttribute
cid
attributes
changed
defaults
toJSON
sync
fetch
save
destroy
Underscore Methods (6)
validate
validationError
isValid
url
urlRoot
parse
clone
isNew
hasChanged
changedAttributes
previous
previousAttributes
extend
model
constructor / initialize
models
toJSON
sync
Underscore Methods (32)
add
remove
reset
set
get
at
push
pop
unshift
shift
slice
length
comparator
sort
pluck
where
findWhere
url
parse
clone
fetch
create
extend
routes
constructor / initialize
route
navigate
execute
start
Backbone.sync
Backbone.ajax
Backbone.emulateHTTP
Backbone.emulateJSON
extend
constructor / initialize
el
$el
setElement
attributes
$ (jQuery)
template
render
remove
delegateEvents
undelegateEvents
Backbone.noConflict
Backbone.$
Why Backbone?
More Than One Way To Do It
Nested Models & Collections
Loading Bootstrapped Models
Extending Backbone
Traditional MVC
Binding "this"
Working with Rails