Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pacexy/flow
/ functions
Functions
857 in github.com/pacexy/flow
⨍
Functions
857
◇
Types & classes
245
↓ 2 callers
Function
group
(array: T[], getKey: (item: T) => string | number)
apps/reader/src/utils.ts:13
↓ 2 callers
Function
handleKeyDown
(tab?: BookTab)
apps/reader/src/components/Reader.tsx:46
↓ 2 callers
Method
handleNextPrePaginated
(forceRight, section, action)
packages/epubjs/src/managers/default/index.js:256
↓ 2 callers
Function
hasSelection
( selection?: Selection | null, )
apps/reader/src/hooks/useTextSelection.ts:10
↓ 2 callers
Method
hide
()
packages/epubjs/src/managers/helpers/views.js:153
↓ 2 callers
Method
hidePrevLocation
()
apps/reader/src/models/reader.ts:243
↓ 2 callers
Function
indexOfNode
(node, typeId)
packages/epubjs/src/utils/core.js:397
↓ 2 callers
Method
isVisible
(view, offsetPrev, offsetNext, _container)
packages/epubjs/src/managers/default/index.js:876
↓ 2 callers
Function
layout
( viewportSize: number, viewSize: number, anchor: ILayoutAnchor, )
apps/reader/src/components/base/ContextView.tsx:28
↓ 2 callers
Method
load
* Load locations from JSON * @param {json} locations
packages/epubjs/src/locations.js:438
↓ 2 callers
Method
locationOf
(target)
packages/epubjs/src/managers/views/iframe.js:585
↓ 2 callers
Function
lock
(l: number, r: number, unit = 'px')
apps/reader/src/styles.ts:74
↓ 2 callers
Method
mapSectionToNavItem
(sectionHref: string)
apps/reader/src/models/reader.ts:247
↓ 2 callers
Function
mapToCss
(o: CSSProperties)
apps/reader/src/styles.ts:28
↓ 2 callers
Method
moveTo
(offset, width)
packages/epubjs/src/managers/default/index.js:359
↓ 2 callers
Method
next
* Go to the next "page" in the rendition * @return {Promise}
packages/epubjs/src/rendition.js:547
↓ 2 callers
Function
nodeBounds
(node)
packages/epubjs/src/utils/core.js:358
↓ 2 callers
Method
onResize
(e)
packages/epubjs/src/managers/helpers/snap.js:189
↓ 2 callers
Method
openContainer
* Open the epub container * @private * @param {string} url * @return {string} packagePath
packages/epubjs/src/book.js:309
↓ 2 callers
Method
openEpub
* Open an archived epub * @private * @param {binary} data * @param {string} [encoding] * @return {Promise}
packages/epubjs/src/book.js:293
↓ 2 callers
Method
openPackaging
* Open the Open Packaging Format Xml * @private * @param {string} url * @return {Promise}
packages/epubjs/src/book.js:322
↓ 2 callers
Function
parents
(node)
packages/epubjs/src/utils/core.js:779
↓ 2 callers
Method
parse
(contents, cfiBase, chars)
packages/epubjs/src/locations.js:99
↓ 2 callers
Method
parse
* Parse the path: https://nodejs.org/api/path.html#path_path_parse_path * @param {string} what * @returns {object}
packages/epubjs/src/utils/path.js:39
↓ 2 callers
Method
parseNavList
* Parses lists in the toc * @param {document} navListHtml * @param {string} parent id * @return {array} navigation list
packages/epubjs/src/navigation.js:174
↓ 2 callers
Method
pause
* Pause a running queue
packages/epubjs/src/utils/queue.js:183
↓ 2 callers
Method
placeMark
(element, range)
packages/epubjs/src/managers/views/iframe.js:757
↓ 2 callers
Method
prepend
(section, forceRight)
packages/epubjs/src/managers/default/index.js:428
↓ 2 callers
Method
prev
* Go to the previous "page" in the rendition * @return {Promise}
packages/epubjs/src/rendition.js:557
↓ 2 callers
Method
put
* Put binary data from a url to storage * @param {string} url a url to request from storage * @param {boolean} [withCredentials] * @param
packages/epubjs/src/store.js:118
↓ 2 callers
Method
putAnnotation
( type: AnnotationType, cfi: string, color: AnnotationColor, text: string, notes?: string,
apps/reader/src/models/reader.ts:156
↓ 2 callers
Method
rangePairToCfiPair
* Turn a pair of ranges into a pair of CFIs * @private * @param {string} cfiBase base string for an EpubCFI * @param {object} rangePair { sta
packages/epubjs/src/mapping.js:430
↓ 2 callers
Function
readBlob
(fn: (reader: FileReader) => void)
apps/reader/src/file.ts:73
↓ 2 callers
Method
remove
(view)
packages/epubjs/src/managers/helpers/views.js:69
↓ 2 callers
Method
removeAnnotation
(cfi: string)
apps/reader/src/models/reader.ts:206
↓ 2 callers
Method
removeGroup
(index: number)
apps/reader/src/models/reader.ts:549
↓ 2 callers
Method
render
* Render the contents of a section * @param {method} [_request] a request method to use for loading * @return {string} output a serialized XML
packages/epubjs/src/section.js:94
↓ 2 callers
Method
render
(request, show)
packages/epubjs/src/managers/views/iframe.js:153
↓ 2 callers
Method
renderTo
* Sugar to render a book to an element * @param {element | string} element element or string to add a rendition to * @param {object} [options]
packages/epubjs/src/book.js:589
↓ 2 callers
Method
replaceCss
* Replace URLs in CSS resources * @private * @param {Archive} [archive] * @param {method} [resolver] * @return {Promise}
packages/epubjs/src/resources.js:166
↓ 2 callers
Method
replacements
* Load replacement urls * @private * @return {Promise} completed loading urls
packages/epubjs/src/book.js:701
↓ 2 callers
Function
request
(url, type, withCredentials, headers)
packages/epubjs/src/utils/request.js:4
↓ 2 callers
Method
resize
()
apps/reader/src/models/reader.ts:570
↓ 2 callers
Method
resizeCheck
* Check if size of contents has changed and * emit 'resize' event if it has. * @private
packages/epubjs/src/contents.js:421
↓ 2 callers
Method
resizeListeners
* Poll for resize detection * @private
packages/epubjs/src/contents.js:440
↓ 2 callers
Method
searchInSection
(keyword = this.keyword, section = this.section)
apps/reader/src/models/reader.ts:288
↓ 2 callers
Method
selectTab
(index: number)
apps/reader/src/models/reader.ts:500
↓ 2 callers
Function
serializeData
(books?: BookRecord[])
apps/reader/src/sync.ts:49
↓ 2 callers
Method
setAnnotationRange
(cfi: string)
apps/reader/src/models/reader.ts:134
↓ 2 callers
Method
setKeyword
(keyword: string)
apps/reader/src/models/reader.ts:213
↓ 2 callers
Method
show
* [Not Implemented] Show annotations * @TODO: needs implementation in View
packages/epubjs/src/annotations.js:189
↓ 2 callers
Method
showPrevLocation
()
apps/reader/src/models/reader.ts:239
↓ 2 callers
Method
size
* Size the contents to a given width and height * @param {number} [width] * @param {number} [height]
packages/epubjs/src/contents.js:1051
↓ 2 callers
Method
size
(_width, _height)
packages/epubjs/src/managers/views/iframe.js:244
↓ 2 callers
Method
snap
(howMany = 0)
packages/epubjs/src/managers/helpers/snap.js:278
↓ 2 callers
Method
splitTextNodeIntoRanges
* Split up a text node into ranges for each word * @private * @param {Node} root root node * @param {string} [_splitter] what to split on
packages/epubjs/src/mapping.js:380
↓ 2 callers
Method
status
* Update the online / offline status * @private
packages/epubjs/src/store.js:76
↓ 2 callers
Function
substitute
(content, urls, replacements)
packages/epubjs/src/utils/replacements.js:122
↓ 2 callers
Method
substitute
* Substitute urls in content, with replacements, * relative to a url if provided * @param {string} content * @param {string} [url] url to
packages/epubjs/src/resources.js:299
↓ 2 callers
Method
textHeight
* Get the height of the text using Range * @returns {number} height
packages/epubjs/src/contents.js:166
↓ 2 callers
Method
textNodes
(container, ignoreClass)
packages/epubjs/src/epubcfi.js:817
↓ 2 callers
Method
textWidth
* Get the width of the text using Range * @returns {number} width
packages/epubjs/src/contents.js:141
↓ 2 callers
Method
undefine
(def: string)
apps/reader/src/models/reader.ts:142
↓ 2 callers
Method
unhighlight
(cfiRange)
packages/epubjs/src/managers/views/iframe.js:790
↓ 2 callers
Method
unmark
(cfiRange)
packages/epubjs/src/managers/views/iframe.js:821
↓ 2 callers
Method
unpack
* unpack the contents of the Books packaging * @private * @param {Packaging} packaging object
packages/epubjs/src/book.js:463
↓ 2 callers
Method
ununderline
(cfiRange)
packages/epubjs/src/managers/views/iframe.js:806
↓ 2 callers
Method
update
(_offset)
packages/epubjs/src/managers/continuous/index.js:191
↓ 2 callers
Function
updateIndex
(array: any[], deletedItemIndex: number)
apps/reader/src/models/reader.ts:18
↓ 2 callers
Function
uploadData
(books: BookRecord[])
apps/reader/src/sync.ts:70
↓ 2 callers
Function
useDisablePinchZooming
(win?: Window)
apps/reader/src/hooks/useDisablePinchZooming.ts:4
↓ 2 callers
Function
useDndContext
()
apps/reader/src/components/base/DropZone.tsx:143
↓ 2 callers
Function
useForceRender
()
apps/reader/src/hooks/useForceRender.ts:3
↓ 2 callers
Function
useLibrary
()
apps/reader/src/hooks/useLibrary.ts:5
↓ 2 callers
Function
useRemoteBooks
()
apps/reader/src/hooks/remote/useRemote.ts:13
↓ 2 callers
Function
useRemoteFiles
()
apps/reader/src/hooks/remote/useRemote.ts:9
↓ 2 callers
Function
useSourceColor
()
apps/reader/src/hooks/theme/useSourceColor.ts:5
↓ 2 callers
Function
useTypography
(tab: BookTab)
apps/reader/src/hooks/useTypography.ts:19
↓ 2 callers
Method
views
* Get the views member from the manager * @returns {Views}
packages/epubjs/src/rendition.js:1044
↓ 2 callers
Method
walk
* Walk a node, preforming a function on each node it finds * @private * @param {Node} root Node to walkToNode * @param {function} func walk f
packages/epubjs/src/mapping.js:73
↓ 2 callers
Method
walkToNode
(steps, _doc, ignoreClass)
packages/epubjs/src/epubcfi.js:830
↓ 2 callers
Function
withOpacity
(variable, opacityPreset)
packages/tailwind/src/colors.js:8
↓ 2 callers
Method
writingMode
* Set the writingMode of the text * @param {string} [mode="horizontal-tb"] "horizontal-tb" | "vertical-rl" | "vertical-lr"
packages/epubjs/src/contents.js:1230
↓ 1 callers
Method
_annotationsAt
* Get annotations by Section Index * @private
packages/epubjs/src/annotations.js:108
↓ 1 callers
Method
_removeFromAnnotationBySectionIndex
* Remove an annotations by Section Index * @private
packages/epubjs/src/annotations.js:98
↓ 1 callers
Function
accept
(e?: DragEvent)
apps/reader/src/components/base/DropZone.tsx:28
↓ 1 callers
Method
addEventListeners
* Add DOM event listeners * @private
packages/epubjs/src/contents.js:906
↓ 1 callers
Method
addEventListeners
()
packages/epubjs/src/managers/default/index.js:117
↓ 1 callers
Method
addListeners
* Add online and offline event listeners * @private
packages/epubjs/src/store.js:56
↓ 1 callers
Method
addListeners
()
packages/epubjs/src/managers/helpers/snap.js:115
↓ 1 callers
Method
addListeners
()
packages/epubjs/src/managers/views/iframe.js:511
↓ 1 callers
Method
addListeners
()
packages/epubjs/src/managers/views/inline.js:334
↓ 1 callers
Method
addScrollListeners
()
packages/epubjs/src/managers/continuous/index.js:436
↓ 1 callers
Method
addSelectionListeners
* Add listener for text selection * @private
packages/epubjs/src/contents.js:948
↓ 1 callers
Method
addStylesheet
* Append a stylesheet link to the document head * @param {string} src url
packages/epubjs/src/contents.js:695
↓ 1 callers
Method
append
* Append a Section to the Spine * @private * @param {Section} section
packages/epubjs/src/spine.js:159
↓ 1 callers
Method
append
(section)
packages/epubjs/src/managers/continuous/index.js:138
↓ 1 callers
Method
attachTo
* Call to attach the container to an element in the dom * Container must be attached before rendering can begin * @param {element} element to a
packages/epubjs/src/rendition.js:287
↓ 1 callers
Method
attachTo
(what)
packages/epubjs/src/managers/helpers/stage.js:124
↓ 1 callers
Method
axis
(axis)
packages/epubjs/src/managers/helpers/stage.js:287
← previous
next →
201–300 of 857, ranked by callers