features - Methods - Items API

Items API Methods

features()

Returns an object containing a list of all Features in the assessment. Each key in the return object is the Feature reference ID, and allows you to access any Feature interface in the assessment.

You would want to use this method so that you can access all Features and list them in your application, for example.

Examples

var myFeatures = itemsApp.features();
console.log(myFeatures);

Arguments

None.

Return value

Type object

An object containing each Feature interface available in the assessment, keyed by their references.

Related articles

  • The feature() method, which allows you to retrieve the interface for a specific Feature.
  • See the list of Feature methods avaliable to all Feature types.
Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.