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
↓ 1 callers
Function
blob2base64
(blob)
packages/epubjs/src/utils/core.js:679
↓ 1 callers
Function
camelToSnake
(str: string)
apps/reader/src/styles.ts:25
↓ 1 callers
Method
cfiFromElement
* Get a CFI from an Element in the Section * @param {element} el * @return {string} cfi an EpubCFI string
packages/epubjs/src/section.js:329
↓ 1 callers
Method
cfiFromLocation
* Get an EpubCFI from location index * @param {number} loc * @return {EpubCFI} cfi
packages/epubjs/src/locations.js:398
↓ 1 callers
Method
cfiFromPercentage
* Get an EpubCFI from location percentage * @param {number} percentage * @return {EpubCFI} cfi
packages/epubjs/src/locations.js:417
↓ 1 callers
Function
checkForAnnotator
(cb, w)
packages/epubjs/examples/hypothesis.js:185
↓ 1 callers
Method
checkRequirements
* Checks to see if JSZip exists in global namspace, * Requires JSZip if it isn't there * @private
packages/epubjs/src/archive.js:25
↓ 1 callers
Method
checkRequirements
* Checks to see if localForage exists in global namspace, * Requires localForage if it isn't there * @private
packages/epubjs/src/store.js:38
↓ 1 callers
Function
clamp
(value: number, min: number, max: number)
apps/reader/src/utils.ts:5
↓ 1 callers
Method
columns
* Apply columns to the contents for pagination * @param {number} width * @param {number} height * @param {number} columnWidth * @param {nu
packages/epubjs/src/contents.js:1080
↓ 1 callers
Function
compositeColors
(color1: number, color2: number, p: number)
apps/reader/src/color.ts:18
↓ 1 callers
Method
container
(axis)
packages/epubjs/src/managers/views/iframe.js:66
↓ 1 callers
Method
container
(axis)
packages/epubjs/src/managers/views/inline.js:55
↓ 1 callers
Method
contentHeight
(min)
packages/epubjs/src/managers/views/inline.js:255
↓ 1 callers
Method
contentWidth
(min)
packages/epubjs/src/managers/views/inline.js:251
↓ 1 callers
Method
countWords
(s)
packages/epubjs/src/locations.js:260
↓ 1 callers
Method
counter
(bounds)
packages/epubjs/src/managers/default/index.js:451
↓ 1 callers
Method
counter
(bounds)
packages/epubjs/src/managers/continuous/index.js:183
↓ 1 callers
Method
create
(options)
packages/epubjs/src/managers/helpers/stage.js:27
↓ 1 callers
Method
create
()
packages/epubjs/src/managers/views/iframe.js:87
↓ 1 callers
Method
create
()
packages/epubjs/src/managers/views/inline.js:79
↓ 1 callers
Function
createBlob
(content, mime)
packages/epubjs/src/utils/core.js:450
↓ 1 callers
Method
createCssFile
* Create a new CSS file with the replaced URLs * @private * @param {string} href the original css file * @return {Promise} returns a BlobUr
packages/epubjs/src/resources.js:194
↓ 1 callers
Function
createDefiner
()
packages/epubjs/src/utils/scrolltype.js:28
↓ 1 callers
Method
currentLocation
* Get the Current Location object * @return {displayedLocation | promise} location (may be a promise)
packages/epubjs/src/rendition.js:784
↓ 1 callers
Function
defaults
(obj)
packages/epubjs/src/utils/core.js:136
↓ 1 callers
Method
define
(def: string[])
apps/reader/src/models/reader.ts:139
↓ 1 callers
Method
deregister
* Removes a function * @example this.content.deregister(function(){...});
packages/epubjs/src/utils/hook.js:35
↓ 1 callers
Method
destroy
()
packages/epubjs/src/managers/default/index.js:150
↓ 1 callers
Method
determineLayoutProperties
* Determine the Layout properties from metadata and settings * @private * @param {object} metadata * @return {object} properties
packages/epubjs/src/rendition.js:570
↓ 1 callers
Method
determineType
* Determine the type of they input passed to open * @private * @param {string} input * @return {string} binary | directory | epub | opf
packages/epubjs/src/book.js:419
↓ 1 callers
Method
direction
* Set the direction of the text * @param {string} [dir="ltr"] "rtl" | "ltr"
packages/epubjs/src/contents.js:1204
↓ 1 callers
Method
direction
* Adjust the direction of the rendition * @param {string} dir
packages/epubjs/src/rendition.js:689
↓ 1 callers
Method
epubReadingSystem
* Add the epubReadingSystem object to the navigator * @param {string} name * @param {string} version * @private
packages/epubjs/src/contents.js:1262
↓ 1 callers
Method
equalStep
(stepA, stepB)
packages/epubjs/src/epubcfi.js:485
↓ 1 callers
Function
exportAnnotations
()
apps/reader/src/components/viewlets/AnnotationView.tsx:58
↓ 1 callers
Method
fill
(_full)
packages/epubjs/src/managers/continuous/index.js:63
↓ 1 callers
Method
filteredPosition
(anchor, ignoreClass)
packages/epubjs/src/epubcfi.js:744
↓ 1 callers
Method
filteredStep
(node, ignoreClass)
packages/epubjs/src/epubcfi.js:421
↓ 1 callers
Method
find
(section)
packages/epubjs/src/managers/helpers/views.js:114
↓ 1 callers
Method
findCoverPath
* Find the Cover Path * <item properties="cover-image" id="ci" href="cover.svg" media-type="image/svg+xml" /> * Fallback for Epub 2.0 * @priv
packages/epubjs/src/packaging.js:268
↓ 1 callers
Method
findNavPath
* Find TOC NAV * @private * @param {element} manifestNode * @return {string}
packages/epubjs/src/packaging.js:223
↓ 1 callers
Method
findNcxPath
* Find TOC NCX * media-type="application/x-dtbncx+xml" href="toc.ncx" * @private * @param {element} manifestNode * @param {element} spineN
packages/epubjs/src/packaging.js:239
↓ 1 callers
Method
findRanges
(view)
packages/epubjs/src/mapping.js:110
↓ 1 callers
Method
findUniqueIdentifier
* Find Unique Identifier * @private * @param {node} packageXml * @return {string} Unique Identifier text
packages/epubjs/src/packaging.js:194
↓ 1 callers
Method
first
* Find the first Section in the Spine * @return {Section} first section
packages/epubjs/src/spine.js:226
↓ 1 callers
Method
fit
* Fit contents into a fixed width and height * @param {number} width * @param {number} height
packages/epubjs/src/contents.js:1160
↓ 1 callers
Method
flow
* Adjust the flow of the rendition to paginated or scrolled * (scrolled-continuous vs scrolled-doc are handled by different view managers) * @pa
packages/epubjs/src/rendition.js:607
↓ 1 callers
Method
fromNode
* Create a CFI object from a Node * @param {Node} anchor * @param {string | object} base * @param {string} [ignoreClass] * @returns {objec
packages/epubjs/src/epubcfi.js:601
↓ 1 callers
Method
fromRange
* Create a CFI object from a Range * @param {Range} range * @param {string | object} base * @param {string} [ignoreClass] * @returns {obje
packages/epubjs/src/epubcfi.js:508
↓ 1 callers
Method
generateChapterComponent
(_spineNodeIndex, _pos, id)
packages/epubjs/src/epubcfi.js:1029
↓ 1 callers
Function
generateCss
(theme: Theme)
apps/reader/src/components/Theme.tsx:35
↓ 1 callers
Function
generateRef
()
apps/reader/src/components/Theme.tsx:37
↓ 1 callers
Method
getBase64
* Get a base64 encoded result from Archive by Url * @param {string} url * @param {string} [mimeType] * @return {string} base64 encoded
packages/epubjs/src/archive.js:161
↓ 1 callers
Method
getBase64
* Get a base64 encoded result from Storage by Url * @param {string} url * @param {string} [mimeType] * @return {string} base64 encoded
packages/epubjs/src/store.js:274
↓ 1 callers
Method
getChapterComponent
(cfiStr)
packages/epubjs/src/epubcfi.js:233
↓ 1 callers
Function
getClickedAnnotation
()
apps/reader/src/components/Annotation.tsx:11
↓ 1 callers
Method
getContainer
()
packages/epubjs/src/managers/helpers/stage.js:145
↓ 1 callers
Method
getElement
(_element)
packages/epubjs/src/managers/helpers/stage.js:108
↓ 1 callers
Method
getPathComponent
(cfiStr)
packages/epubjs/src/epubcfi.js:239
↓ 1 callers
Method
getRange
(cfiStr)
packages/epubjs/src/epubcfi.js:248
↓ 1 callers
Method
getSheet
()
packages/epubjs/src/managers/helpers/stage.js:257
↓ 1 callers
Method
getText
* Get Text from Archive by Url * @param {string} url * @param {string} [encoding] * @return {string}
packages/epubjs/src/archive.js:144
↓ 1 callers
Function
handle
()
apps/reader/src/components/viewlets/TocView.tsx:76
↓ 1 callers
Method
handleResponse
* Handle the response from request * @private * @param {any} response * @param {string} [type] * @return {any} the parsed result
packages/epubjs/src/archive.js:102
↓ 1 callers
Method
handleResponse
* Handle the response from request * @private * @param {any} response * @param {string} [type] * @return {any} the parsed result
packages/epubjs/src/store.js:202
↓ 1 callers
Method
height
()
packages/epubjs/src/managers/views/iframe.js:577
↓ 1 callers
Method
imageLoadListeners
* Test if images are loaded or add listener for when they load * @private
packages/epubjs/src/contents.js:554
↓ 1 callers
Function
indexOfElementNode
(elementNode)
packages/epubjs/src/utils/core.js:429
↓ 1 callers
Function
indexOfSorted
(item, array, compareFunction, _start, _end)
packages/epubjs/src/utils/core.js:234
↓ 1 callers
Method
isAbsolute
* @param {string} what * @returns {boolean}
packages/epubjs/src/utils/path.js:47
↓ 1 callers
Method
isDefined
(def: string)
apps/reader/src/models/reader.ts:149
↓ 1 callers
Function
isElement
(obj)
packages/epubjs/src/utils/core.js:70
↓ 1 callers
Function
isFloat
(n)
packages/epubjs/src/utils/core.js:88
↓ 1 callers
Function
isForwardSelection
(selection: Selection)
apps/reader/src/hooks/useTextSelection.ts:17
↓ 1 callers
Method
item
* Page List Item * @private * @param {node} item * @return {object} pageListItem
packages/epubjs/src/pagelist.js:122
↓ 1 callers
Method
joinSteps
(steps)
packages/epubjs/src/epubcfi.js:263
↓ 1 callers
Method
landmarkItem
* Create a landmarkItem * @private * @param {element} item * @return {object} landmarkItem
packages/epubjs/src/navigation.js:261
↓ 1 callers
Function
last
(array: T[])
apps/reader/src/utils.ts:9
↓ 1 callers
Method
last
* Find the last Section in the Spine * @return {Section} last section
packages/epubjs/src/spine.js:243
↓ 1 callers
Method
layout
* Adjust the layout of the rendition to reflowable or pre-paginated * @param {object} settings
packages/epubjs/src/rendition.js:645
↓ 1 callers
Method
length
* Get the number of tasks in the queue * @return {number} tasks
packages/epubjs/src/utils/queue.js:176
↓ 1 callers
Method
linksHandler
* Emit event when link in content is clicked * @private
packages/epubjs/src/contents.js:1220
↓ 1 callers
Method
listeners
* Add DOM listeners * @private
packages/epubjs/src/contents.js:375
↓ 1 callers
Method
load
* Load the section from its url * @param {method} [_request] a request method to use for loading * @return {document} a promise with the xml do
packages/epubjs/src/section.js:49
↓ 1 callers
Method
load
* Load Spine Items * @param {object} json the items to be loaded * @return {Array} navItems
packages/epubjs/src/navigation.js:349
↓ 1 callers
Method
load
(contents)
packages/epubjs/src/managers/views/iframe.js:395
↓ 1 callers
Method
load
(contents)
packages/epubjs/src/managers/views/inline.js:288
↓ 1 callers
Method
loadNavigation
* Load Navigation and PageList from package * @private * @param {Packaging} packaging
packages/epubjs/src/book.js:540
↓ 1 callers
Function
localStorageEffect
(key: string, defaultValue: T)
apps/reader/src/state.ts:6
↓ 1 callers
Function
makeLinearGradient
(color)
packages/tailwind/src/colors.js:15
↓ 1 callers
Method
mark
* Add a mark to the store * @param {EpubCFI} cfiRange EpubCFI range to attach annotation to * @param {object} data Data to assign to annotation
packages/epubjs/src/annotations.js:142
↓ 1 callers
Method
mediaQueryListeners
* Listen for media query changes and emit 'expand' event * Adapted from: https://github.com/tylergaw/media-query-events/blob/master/js/mq-events.js
packages/epubjs/src/contents.js:486
↓ 1 callers
Method
navItem
* Create a navItem * @private * @param {element} item * @return {object} navItem
packages/epubjs/src/navigation.js:197
↓ 1 callers
Method
ncxItem
(item)
packages/epubjs/src/pagelist.js:101
↓ 1 callers
Method
ncxItem
* Create a ncxItem * @private * @param {element} item * @return {object} ncxItem
packages/epubjs/src/navigation.js:317
↓ 1 callers
Method
needsSnap
()
packages/epubjs/src/managers/helpers/snap.js:272
↓ 1 callers
Method
next
()
packages/epubjs/src/managers/default/index.js:469
↓ 1 callers
Method
next
()
packages/epubjs/src/managers/continuous/index.js:560
↓ 1 callers
Method
offset
()
packages/epubjs/src/managers/views/iframe.js:566
← previous
next →
301–400 of 857, ranked by callers