MCPcopy Create free account

hub / github.com/pacexy/flow / functions

Functions857 in github.com/pacexy/flow

↓ 69 callersMethodmap
(layout)
packages/epubjs/src/contents.js:1041
↓ 60 callersMethodforEach
* forEach pass through * @param {Function} fn function to run on each item * @return {method} forEach loop
packages/epubjs/src/navigation.js:362
↓ 48 callersMethodresolve
* Resolve a path to it's absolute position in the Book * @param {string} path * @param {boolean} [absolute] force resolving the full URL *
packages/epubjs/src/book.js:370
↓ 39 callersMethodindexOf
(view)
packages/epubjs/src/managers/helpers/views.js:21
↓ 33 callersMethodtoString
* @returns {string}
packages/epubjs/src/utils/url.js:107
↓ 32 callersFunctionePub
* Creates a new Book * @param {string|ArrayBuffer} url URL, Path or ArrayBuffer * @param {object} options to pass to the book * @returns {Book} a n
packages/epubjs/src/epub.js:18
↓ 29 callersMethodcss
* Set Css styles on the contents element (typically Body) * @param {string} property * @param {string} value * @param {boolean} [priority] se
packages/epubjs/src/contents.js:242
↓ 28 callersFunctionstart
()
packages/epubjs/examples/hypothesis.js:2
↓ 27 callersFunctionisNumber
(n)
packages/epubjs/src/utils/core.js:79
↓ 27 callersFunctionqs
(el, sel)
packages/epubjs/src/utils/core.js:548
↓ 27 callersFunctionuseTranslation
(scope?: string)
apps/reader/src/hooks/useTranslation.ts:6
↓ 26 callersMethodcreateRange
()
packages/epubjs/src/locations.js:72
↓ 24 callersMethodsetStart
(startNode, startOffset)
packages/epubjs/src/utils/core.js:847
↓ 23 callersMethodfind
* Find a string in a section * @param {string} _query The query string to find * @return {object[]} A list of matches, with form {cfi, excerpt}
packages/epubjs/src/section.js:138
↓ 23 callersMethodget
* Get an item from the spine * @param {string|number} [target] * @return {Section} section * @example spine.get(); * @example spine.get(1
packages/epubjs/src/spine.js:127
↓ 21 callersMethodfilter
(anchor, ignoreClass)
packages/epubjs/src/epubcfi.js:622
↓ 20 callersMethodregister
* Add themes to be used by a rendition * @param {object | Array<object> | string} * @example themes.register("light", "http://example.com/light.
packages/epubjs/src/themes.js:32
↓ 20 callersMethodslice
()
packages/epubjs/src/managers/helpers/views.js:25
↓ 19 callersMethodsetEnd
(endNode, endOffset)
packages/epubjs/src/utils/core.js:860
↓ 19 callersMethodsplit
* Split resources by type * @private
packages/epubjs/src/resources.js:57
↓ 18 callersMethodcompare
* Compare which of two CFIs is earlier in the text * @returns {number} First is earlier = -1, Second is earlier = 1, They are equal = 0
packages/epubjs/src/epubcfi.js:337
↓ 18 callersMethodresolve
* Resolves a relative path to a absolute url * @param {string} what * @returns {string} url
packages/epubjs/src/utils/url.js:83
↓ 17 callersMethodenqueue
* Add an item to the queue * @return {Promise}
packages/epubjs/src/utils/queue.js:21
↓ 17 callersFunctionextend
(target)
packages/epubjs/src/utils/core.js:152
↓ 17 callersMethodparse
* Parse a cfi string to a CFI object representation * @param {string} cfiStr * @returns {object} cfi
packages/epubjs/src/epubcfi.js:102
↓ 17 callersMethodscrollBy
(x, y, silent)
packages/epubjs/src/managers/default/index.js:916
↓ 16 callersMethodforEach
()
packages/epubjs/src/managers/helpers/views.js:94
↓ 15 callersMethodload
* Load a resource from the Book * @param {string} path path to the resource to load * @return {Promise} returns a promise with the requeste
packages/epubjs/src/book.js:350
↓ 15 callersFunctionuseReaderSnapshot
()
apps/reader/src/models/reader.ts:589
↓ 12 callersMethodall
()
packages/epubjs/src/managers/helpers/views.js:9
↓ 12 callersFunctionscale
(value: number, valueInTouchScreen: number)
apps/reader/src/platform.ts:5
↓ 11 callersMethodnow
()
packages/epubjs/src/managers/helpers/snap.js:337
↓ 11 callersFunctionuseMobile
()
apps/reader/src/hooks/useMobile.ts:11
↓ 10 callersFunctionparse
(markup, mime, forceXMLDom)
packages/epubjs/src/utils/core.js:520
↓ 9 callersMethodaddTab
(param: TabParam | Tab)
apps/reader/src/models/reader.ts:477
↓ 9 callersMethoddisplay
(target?: string, returnable = true)
apps/reader/src/models/reader.ts:100
↓ 9 callersMethodtoRange
* Creates a DOM range representing a CFI * @param {document} _doc document referenced in the base * @param {string} [ignoreClass] * @return {
packages/epubjs/src/epubcfi.js:926
↓ 9 callersMethodtrim
()
packages/epubjs/src/managers/continuous/index.js:355
↓ 9 callersMethodupdateLayout
()
packages/epubjs/src/managers/default/index.js:1003
↓ 8 callersMethoddisplay
* Display a point in the book * The request will be added to the rendering Queue, * so it will wait until book is opened, rendering started *
packages/epubjs/src/rendition.js:314
↓ 8 callersMethodgetElementText
* Get text of a namespaced element * @private * @param {node} xml * @param {string} tag * @return {string} text
packages/epubjs/src/packaging.js:297
↓ 8 callersFunctionqsa
(el, sel)
packages/epubjs/src/utils/core.js:571
↓ 8 callersFunctionscale
(p: keyof CSSStyleDeclaration)
apps/reader/src/styles.ts:52
↓ 8 callersMethodscrollTo
(x, y, silent)
packages/epubjs/src/managers/default/index.js:932
↓ 8 callersMethodupdateAxis
(axis, forceUpdate)
packages/epubjs/src/managers/default/index.js:1054
↓ 7 callersMethodfirst
()
packages/epubjs/src/managers/helpers/views.js:13
↓ 7 callersMethodformat
* Apply Css to a Document * @param {Contents} contents * @return {Promise}
packages/epubjs/src/layout.js:196
↓ 7 callersMethodgetPropertyText
* Get text by property * @private * @param {node} xml * @param {string} property * @return {string} text
packages/epubjs/src/packaging.js:322
↓ 7 callersMethodparseComponent
(componentStr)
packages/epubjs/src/epubcfi.js:151
↓ 7 callersMethodscrollTo
(left = 0, top = 0)
packages/epubjs/src/managers/helpers/snap.js:328
↓ 7 callersMethodupdateBook
(changes: Partial<BookRecord>)
apps/reader/src/models/reader.ts:123
↓ 6 callersMethodadd
* Add all of a book resources to the store * @param {Resources} resources book resources * @param {boolean} [force] force resaving resources
packages/epubjs/src/store.js:92
↓ 6 callersFunctionbounds
(el)
packages/epubjs/src/utils/core.js:270
↓ 6 callersMethodcheckType
* Check the type of constructor input * @private
packages/epubjs/src/epubcfi.js:73
↓ 6 callersMethodcreateView
(section, forceRight)
packages/epubjs/src/managers/default/index.js:252
↓ 6 callersMethodlast
()
packages/epubjs/src/managers/helpers/views.js:17
↓ 6 callersMethodrelative
* Resolve a path relative to the url * @param {string} what * @returns {string} path
packages/epubjs/src/utils/url.js:100
↓ 6 callersMethodremove
* Remove a Section from the Spine * @private * @param {Section} section
packages/epubjs/src/spine.js:203
↓ 6 callersMethodrequest
* Request a url * @param {string} url a url to request from storage * @param {string} [type] specify the type of the returned result * @pa
packages/epubjs/src/store.js:141
↓ 6 callersMethodselectNodeContents
(referenceNode)
packages/epubjs/src/utils/core.js:894
↓ 6 callersMethodtrigger
* Triggers a hook to run all functions * @example this.content.trigger(args).then(function(){...});
packages/epubjs/src/utils/hook.js:50
↓ 6 callersMethodupdateWritingMode
(mode)
packages/epubjs/src/managers/default/index.js:1050
↓ 6 callersFunctionuseSettings
()
apps/reader/src/state.ts:57
↓ 6 callersMethodwidth
()
packages/epubjs/src/managers/views/iframe.js:573
↓ 5 callersFunctionborders
(el)
packages/epubjs/src/utils/core.js:315
↓ 5 callersMethodclear
()
packages/epubjs/src/managers/default/index.js:699
↓ 5 callersMethodcoverUrl
* Get the cover url * @return {Promise<?string>} coverUrl
packages/epubjs/src/book.js:682
↓ 5 callersMethodexpand
(force)
packages/epubjs/src/managers/views/iframe.js:294
↓ 5 callersFunctionfilterChildren
(el, nodeName, single)
packages/epubjs/src/utils/core.js:795
↓ 5 callersMethodfindNode
(steps, _doc, ignoreClass)
packages/epubjs/src/epubcfi.js:864
↓ 5 callersMethodgetContents
* Get the Contents object of each rendered view * @returns {Contents[]}
packages/epubjs/src/rendition.js:1036
↓ 5 callersMethodisCfiString
* Check if a string is wrapped with "epubcfi()" * @param {string} str * @returns {boolean}
packages/epubjs/src/epubcfi.js:1017
↓ 5 callersFunctionkeys
(o: T)
apps/reader/src/utils.ts:1
↓ 5 callersFunctionmakeColorString
(variable, opacity)
packages/tailwind/src/colors.js:1
↓ 5 callersMethodnext
()
apps/reader/src/models/reader.ts:119
↓ 5 callersMethodopen
* Open a epub or url * @param {string | ArrayBuffer} input Url, Path or ArrayBuffer * @param {string} [what="binary", "base64", "epub", "opf", "
packages/epubjs/src/book.js:249
↓ 5 callersFunctionprefixed
(unprefixed)
packages/epubjs/src/utils/core.js:108
↓ 5 callersMethodprev
()
apps/reader/src/models/reader.ts:112
↓ 5 callersFunctionqsp
(el, sel, props)
packages/epubjs/src/utils/core.js:587
↓ 5 callersFunctionrange
(n: number)
packages/internal/src/lib.ts:3
↓ 5 callersMethodrange
* Get a Dom Range from EpubCFI * @param {EpubCFI} _cfi * @param {string} [ignoreClass] * @returns {Range} range
packages/epubjs/src/contents.js:1015
↓ 5 callersMethodshow
()
packages/epubjs/src/managers/helpers/views.js:140
↓ 5 callersMethodupdate
* Update a theme * @param {string} name
packages/epubjs/src/themes.js:144
↓ 5 callersFunctionuseColorScheme
()
apps/reader/src/hooks/theme/useColorScheme.ts:7
↓ 5 callersFunctionuseSplitViewItem
( key: React.FC | string, { preferredSize, minSize = 0, maxSize = Number.POSITIVE_INFINITY,
apps/reader/src/components/base/SplitView.tsx:56
↓ 4 callersMethodadd
(section, forceRight)
packages/epubjs/src/managers/default/index.js:390
↓ 4 callersMethodbounds
()
packages/epubjs/src/managers/default/index.js:982
↓ 4 callersMethodcheck
(_offsetLeft, _offsetTop)
packages/epubjs/src/managers/continuous/index.js:249
↓ 4 callersMethodclear
()
packages/epubjs/src/utils/hook.js:77
↓ 4 callersFunctioncopy
(text: string)
apps/reader/src/utils.ts:24
↓ 4 callersMethoddisplay
(section, target)
packages/epubjs/src/managers/default/index.js:271
↓ 4 callersFunctionfileToEpub
(file: File)
apps/reader/src/file.ts:9
↓ 4 callersFunctionhandleFiles
(files: Iterable<File>)
apps/reader/src/file.ts:14
↓ 4 callersFunctionisXml
(ext)
packages/epubjs/src/utils/core.js:439
↓ 4 callersMethodlayoutStyle
* Set the layoutStyle of the content * @param {string} [style="paginated"] "scrolling" | "paginated" * @private
packages/epubjs/src/contents.js:1247
↓ 4 callersMethodlocated
* Creates a Rendition#locationRange from location * passed by the Manager * @returns {displayedLocation} * @private
packages/epubjs/src/rendition.js:805
↓ 4 callersMethodlocationFromCfi
* Get a location from an EpubCFI * @param {EpubCFI} cfi * @return {number}
packages/epubjs/src/locations.js:346
↓ 4 callersMethodpathTo
(node, offset, ignoreClass)
packages/epubjs/src/epubcfi.js:441
↓ 4 callersMethodpercentageFromLocation
* Get a percentage position from a location index * @param {number} location * @return {number}
packages/epubjs/src/locations.js:385
↓ 4 callersMethodremoveTab
(index: number)
apps/reader/src/models/reader.ts:471
next →1–100 of 857, ranked by callers