# Class: DocumentItem

## DocumentItem()

#### new DocumentItem()

文档项对象组件

Source:
  - DocumentItem.js, line 12

### Methods

#### (async, static) getDocItemType() → {int}

获取文档项类型

Source:
  - DocumentItem.js, line 22

##### Returns:

返回DocItemType中文档项类型

Type
  int

#### (async, static) getParent() → {Promise.<DocumentItem>}

获取父文档项

Source:
  - DocumentItem.js, line 36

##### Returns:

返回父文档项

Type
  Promise.<DocumentItem>