Class: BaseModel

Drupal.quickedit.BaseModel(options) → {Drupal.quickedit.BaseModel}

new BaseModel(options) → {Drupal.quickedit.BaseModel}

Parameters:
Name Type Description
options object

Options for the base model-

Source:
Returns:

A quickedit base model.

Type
Drupal.quickedit.BaseModel

Extends

  • Backbone.Model

Methods

set(key, val, optionsopt) → {*}

Set a value on the model

Parameters:
Name Type Attributes Description
key object | string

The key to set a value for.

val *

The value to set.

options object <optional>

Options for the model.

Source:
Returns:

The result of Backbone.Model.prototype.set with the specified parameters.

Type
*