MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodhandleClick_
* @param {!Element} element * @param {!Event} e * @private
src/service/navigation.js:348
↓ 1 callersMethodhandleClick_
* Handler for click event on any element inside the component. * @param {!Event} e * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:119
↓ 1 callersMethodhandleClick_
* @param {!Event} event * @private
extensions/amp-lightbox-gallery/0.1/lightbox-controls.js:115
↓ 1 callersMethodhandleClientEvent_
* Listens for new events from the events manager and handles logging * @param {!../api/client-event-manager-api.ClientEvent} event
third_party/subscriptions-project/swg.js:8050
↓ 1 callersMethodhandleCloseOrNavigateTo_
* Handles the `handleCloseOrNavigateTo_` action. * This action tries to close the requesting window if allowed, otherwise * navigates the window
src/service/standard-actions-impl.js:368
↓ 1 callersMethodhandleCollapseRequest_
* @private
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:533
↓ 1 callersFunctionhandleCompanionDisplay
(media, apesterElement)
extensions/amp-apester-media/0.1/monetization/companion/display.js:11
↓ 1 callersFunctionhandleCompanionVideo
(media, apesterElement, consentObj)
extensions/amp-apester-media/0.1/monetization/companion/video.js:11
↓ 1 callersMethodhandleConfigRewriter_
* Handles logic if configRewriter is enabled. * @param {!JsonObject} config * @param {string} configRewriterUrl * @return {!Promise<undefined
extensions/amp-analytics/0.1/config.js:197
↓ 1 callersMethodhandleConfig_
* Sets config and installs additional extensions if necessary. * @private * @return {Promise}
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:245
↓ 1 callersMethodhandleConsentExtension_
* Handles the story consent extension. * @private
extensions/amp-story/1.0/amp-story.js:1255
↓ 1 callersMethodhandleConsentResponse_
* @param {!Object} data * @return {!DeferredAccountCreationResponse} * @private
third_party/subscriptions-project/swg.js:10149
↓ 1 callersMethodhandleContextMenuClick_
* Handles "contextmenu" event e.g. right mouse button click. * @param {!Element} element * @param {!Event} e * @private
src/service/navigation.js:383
↓ 1 callersMethodhandleCustomProtocolClick_
* Handles clicking on a custom protocol link. * Returns true if the navigation was handled. Otherwise, returns false. * @param {!Event} e * @
src/service/navigation.js:437
↓ 1 callersMethodhandleDocumentKeydown_
* Close the date picker overlay when the escape key is pressed. * @param {!Event} e * @private * @return {*} TODO(#23582): Specify return typ
extensions/amp-date-picker/0.1/amp-date-picker.js:1119
↓ 1 callersMethodhandleEvent_
* Callback for events that are registered by the config's triggers. This * method generates requests and sends them out. * * @param {!JsonObj
extensions/amp-analytics/0.1/amp-analytics.js:620
↓ 1 callersMethodhandleEvent_
* Handles Iframely events: widget sizing, cancel, decorate cards * @param {window.event} event - Iframely message with a method to apply *
extensions/amp-iframely/0.1/amp-iframely.js:153
↓ 1 callersMethodhandleExpandRequest_
* @param {!JsonObject} payload * @private
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:491
↓ 1 callersMethodhandleGetTcData_
* Create minimal PingReturn object. Send to original iframe * once object has been filled. * @param {!Object} payload * @param {!Window} win
extensions/amp-consent/0.1/tcf-api-command-manager.js:194
↓ 1 callersMethodhandleGfycatMessages_
* @param {!Event} event * @private
extensions/amp-gfycat/0.1/amp-gfycat.js:188
↓ 1 callersMethodhandleHashNavigation_
* Handles clicking on an internal link * @param {!Event} e * @param {!Location} toLocation * @param {!Location} fromLocation * @private
src/service/navigation.js:597
↓ 1 callersMethodhandleHeadingKeyDown_
* Handler for key presses on an item heading. * @param {!Event} event keydown event. * @private
extensions/amp-mega-menu/0.1/amp-mega-menu.js:282
↓ 1 callersMethodhandleImgurMessages_
* @param {!Event} event * @private *
extensions/amp-imgur/0.1/amp-imgur.js:135
↓ 1 callersFunctionhandleInUnitVideo
(media, apesterElement, consentObj)
extensions/amp-apester-media/0.1/monetization/inUnit/video.js:12
↓ 1 callersMethodhandleInactive_
@private
extensions/amp-analytics/0.1/activity-impl.js:273
↓ 1 callersMethodhandleIndexChange_
* @param {!Event} event
extensions/amp-base-carousel/0.1/auto-advance.js:223
↓ 1 callersMethodhandleInputKeydown_
* Handle the states for keyboard input. * @param {!Event} e * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1135
↓ 1 callersMethodhandleInstagramMessages_
* @param {!Event} event * @private
extensions/amp-instagram/0.1/amp-instagram.js:141
↓ 1 callersFunctionhandleKeyPress
* @param {!Event} event * @param {?string} finalEndpoint * @param {string} target
src/bento/components/bento-social-share/1.0/component.js:261
↓ 1 callersFunctionhandleLink
* Collect links that are from allowed font providers or used for image * preloading. Remove other <link> elements. * @param {!Array<string>} fonts
extensions/amp-a4a/0.1/head-validation.js:190
↓ 1 callersMethodhandleLinkSaveResponse_
* @param {!Object} result * @return {!Promise<boolean>} * @private
third_party/subscriptions-project/swg.js:14364
↓ 1 callersMethodhandleLoadMoreFailed_
* @private
extensions/amp-list/0.1/amp-list.js:1569
↓ 1 callersFunctionhandleMatch
(match, loopNdx, quantifierRecurse)
third_party/inputmask/inputmask.js:851
↓ 1 callersMethodhandleMediaError_
* Gracefully handle media errors if possible. * @param {!Event} event
extensions/amp-video/0.1/amp-video.js:448
↓ 1 callersMethodhandleMenuItemNavigation_
* Handle up/down/home/end key down event to navigate between items; * this requires each menu item to be under a li element and focusable. * @pa
extensions/amp-nested-menu/0.1/amp-nested-menu.js:310
↓ 1 callersMethodhandleMenuNavigation_
* Handle left/right arrow key down event to navigate between menus. * @param {!Event} e * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:288
↓ 1 callersMethodhandleMessageEvent_
* @param {!Event} e postMessage event from the AMP page. * @private
third_party/subscriptions-project/swg.js:17722
↓ 1 callersMethodhandleMessage_
* Fake docs for testing * @param {*} e
extensions/amp-viewer-integration/0.1/webview-viewer-for-testing.js:226
↓ 1 callersMethodhandleMinuteMediaPlayerMessage_
* @param {!Event} event * @private
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:152
↓ 1 callersMethodhandleNavigationKeyDown_
* Handler for arrow key presses to navigate between menu items. * @param {!Event} event keydown event. * @private
extensions/amp-mega-menu/0.1/amp-mega-menu.js:306
↓ 1 callersMethodhandleNavigation_
* Handles click-navigation on a non-A2A, standard-protocol link. * @param {!Event} e * @param {!Element} element * @param {!Location} toLocat
src/service/navigation.js:508
↓ 1 callersMethodhandleNonXhrPost_
@private
extensions/amp-form/0.1/amp-form.js:1068
↓ 1 callersMethodhandleOnError
* Default handler for onError event * Displays Fallback / Placeholder. Override to customize. * @protected
src/preact/amp-base-element.js:86
↓ 1 callersMethodhandleOnLoad
* Default handler for onLoad event * Displays loader. Override to customize. * @protected
src/preact/amp-base-element.js:66
↓ 1 callersMethodhandleOnLoading
* Default handler for onLoading event * Reveals loader. Override to customize. * @protected
src/preact/amp-base-element.js:77
↓ 1 callersMethodhandleOoyalaMessage_
* @param {!Event} event * @private
extensions/amp-ooyala-player/0.1/amp-ooyala-player.js:179
↓ 1 callersMethodhandlePermissionDialogInteraction
* Processes the result of a user dismissing, granting, or denying * notification permissions when subscribing. * * @param {Array<?>} result
extensions/amp-web-push/0.1/web-push-service.js:771
↓ 1 callersMethodhandlePingEvent_
* Create minimal PingReturn object. Send to original iframe * once object has been filled. * @param {!Object} payload * @param {!Window} win
extensions/amp-consent/0.1/tcf-api-command-manager.js:254
↓ 1 callersFunctionhandlePlaybuzzItemEvent
* @param {!Event} event * @param {string} eventName * @param {Function} handler
extensions/amp-playbuzz/0.1/utils.js:86
↓ 1 callersMethodhandlePlayerMessage_
* @param {!Event} event * @private
extensions/amp-ima-video/0.1/amp-ima-video.js:307
↓ 1 callersMethodhandlePostPromptUI_
* Handles the display of postPromptUI
extensions/amp-consent/0.1/amp-consent.js:909
↓ 1 callersMethodhandlePresubmitSuccess_
* Handle successful presubmit tasks * @param {!ActionTrust_Enum} trust * @return {!Promise}
extensions/amp-form/0.1/amp-form.js:696
↓ 1 callersMethodhandlePreviewToVisibleTransition_
* Handles the transition between the `preview` and `visible` visibility * states by reinitializing this page's advancement config. * * As lon
extensions/amp-story/1.0/amp-story-page.js:462
↓ 1 callersMethodhandlePropagationInViewer_
* Attach singal onto touchmove event to stop propagation to viewer * to be handled at the viewer integration layer in bubble phase.
extensions/amp-carousel/0.2/amp-carousel.js:651
↓ 1 callersMethodhandleReady_
* Handle the ready event from the CMP iframe * @param {!JsonObject} data
extensions/amp-consent/0.1/consent-ui.js:389
↓ 1 callersMethodhandleRemoveEventListner_
* @param {!Object} payload * @param {!Window} win
extensions/amp-consent/0.1/tcf-api-command-manager.js:119
↓ 1 callersFunctionhandleReplaceUrl
* Handle the getReplaceUrl and return a promise when url is replaced Only * handles replaceUrl when viewer indicates AMP to do so. Viewer should indi
src/impression.js:120
↓ 1 callersMethodhandleRequestForEvent_
* Processes a request for an event callback and sends it out. * * @param {string} requestName The requestName to process. * @param {!JsonObje
extensions/amp-analytics/0.1/amp-analytics.js:642
↓ 1 callersFunctionhandleResizeDenied
* Helper function for handling denied resize requests. Creates an overflow element if one does not exist * @param {!Window} global * @param {!Elemen
ads/vendors/revcontent.js:111
↓ 1 callersMethodhandleResizeRequest_
* @param {!JsonObject} payload * @private
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:612
↓ 1 callersFunctionhandleResizeSuccess
* Helper function for handling successful resize requests * @param {!Window} global
ads/vendors/revcontent.js:125
↓ 1 callersMethodhandleResizeToContentsAction_
@private
extensions/amp-render/1.0/amp-render.js:103
↓ 1 callersMethodhandleResize_
* Force remeasure inside FIE doc when iframe is resized. * @private
src/friendly-iframe-embed.js:558
↓ 1 callersMethodhandleResponse_
* @param {number} id * @param {!JsonObject} args * @private
src/video-iframe-integration.js:149
↓ 1 callersMethodhandleResponse_
* @param {!JsonObject} res * @return {?string}
src/service/cid-api.js:155
↓ 1 callersMethodhandleResponse_
* I sent out a request to Bob. He responded. And now I'm handling that * response. * @param {!AmpViewerMessage} message * @private
extensions/amp-viewer-integration/0.1/messaging/messaging.js:444
↓ 1 callersMethodhandleRtcForCustomUrls
* Manages sending the RTC callouts for the Custom URLs. * @param {!{[key: string]: !../../../src/service/variable-source.AsyncResolverDef}} customM
src/service/real-time-config/real-time-config-impl.js:310
↓ 1 callersMethodhandleRtcForVendorUrls
* Manages sending the RTC callouts for all specified vendors. * @param {!{[key: string]: !../../../src/service/variable-source.AsyncResolverDef}} c
src/service/real-time-config/real-time-config-impl.js:339
↓ 1 callersMethodhandleSafariStandalone_
* Force iOS PWAs to load internal domain documents in the original tab. * By default, iOS PWAs will load all links in the Safari app with the *
extensions/amp-standalone/0.1/amp-standalone.js:88
↓ 1 callersFunctionhandleScript
* Allows json scripts and allowlisted amp elements while removing others. * @param {!Array<{extensionId: string, extensionVersion: string}>} extensio
extensions/amp-a4a/0.1/head-validation.js:162
↓ 1 callersMethodhandleScrollEnd_
* For browsers that support the scrollend event, reset the reference point * immediately. This prevents users from hitting the wrapping point while
extensions/amp-base-carousel/0.1/carousel.js:831
↓ 1 callersMethodhandleScroll_
* Handles a scroll event, updating the current index as well as moving * slides around as needed. * @private
extensions/amp-base-carousel/0.1/carousel.js:814
↓ 1 callersMethodhandleScroll_
* Handles scroll, resetting the auto advance.
extensions/amp-base-carousel/0.1/auto-advance.js:216
↓ 1 callersMethodhandleSsrTemplateResponse_
* Transition the form to the submit-success or submit-error state depending on the response status. * @param {!JsonObject} response * @param {!A
extensions/amp-form/0.1/amp-form.js:831
↓ 1 callersMethodhandleSsrTemplate_
* Handles the server side proxying and then rendering of the template. * @param {ActionTrust_Enum} trust * @return {!Promise} * @private
extensions/amp-form/0.1/amp-form.js:756
↓ 1 callersFunctionhandleStyle
* Remove any non `amp-custom` or `amp-keyframe` styles. * @param {!Element} style
extensions/amp-a4a/0.1/head-validation.js:209
↓ 1 callersMethodhandleSubmenuCloseClick_
* Handles click on the given element to close the submenu. * @param {!Element} closeElement * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:208
↓ 1 callersMethodhandleSwipe_
* Handles a swipe gesture, updating the current swipe to dismiss state. * @param {!SwipeDef} data
extensions/amp-sidebar/0.2/amp-sidebar.js:607
↓ 1 callersMethodhandleTap_
* @private * @param {!Element} targetElement
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:511
↓ 1 callersMethodhandleTap_
* Handles a tap event on the quiz element. * @param {Event} e * @protected
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:494
↓ 1 callersMethodhandleTap_
* @param {!../../../src/gesture-recognizers.TapDef} data
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:620
↓ 1 callersMethodhandleTcfMessage_
* Listen to iframe messages and handle events. * * The listeners will listen for post messages from 3p * iframes that have the following stru
extensions/amp-consent/0.1/amp-consent.js:1060
↓ 1 callersFunctionhandleTextareaDrag
* This makes no assumptions about the location of the resize handle, and it * assumes that if the user drags the mouse at any position and the height
extensions/amp-form/0.1/amp-form-textarea.js:194
↓ 1 callersMethodhandleThumbnailClick_
* @param {Event} event * @param {number} id * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:1344
↓ 1 callersMethodhandleTiktokMessages_
* @param {!Event} event * @private
extensions/amp-tiktok/0.1/amp-tiktok.js:232
↓ 1 callersMethodhandleToggleTheme_
* Handles the `toggleTheme` action. * * This action sets the `amp-dark-mode` class on the body element and stores the the preference for dark mo
src/service/standard-actions-impl.js:338
↓ 1 callersFunctionhandleTopLevelAttributes_
* Handles top level fields in the given config * @param {!JsonObject} config * @return {JsonObject}
extensions/amp-analytics/0.1/config.js:568
↓ 1 callersMethodhandleTouchStart_
* Handles a touch start, preventing `resetScrollReferencePoint_` from * running until the user stops touching. * @private
extensions/amp-base-carousel/0.1/carousel.js:779
↓ 1 callersMethodhandleTouchStart_
* Handles touchstart, pausing the autoadvance until the user lets go.
extensions/amp-base-carousel/0.1/auto-advance.js:186
↓ 1 callersMethodhandleUnload_
* Notifies the viewer when this document is unloaded. * @param {!Messaging} messaging * @return {Promise<*>|undefined} * @private
extensions/amp-viewer-integration/0.1/amp-viewer-integration.js:237
↓ 1 callersFunctionhandleValidatorNotPresent
(tabId)
validator/js/chromeextension/worker.js:180
↓ 1 callersMethodhandleVarGroups_
* Check to see which varGroups are enabled, resolve and merge them into * vars object. * @param {!JsonObject} pubConfig * @return {!Promise}
extensions/amp-analytics/0.1/config.js:268
↓ 1 callersMethodhandleViewportPlayPause
* Handle auto play/pause based on viewport visibility. * * @param {boolean} inViewport
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:346
↓ 1 callersMethodhandleViqeoMessages_
* @param {!Event|{data: !JsonObject}} event * @return {?JsonObject|string|undefined} * @private *
extensions/amp-viqeo-player/0.1/amp-viqeo-player.js:164
↓ 1 callersMethodhandleVkIframeMessage_
* @param {!Event} e * @private
extensions/amp-vk/0.1/amp-vk.js:225
↓ 1 callersMethodhandleWheel_
* Handles a wheel event. * @private
extensions/amp-base-carousel/0.1/carousel.js:803
↓ 1 callersMethodhandleXhrSubmitFailure_
* @param {*} e * @param {!ActionTrust_Enum} incomingTrust Trust of the originating submit action. * @return {!Promise} * @private
extensions/amp-form/0.1/amp-form.js:1024
↓ 1 callersMethodhandleXhrSubmitSuccess_
* @param {!Response} response * @param {!ActionTrust_Enum} incomingTrust Trust of the originating submit action. * @return {!Promise} * @priv
extensions/amp-form/0.1/amp-form.js:977
↓ 1 callersMethodhandleXhrSubmit_
* @param {ActionTrust_Enum} trust * @return {!Promise} * @private
extensions/amp-form/0.1/amp-form.js:733
↓ 1 callersMethodhandleXhrVerify_
* Send the verify request and control the VERIFYING state. * @return {!Promise} * @private
extensions/amp-form/0.1/amp-form.js:712
← previousnext →9,401–9,500 of 18,703, ranked by callers