在CSS中定义a:link、a:visited、a:hover、a:active顺序
A:link {
color: #000000;
TEXT-DECORATION: none
}
A:visited {
COLOR: #000000;
TEXT-DECORATION: none
}
A:hover {
COLOR: #ff7f24;
text-decoration: underline;
}
A:active {
COLOR: #ff7f24;
text-decoration: underline;
}
create
- when you call model.save()
on a new model (which does not have id)update
- when you call model.save()
on an existing model (which has an id)patch
- when you call model.save(..., {patch:true})
delete
- when you call model.destroy()
read
- when you call model.fetch()
or collection.fetch()