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
↓ 69 callers
Method
map
(layout)
packages/epubjs/src/contents.js:1041
↓ 60 callers
Method
forEach
* forEach pass through * @param {Function} fn function to run on each item * @return {method} forEach loop
packages/epubjs/src/navigation.js:362
↓ 48 callers
Method
resolve
* 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 callers
Method
indexOf
(view)
packages/epubjs/src/managers/helpers/views.js:21
↓ 33 callers
Method
toString
* @returns {string}
packages/epubjs/src/utils/url.js:107
↓ 32 callers
Function
ePub
* 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 callers
Method
css
* 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 callers
Function
start
()
packages/epubjs/examples/hypothesis.js:2
↓ 27 callers
Function
isNumber
(n)
packages/epubjs/src/utils/core.js:79
↓ 27 callers
Function
qs
(el, sel)
packages/epubjs/src/utils/core.js:548
↓ 27 callers
Function
useTranslation
(scope?: string)
apps/reader/src/hooks/useTranslation.ts:6
↓ 26 callers
Method
createRange
()
packages/epubjs/src/locations.js:72
↓ 24 callers
Method
setStart
(startNode, startOffset)
packages/epubjs/src/utils/core.js:847
↓ 23 callers
Method
find
* 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 callers
Method
get
* 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 callers
Method
filter
(anchor, ignoreClass)
packages/epubjs/src/epubcfi.js:622
↓ 20 callers
Method
register
* 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 callers
Method
slice
()
packages/epubjs/src/managers/helpers/views.js:25
↓ 19 callers
Method
setEnd
(endNode, endOffset)
packages/epubjs/src/utils/core.js:860
↓ 19 callers
Method
split
* Split resources by type * @private
packages/epubjs/src/resources.js:57
↓ 18 callers
Method
compare
* 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 callers
Method
resolve
* Resolves a relative path to a absolute url * @param {string} what * @returns {string} url
packages/epubjs/src/utils/url.js:83
↓ 17 callers
Method
enqueue
* Add an item to the queue * @return {Promise}
packages/epubjs/src/utils/queue.js:21
↓ 17 callers
Function
extend
(target)
packages/epubjs/src/utils/core.js:152
↓ 17 callers
Method
parse
* Parse a cfi string to a CFI object representation * @param {string} cfiStr * @returns {object} cfi
packages/epubjs/src/epubcfi.js:102
↓ 17 callers
Method
scrollBy
(x, y, silent)
packages/epubjs/src/managers/default/index.js:916
↓ 16 callers
Method
forEach
()
packages/epubjs/src/managers/helpers/views.js:94
↓ 15 callers
Method
load
* 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 callers
Function
useReaderSnapshot
()
apps/reader/src/models/reader.ts:589
↓ 12 callers
Method
all
()
packages/epubjs/src/managers/helpers/views.js:9
↓ 12 callers
Function
scale
(value: number, valueInTouchScreen: number)
apps/reader/src/platform.ts:5
↓ 11 callers
Method
now
()
packages/epubjs/src/managers/helpers/snap.js:337
↓ 11 callers
Function
useMobile
()
apps/reader/src/hooks/useMobile.ts:11
↓ 10 callers
Function
parse
(markup, mime, forceXMLDom)
packages/epubjs/src/utils/core.js:520
↓ 9 callers
Method
addTab
(param: TabParam | Tab)
apps/reader/src/models/reader.ts:477
↓ 9 callers
Method
display
(target?: string, returnable = true)
apps/reader/src/models/reader.ts:100
↓ 9 callers
Method
toRange
* 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 callers
Method
trim
()
packages/epubjs/src/managers/continuous/index.js:355
↓ 9 callers
Method
updateLayout
()
packages/epubjs/src/managers/default/index.js:1003
↓ 8 callers
Method
display
* 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 callers
Method
getElementText
* Get text of a namespaced element * @private * @param {node} xml * @param {string} tag * @return {string} text
packages/epubjs/src/packaging.js:297
↓ 8 callers
Function
qsa
(el, sel)
packages/epubjs/src/utils/core.js:571
↓ 8 callers
Function
scale
(p: keyof CSSStyleDeclaration)
apps/reader/src/styles.ts:52
↓ 8 callers
Method
scrollTo
(x, y, silent)
packages/epubjs/src/managers/default/index.js:932
↓ 8 callers
Method
updateAxis
(axis, forceUpdate)
packages/epubjs/src/managers/default/index.js:1054
↓ 7 callers
Method
first
()
packages/epubjs/src/managers/helpers/views.js:13
↓ 7 callers
Method
format
* Apply Css to a Document * @param {Contents} contents * @return {Promise}
packages/epubjs/src/layout.js:196
↓ 7 callers
Method
getPropertyText
* Get text by property * @private * @param {node} xml * @param {string} property * @return {string} text
packages/epubjs/src/packaging.js:322
↓ 7 callers
Method
parseComponent
(componentStr)
packages/epubjs/src/epubcfi.js:151
↓ 7 callers
Method
scrollTo
(left = 0, top = 0)
packages/epubjs/src/managers/helpers/snap.js:328
↓ 7 callers
Method
updateBook
(changes: Partial<BookRecord>)
apps/reader/src/models/reader.ts:123
↓ 6 callers
Method
add
* 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 callers
Function
bounds
(el)
packages/epubjs/src/utils/core.js:270
↓ 6 callers
Method
checkType
* Check the type of constructor input * @private
packages/epubjs/src/epubcfi.js:73
↓ 6 callers
Method
createView
(section, forceRight)
packages/epubjs/src/managers/default/index.js:252
↓ 6 callers
Method
last
()
packages/epubjs/src/managers/helpers/views.js:17
↓ 6 callers
Method
relative
* Resolve a path relative to the url * @param {string} what * @returns {string} path
packages/epubjs/src/utils/url.js:100
↓ 6 callers
Method
remove
* Remove a Section from the Spine * @private * @param {Section} section
packages/epubjs/src/spine.js:203
↓ 6 callers
Method
request
* 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 callers
Method
selectNodeContents
(referenceNode)
packages/epubjs/src/utils/core.js:894
↓ 6 callers
Method
trigger
* Triggers a hook to run all functions * @example this.content.trigger(args).then(function(){...});
packages/epubjs/src/utils/hook.js:50
↓ 6 callers
Method
updateWritingMode
(mode)
packages/epubjs/src/managers/default/index.js:1050
↓ 6 callers
Function
useSettings
()
apps/reader/src/state.ts:57
↓ 6 callers
Method
width
()
packages/epubjs/src/managers/views/iframe.js:573
↓ 5 callers
Function
borders
(el)
packages/epubjs/src/utils/core.js:315
↓ 5 callers
Method
clear
()
packages/epubjs/src/managers/default/index.js:699
↓ 5 callers
Method
coverUrl
* Get the cover url * @return {Promise<?string>} coverUrl
packages/epubjs/src/book.js:682
↓ 5 callers
Method
expand
(force)
packages/epubjs/src/managers/views/iframe.js:294
↓ 5 callers
Function
filterChildren
(el, nodeName, single)
packages/epubjs/src/utils/core.js:795
↓ 5 callers
Method
findNode
(steps, _doc, ignoreClass)
packages/epubjs/src/epubcfi.js:864
↓ 5 callers
Method
getContents
* Get the Contents object of each rendered view * @returns {Contents[]}
packages/epubjs/src/rendition.js:1036
↓ 5 callers
Method
isCfiString
* Check if a string is wrapped with "epubcfi()" * @param {string} str * @returns {boolean}
packages/epubjs/src/epubcfi.js:1017
↓ 5 callers
Function
keys
(o: T)
apps/reader/src/utils.ts:1
↓ 5 callers
Function
makeColorString
(variable, opacity)
packages/tailwind/src/colors.js:1
↓ 5 callers
Method
next
()
apps/reader/src/models/reader.ts:119
↓ 5 callers
Method
open
* 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 callers
Function
prefixed
(unprefixed)
packages/epubjs/src/utils/core.js:108
↓ 5 callers
Method
prev
()
apps/reader/src/models/reader.ts:112
↓ 5 callers
Function
qsp
(el, sel, props)
packages/epubjs/src/utils/core.js:587
↓ 5 callers
Function
range
(n: number)
packages/internal/src/lib.ts:3
↓ 5 callers
Method
range
* Get a Dom Range from EpubCFI * @param {EpubCFI} _cfi * @param {string} [ignoreClass] * @returns {Range} range
packages/epubjs/src/contents.js:1015
↓ 5 callers
Method
show
()
packages/epubjs/src/managers/helpers/views.js:140
↓ 5 callers
Method
update
* Update a theme * @param {string} name
packages/epubjs/src/themes.js:144
↓ 5 callers
Function
useColorScheme
()
apps/reader/src/hooks/theme/useColorScheme.ts:7
↓ 5 callers
Function
useSplitViewItem
( key: React.FC | string, { preferredSize, minSize = 0, maxSize = Number.POSITIVE_INFINITY,
apps/reader/src/components/base/SplitView.tsx:56
↓ 4 callers
Method
add
(section, forceRight)
packages/epubjs/src/managers/default/index.js:390
↓ 4 callers
Method
bounds
()
packages/epubjs/src/managers/default/index.js:982
↓ 4 callers
Method
check
(_offsetLeft, _offsetTop)
packages/epubjs/src/managers/continuous/index.js:249
↓ 4 callers
Method
clear
()
packages/epubjs/src/utils/hook.js:77
↓ 4 callers
Function
copy
(text: string)
apps/reader/src/utils.ts:24
↓ 4 callers
Method
display
(section, target)
packages/epubjs/src/managers/default/index.js:271
↓ 4 callers
Function
fileToEpub
(file: File)
apps/reader/src/file.ts:9
↓ 4 callers
Function
handleFiles
(files: Iterable<File>)
apps/reader/src/file.ts:14
↓ 4 callers
Function
isXml
(ext)
packages/epubjs/src/utils/core.js:439
↓ 4 callers
Method
layoutStyle
* Set the layoutStyle of the content * @param {string} [style="paginated"] "scrolling" | "paginated" * @private
packages/epubjs/src/contents.js:1247
↓ 4 callers
Method
located
* Creates a Rendition#locationRange from location * passed by the Manager * @returns {displayedLocation} * @private
packages/epubjs/src/rendition.js:805
↓ 4 callers
Method
locationFromCfi
* Get a location from an EpubCFI * @param {EpubCFI} cfi * @return {number}
packages/epubjs/src/locations.js:346
↓ 4 callers
Method
pathTo
(node, offset, ignoreClass)
packages/epubjs/src/epubcfi.js:441
↓ 4 callers
Method
percentageFromLocation
* Get a percentage position from a location index * @param {number} location * @return {number}
packages/epubjs/src/locations.js:385
↓ 4 callers
Method
removeTab
(index: number)
apps/reader/src/models/reader.ts:471
next →
1–100 of 857, ranked by callers