Explain what is model.cid in backbone?

Open 1 Answers 31 Views Technology
Explain what is model.cid  in backbone?

1 Answer


Model.cid works as a unique identifier. It is a special property of models, the cid or client id is automatically assigned to all models when they are first created. This property is useful when the model is not saved to the server, but needs to be visible in the UI. It takes the from c1,c2….

by (274k points)