new Chapter(chapterdata)
Chapter object
Parameters:
Name | Type | Description |
---|---|---|
chapterdata |
Object |
Raw API chapter data |
- Source:
Members
chapter :Number
- Source:
createdAt :String
- Source:
id :String
Chapter api ID
- Source:
pages :Number
Number of pages
- Source:
publishAt :String
- Source:
readableAt :String
- Source:
relationships :Array.<Relationship>
- Source:
title :String
Title
- Source:
translatedLanguage :String
- Source:
type :"chapter"
- Source:
updatedAt :String
- Source:
uploader :String
- Source:
version :Number
- Source:
volume :String
Volume that the chapter belongs to
- Source:
Methods
(async) getCoverArt() → {Promise.<CoverArt>|null}
- Source:
getHumanURL() → {String}
- Source:
getManga() → {String|null}
- Source:
(async) getPages(dataSaveropt) → {Promise.<Array.<String>>}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
dataSaver |
Boolean |
<optional> |
false |
Returns low quality images for saving data |
- Source: