MCPcopy Create free account
hub / github.com/pacexy/flow / constructor

Method constructor

packages/epubjs/src/annotations.js:212–221  ·  view source on GitHub ↗
({ type, cfiRange, data, sectionIndex, cb, className, styles })

Source from the content-addressed store, hash-verified

210 */
211class Annotation {
212 constructor({ type, cfiRange, data, sectionIndex, cb, className, styles }) {
213 this.type = type
214 this.cfiRange = cfiRange
215 this.data = data
216 this.sectionIndex = sectionIndex
217 this.mark = undefined
218 this.cb = cb
219 this.className = className
220 this.styles = styles
221 }
222
223 /**
224 * Update stored data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected