Home » Backbone.js model.escape()

Backbone.js model.escape()

by Online Tutorials Library

Backbone.js model.escape()

The Backbone.js Escape Model is similar to get function but it returns the HTML-escaped version of a model’s attribute.

Syntax:

Parameter explanation:

attributes: It defines property of a created model.

Let’s take an example.

See this example:

You may also like