---
title: type
framework: tvmljs
role: symbol
role_heading: Instance Property
path: tvmljs/dataitem/2897825-type
---

# type

The type for a data item provided by the associated JSON object.

## Declaration

```data
readonly attribute String type;
```

## Discussion

Discussion When the data item is converted to a DOM element, this property maps a data item to a prototype attribute. For example, <lockup prototype="artwork"> associates all data items with the artwork type to the lockup element.

## See Also

### Retrieving Data Item Information

- [identifier](tvmljs/dataitem/2897829-identifier.md)
