ApiModel

ajax. ApiModel

new ApiModel()

Source:

Extends

  • Backbone.Model

Methods

getData(properties)

Source:
Makes ajax request and calls callback on success
Parameters:
Name Type Description
properties Object properties of ajax call and callback

getPrameterByName(name, url) → {string}

Source:
Gets value of parameter from url
Parameters:
Name Type Description
name String name of parameter that should be taken from url
url String link from which parameter should be taken
Returns:
parameter value
Type
string