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
↓ 4 callers
Method
resize
(width, height)
packages/epubjs/src/managers/views/inline.js:259
↓ 4 callers
Function
rgbFromArgb
(argb: number)
apps/reader/src/color.ts:9
↓ 4 callers
Method
search
* Search a string in multiple sequential Element of the section. If the document.createTreeWalker api is missed(eg: IE8), use `find` as a fallback.
packages/epubjs/src/section.js:198
↓ 4 callers
Method
section
* Gets a Section of the Book from the Spine * Alias for `book.spine.get` * @param {string} target * @return {Section}
packages/epubjs/src/book.js:579
↓ 4 callers
Method
segmentString
(segment)
packages/epubjs/src/epubcfi.js:289
↓ 4 callers
Function
setClickedAnnotation
(v: boolean)
apps/reader/src/components/Annotation.tsx:12
↓ 4 callers
Function
useBackground
()
apps/reader/src/hooks/theme/useBackground.ts:9
↓ 4 callers
Function
useSetAction
()
apps/reader/src/hooks/useAction.ts:16
↓ 4 callers
Function
uuid
()
packages/epubjs/src/utils/core.js:36
↓ 4 callers
Method
visible
()
packages/epubjs/src/managers/default/index.js:897
↓ 3 callers
Method
add
* Add an annotation to store * @param {string} type Type of annotation to add: "highlight", "underline", "mark" * @param {EpubCFI} cfiRange Epub
packages/epubjs/src/annotations.js:34
↓ 3 callers
Method
addGroup
(tabs: Array<Tab | TabParam>, index = this.focusedIndex + 1)
apps/reader/src/models/reader.ts:554
↓ 3 callers
Method
cfiFromRange
* Get a CFI from a Range in the Section * @param {range} _range * @return {string} cfi an EpubCFI string
packages/epubjs/src/section.js:320
↓ 3 callers
Method
clear
()
apps/reader/src/models/reader.ts:565
↓ 3 callers
Method
collapse
* Collapse a CFI Range to a single CFI Position * @param {boolean} [toStart=false]
packages/epubjs/src/epubcfi.js:1047
↓ 3 callers
Function
compareHref
( sectionHref: string | undefined, navitemHref: string | undefined, )
apps/reader/src/models/reader.ts:23
↓ 3 callers
Function
compositeChannels
(channel1: number, channel2: number, p: number)
apps/reader/src/color.ts:13
↓ 3 callers
Method
count
* Count number of pages * @param {number} totalLength * @param {number} pageLength * @return {{spreads: Number, pages: Number}}
packages/epubjs/src/layout.js:224
↓ 3 callers
Function
createBlobUrl
(content, mime)
packages/epubjs/src/utils/core.js:461
↓ 3 callers
Method
dequeue
* Run one item * @return {Promise}
packages/epubjs/src/utils/queue.js:69
↓ 3 callers
Method
display
(section, target)
packages/epubjs/src/managers/continuous/index.js:53
↓ 3 callers
Method
each
* Loop over the Sections in the Spine * @return {method} forEach
packages/epubjs/src/spine.js:218
↓ 3 callers
Function
fetchBook
(url: string)
apps/reader/src/file.ts:89
↓ 3 callers
Function
find
( nodes: T[] = [], id: string, )
apps/reader/src/models/tree.ts:16
↓ 3 callers
Method
height
* Get or Set height * @param {number} [h] * @returns {number} height
packages/epubjs/src/contents.js:83
↓ 3 callers
Method
highlight
* Add a highlight to the store * @param {EpubCFI} cfiRange EpubCFI range to attach annotation to * @param {object} data Data to assign to annota
packages/epubjs/src/annotations.js:120
↓ 3 callers
Method
isDirectory
* Check if path ends with a directory * @param {string} what * @returns {boolean}
packages/epubjs/src/utils/path.js:56
↓ 3 callers
Method
isRendered
()
packages/epubjs/src/managers/default/index.js:1134
↓ 3 callers
Function
locationOf
(item, array, compareFunction, _start, _end)
packages/epubjs/src/utils/core.js:193
↓ 3 callers
Method
lock
(what, width, height)
packages/epubjs/src/managers/views/iframe.js:261
↓ 3 callers
Method
lock
(what, width, height)
packages/epubjs/src/managers/views/inline.js:195
↓ 3 callers
Method
normalizedMap
(children, nodeType, ignoreClass)
packages/epubjs/src/epubcfi.js:695
↓ 3 callers
Method
override
* Add override * @param {string} name * @param {string} value * @param {boolean} priority
packages/epubjs/src/themes.js:210
↓ 3 callers
Method
page
* Find CFI pairs for a page * @param {Contents} contents Contents from view * @param {string} cfiBase string of the base for a cfi * @param {
packages/epubjs/src/mapping.js:37
↓ 3 callers
Method
pageFromCfi
* Get a PageList result from a EpubCFI * @param {string} cfi EpubCFI String * @return {number} page
packages/epubjs/src/pagelist.js:172
↓ 3 callers
Method
patchOffset
(anchor, offset, ignoreClass)
packages/epubjs/src/epubcfi.js:663
↓ 3 callers
Method
position
()
packages/epubjs/src/managers/views/iframe.js:581
↓ 3 callers
Function
querySelectorByType
(html, element, type)
packages/epubjs/src/utils/core.js:733
↓ 3 callers
Method
registerRules
* Register rule * @param {string} name * @param {object} rules
packages/epubjs/src/themes.js:114
↓ 3 callers
Method
registerUrl
* Register a url * @param {string} name * @param {string} input
packages/epubjs/src/themes.js:101
↓ 3 callers
Method
resize
(width, height, epubcfi)
packages/epubjs/src/managers/default/index.js:205
↓ 3 callers
Method
run
* Run all tasks sequentially, at convince * @return {Promise}
packages/epubjs/src/utils/queue.js:117
↓ 3 callers
Method
size
(width, height)
packages/epubjs/src/managers/helpers/stage.js:167
↓ 3 callers
Method
spread
* Switch between using spreads or not, and set the * width at which they switch to single. * @param {string} spread "none" | "always" | "auto"
packages/epubjs/src/layout.js:85
↓ 3 callers
Function
sprint
(root, func)
packages/epubjs/src/utils/core.js:619
↓ 3 callers
Method
toString
* Convert CFI to a epubcfi(...) string * @returns {string} epubcfi
packages/epubjs/src/epubcfi.js:309
↓ 3 callers
Method
toggle
(id: string)
apps/reader/src/models/reader.ts:229
↓ 3 callers
Method
unload
* Unload the section document
packages/epubjs/src/section.js:336
↓ 3 callers
Method
update
* Update props that have changed * @private * @param {object} props
packages/epubjs/src/layout.js:252
↓ 3 callers
Function
useAction
()
apps/reader/src/hooks/useAction.ts:20
↓ 3 callers
Function
useList
(array: Readonly<any[]> = [])
apps/reader/src/hooks/useList.ts:6
↓ 3 callers
Method
viewport
* Get or Set the viewport element * @param {object} [options] * @param {string} [options.width] * @param {string} [options.height] * @para
packages/epubjs/src/contents.js:264
↓ 3 callers
Method
width
* Get or Set width * @param {number} [w] * @returns {number} width
packages/epubjs/src/contents.js:62
↓ 3 callers
Function
windowBounds
()
packages/epubjs/src/utils/core.js:376
↓ 2 callers
Method
_checkCollapsed
()
packages/epubjs/src/utils/core.js:917
↓ 2 callers
Method
_commonAncestorContainer
(startContainer, endContainer)
packages/epubjs/src/utils/core.js:904
↓ 2 callers
Method
_getStylesheetNode
(key)
packages/epubjs/src/contents.js:732
↓ 2 callers
Method
add
* Add Theme to contents * @param {string} name * @param {Contents} contents
packages/epubjs/src/themes.js:186
↓ 2 callers
Function
addBook
(file: File)
apps/reader/src/file.ts:43
↓ 2 callers
Method
addClass
* Add a class to the contents container * @param {string} className
packages/epubjs/src/contents.js:874
↓ 2 callers
Function
addFile
(id: string, file: File, epub?: Book)
apps/reader/src/file.ts:61
↓ 2 callers
Method
addStylesheetCss
* Append stylesheet css * @param {string} serializedCss * @param {string} key If the key is the same, the CSS will be replaced instead of insert
packages/epubjs/src/contents.js:754
↓ 2 callers
Method
addStylesheetRules
* Append stylesheet rules to a generate stylesheet * Array: https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule * Object:
packages/epubjs/src/contents.js:771
↓ 2 callers
Method
append
(section, forceRight)
packages/epubjs/src/managers/default/index.js:410
↓ 2 callers
Method
applyLayout
(layout)
packages/epubjs/src/managers/default/index.js:990
↓ 2 callers
Method
attach
* Add to a view * @param {View} view
packages/epubjs/src/annotations.js:235
↓ 2 callers
Method
bounds
()
packages/epubjs/src/managers/helpers/stage.js:244
↓ 2 callers
Method
calculate
* Calculate the dimensions of the pagination * @param {number} _width width of the rendering * @param {number} _height height of the renderin
packages/epubjs/src/layout.js:105
↓ 2 callers
Function
camelToSnake
(s: string)
apps/reader/src/components/Theme.tsx:31
↓ 2 callers
Method
clear
* Clear all rendered views
packages/epubjs/src/rendition.js:539
↓ 2 callers
Method
collapse
(toStart)
packages/epubjs/src/utils/core.js:874
↓ 2 callers
Function
compareDefinition
(d1: string, d2: string)
apps/reader/src/models/reader.ts:38
↓ 2 callers
Function
createBase64Url
(content, mime)
packages/epubjs/src/utils/core.js:486
↓ 2 callers
Method
createUrl
* Create a url to a resource * @param {string} url * @return {Promise<string>} Promise resolves with url string
packages/epubjs/src/resources.js:103
↓ 2 callers
Method
createUrl
* Create a Url from a stored item * @param {string} url * @param {object} [options.base64] use base64 encoding or blob url * @return {Promi
packages/epubjs/src/store.js:303
↓ 2 callers
Method
current
()
packages/epubjs/src/managers/default/index.js:690
↓ 2 callers
Method
default
* Add a default theme to be used by a rendition * @param {object | string} theme * @example themes.register("http://example.com/default.css")
packages/epubjs/src/themes.js:56
↓ 2 callers
Function
deserializeData
(text: string)
apps/reader/src/sync.ts:57
↓ 2 callers
Method
destroy
(view)
packages/epubjs/src/managers/helpers/views.js:81
↓ 2 callers
Method
destroy
()
packages/epubjs/src/managers/continuous/index.js:620
↓ 2 callers
Method
detach
* Remove from a view * @param {View} view
packages/epubjs/src/annotations.js:256
↓ 2 callers
Function
dfs
(node: T, fn: (node: T) => void)
apps/reader/src/models/tree.ts:29
↓ 2 callers
Method
disableScroll
()
packages/epubjs/src/managers/helpers/snap.js:107
↓ 2 callers
Method
displayFromSelector
(selector: string, section: ISection, returnable = true)
apps/reader/src/models/reader.ts:104
↓ 2 callers
Method
displayed
()
packages/epubjs/src/managers/helpers/views.js:126
↓ 2 callers
Method
enableScroll
()
packages/epubjs/src/managers/helpers/snap.js:111
↓ 2 callers
Method
erase
(view, above)
packages/epubjs/src/managers/continuous/index.js:379
↓ 2 callers
Function
findChildren
(el)
packages/epubjs/src/utils/core.js:761
↓ 2 callers
Method
findEnd
* Find End Range * @private * @param {Node} root root node * @param {number} start position to start at * @param {number} end position to
packages/epubjs/src/mapping.js:211
↓ 2 callers
Method
findStart
* Find Start Range * @private * @param {Node} root root node * @param {number} start position to start at * @param {number} end position t
packages/epubjs/src/mapping.js:139
↓ 2 callers
Method
findTextEndRange
* Find Text End Range * @private * @param {Node} root root node * @param {number} start position to start at * @param {number} end positio
packages/epubjs/src/mapping.js:325
↓ 2 callers
Method
findTextStartRange
* Find Text Start Range * @private * @param {Node} root root node * @param {number} start position to start at * @param {number} end posit
packages/epubjs/src/mapping.js:283
↓ 2 callers
Method
fixMiss
(steps, offset, _doc, ignoreClass)
packages/epubjs/src/epubcfi.js:887
↓ 2 callers
Function
flatTree
(node: T, depth = 1)
apps/reader/src/models/tree.ts:8
↓ 2 callers
Function
generateSys
(schemeName: 'light' | 'dark')
apps/reader/src/components/Theme.tsx:49
↓ 2 callers
Method
getBlob
* Get a Blob from Archive by Url * @param {string} url * @param {string} [mimeType] * @return {Blob}
packages/epubjs/src/archive.js:126
↓ 2 callers
Method
getBlob
* Get a Blob from Storage by Url * @param {string} url * @param {string} [mimeType] * @return {Blob}
packages/epubjs/src/store.js:226
↓ 2 callers
Method
getByIndex
* Get an item from navigation subitems recursively by index * @param {string} target * @param {number} index * @param {array} navItems
packages/epubjs/src/navigation.js:111
↓ 2 callers
Method
getNavPath
(navItem = this.currentNavItem)
apps/reader/src/models/reader.ts:269
↓ 2 callers
Method
getText
* Get Text from Storage by Url * @param {string} url * @param {string} [mimeType] * @return {string}
packages/epubjs/src/store.js:244
← previous
next →
101–200 of 857, ranked by callers