Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArthurHeitmann/photon-reddit
/ functions
Functions
1,192 in github.com/ArthurHeitmann/photon-reddit
⨍
Functions
1,192
◇
Types & classes
381
Function
numberToShortStr
(num: string)
src/static/scripts/utils/utils.ts:59
Method
oauthRequest
(endpoint: string, params: { [q: string]: string }, userAgent: string, method: string = "GET")
src/serverScripts/redditApi.ts:22
Method
onActionUrlInput
(e: InputEvent)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:220
Method
onBackAreaClick
()
src/static/scripts/components/feed/universalFeed/universalFeed.ts:283
Method
onBackAreaClick
(e: MouseEvent)
src/static/scripts/components/viewState/viewStateLoader/viewStateLoader.ts:57
Method
onBackAreaClick
(e: MouseEvent)
src/static/scripts/components/viewState/commentsViewStateLoader/commentsViewStateLoader.ts:56
Method
onBgColorChange
(e: InputEvent)
src/static/scripts/components/mediaViewer/mediaViewer.ts:518
Method
onButtonClick
()
src/static/scripts/components/misc/randomHub/randomHub.ts:49
Method
onCancel
()
src/static/scripts/components/misc/toast/toast.ts:86
Method
onConfirm
()
src/static/scripts/components/misc/toast/toast.ts:81
Function
onDbUpgradeNeeded
(this: IDBOpenDBRequest, e: IDBVersionChangeEvent)
src/static/scripts/multiUser/storageWrapper.ts:63
Method
onEditFlairClick
(data: DropDownActionData)
src/static/scripts/components/post/post.ts:619
Method
onElementMouseIn
(e: MouseEvent)
src/static/scripts/components/global/tooltip/tooltip.ts:24
Method
onElementRemoved
(elem: Ph_FabElement)
src/static/scripts/components/photon/fab/fab.ts:127
Method
onFocus
()
src/static/scripts/components/global/search/search.ts:236
Function
onFsChange
()
src/static/scripts/utils/utils.ts:284
Method
onFullscreenChange
()
src/static/scripts/components/mediaViewer/mediaViewer.ts:453
Method
onFullscreenEnter
()
src/static/scripts/components/mediaViewer/imageViewer/imageViewer.ts:114
Method
onGlobalSearchClick
()
src/static/scripts/components/global/search/search.ts:366
Method
onHidToRem
If an items is more than 2 screen height away from the viewport, it is removed from the DOM, * and it's height is added to a placeholder element. No
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:238
Method
onHidToVis
If an items is less than 1 screen height away from the viewport, it is visible and vis --> X observers are applied
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:206
Method
onIconUrlInput
(e: InputEvent)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:234
Method
onImageError
()
src/static/scripts/components/mediaViewer/imageViewer/imageViewer.ts:141
Method
onKeyDownEvent
(e: KeyboardEvent)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:223
Method
onLoadingStateChange
(isLoading: boolean)
src/static/scripts/components/feed/universalFeed/universalFeed.ts:251
Function
onLocalstorageChanged
(e: StorageEvent)
src/static/scripts/utils/messageCommunication.ts:30
Function
onLsChanged
()
src/static/scripts/utils/lock.ts:6
Method
onMouseEnterContent
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:143
Method
onMouseEnterThis
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:152
Method
onMouseLeaveThis
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:157
Method
onMouseMove
(e: MouseEvent | TouchEvent)
src/static/scripts/components/photon/fab/fabElement/fabElement.ts:139
Method
onMouseMoveContent
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:148
Method
onMultisChanged
(e: MultisChangeEvent)
src/static/scripts/components/feed/feedInfo/feedInfoMulti.ts:267
Method
onMultisChanged
(e: MultisChangeEvent)
src/static/scripts/components/global/userDropDown/userDropDown.ts:312
Method
onNewItemsLoaded
(items: RedditApiObj[])
src/static/scripts/components/feed/universalFeed/universalFeed.ts:137
Method
onNextClick
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/individualPostScroller.ts:73
Function
onPageLoaded
()
src/static/scripts/components/global/photonSettings/styleSettingsListener.ts:82
Method
onPinnedToggle
(e: MouseEvent)
src/static/scripts/components/global/header/header.ts:190
Method
onPostAdded
()
src/static/scripts/components/post/postDoubleLink/postDoubleLink.ts:81
Method
onPostInit
(entries: IntersectionObserverEntry[])
src/static/scripts/components/feed/universalFeed/universalFeed.ts:107
Method
onPostRemoved
()
src/static/scripts/components/post/postDoubleLink/postDoubleLink.ts:90
Method
onPostSeen
(entries: IntersectionObserverEntry[])
src/static/scripts/components/feed/universalFeed/universalFeed.ts:117
Method
onPrevClick
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/individualPostScroller.ts:68
Method
onRemToHid
If a placeholder is less than 2 screen height away from the viewport, items are added back to the DOM and their * old height is removed from the pla
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:281
Function
onRemoved
()
src/static/scripts/components/viewState/viewState.ts:42
Method
onResize
Reinitialize IntersectionObservers on resize, because they should be relative to the screen height, but are * constructed with pixels.
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:103
Method
onResize
()
src/static/scripts/components/feed/universalFeed/universalFeed.ts:220
Method
onResize
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/individualPostScroller.ts:173
Method
onResize
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:133
Method
onRotate
(e: MouseEvent)
src/static/scripts/components/mediaViewer/mediaViewer.ts:500
Method
onScroll
On scroll check if close to end of feed. If yes, load more items from listingStream
src/static/scripts/components/feed/universalFeed/universalFeed.ts:256
Method
onScroll
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/individualPostScroller.ts:176
Method
onScroll
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:107
Method
onSearchInput
(e: InputEvent)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:186
Method
onSearchInput
(e: InputEvent)
src/static/scripts/components/global/photonSettings/photonSettings.ts:185
Method
onSectionClick
(e: Event)
src/static/scripts/components/post/submit/submitPostForm.ts:229
Function
onSelect
Callback when selecting something from dropdown (to change sorting). Updates the feeds url to load new items.
src/static/scripts/components/feed/universalFeed/feedHeaderElements.ts:59
Method
onSetVideoQuality
(data: DropDownActionData)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:312
Method
onSettingChange
(source: SettingConfig, newVal: any)
src/static/scripts/components/global/photonSettings/photonSettings.ts:107
Method
onSettingsChange
(e: CustomEvent)
src/static/scripts/components/mediaViewer/imageViewer/imageViewer.ts:119
Method
onSettingsChanged
(e: CustomEvent)
src/static/scripts/components/post/post.ts:368
Method
onSettingsExternalChange
(msg: MessageFormat)
src/static/scripts/components/global/photonSettings/photonSettings.ts:156
Method
onSubSearchClick
()
src/static/scripts/components/global/search/search.ts:370
Method
onSubmit
()
src/static/scripts/components/misc/multiCreateOrEdit/multiCreateOrEdit.ts:58
Method
onSubmitPost
()
src/static/scripts/components/post/submit/submitPostForm.ts:249
Method
onSubredditSelectedActions
(subName: string, subData: RedditSubredditObj)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:255
Method
onSubredditSelectedIcons
(subName: string, subData: RedditSubredditObj)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:259
Method
onSubredditSelectedPresets
(subName: string, subData: RedditSubredditObj)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:250
Method
onSubscriptionChanged
(e: SubsChangeEvent)
src/static/scripts/components/global/userDropDown/userDropDown.ts:303
Method
onTextBlur
(e: FocusEvent)
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:108
Method
onTextEnter
(e: KeyboardEvent)
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:83
Method
onTextEnter
()
src/static/scripts/components/global/search/search.ts:219
Method
onTextFocus
()
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:100
Method
onTextInput
(e: Event)
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:43
Function
onToggleRead
()
src/static/scripts/components/feed/feedItem/readable/readable.ts:58
Method
onTouchCancel
(e: TouchEvent)
src/static/scripts/utils/touchGestureListener.ts:58
Method
onTouchDrag
(e: CustomEvent)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:83
Method
onTouchMove
(e: TouchEvent)
src/static/scripts/utils/touchGestureListener.ts:62
Method
onTouchStart
(e: TouchEvent)
src/static/scripts/utils/touchGestureListener.ts:40
Method
onTouchZoom
(e: CustomEvent)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:94
Method
onUrlChange
(newUrl: string)
src/static/scripts/components/feed/universalFeed/universalFeed.ts:224
Method
onUserChange
()
src/static/scripts/components/global/photonSettings/photonSettings.ts:206
Method
onVideoSpeedChange
(e: CustomEvent)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:255
Method
onViewChange
(e: CustomEvent)
src/static/scripts/components/post/postDoubleLink/postDoubleLink.ts:41
Method
onVisToHid
If an items is more than 1 screen height away from the viewport, it is hidden and hid --> X observers are applied
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:174
Method
onVisibilityChanged
(e: UIEvent)
src/static/scripts/components/misc/multiCreateOrEdit/multiCreateOrEdit.ts:79
Method
onWheelZoom
(e: WheelEvent)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:89
Function
onclick
()
src/static/scripts/components/global/photonSettings/settingsConfig.ts:367
Method
openWindow
(url: string)
src/static/scripts/types/serviceworker.d.ts:233
Method
optIn
()
src/static/scripts/components/misc/quarantineOptIn/quarantineOptIn.ts:23
Method
parseChar
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:184
Method
parseChar
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:255
Method
parseChar
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:961
Method
parseChar
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:1192
Method
previousStep
(e: Event)
src/static/scripts/components/photon/tutorial/tutorial.ts:311
Function
rawData
()
src/static/scripts/utils/UserSubscriptions.ts:13
Function
readAllMessages
()
src/static/scripts/components/feed/feedItem/readable/readable.ts:80
Function
redirectToLoginPage
()
src/static/scripts/auth/loginHandler.ts:22
Function
refreshData
()
src/static/scripts/multiUser/dataAccessor.ts:80
Method
refreshImages
()
src/static/scripts/components/mediaViewer/imageViewer/imageViewer.ts:126
← previous
next →
1,001–1,100 of 1,192, ranked by callers