MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodonRegister_
@private
src/service/video-manager-impl.js:609
↓ 1 callersMethodonResizeHandler_
* Handle viewport resize event * @private
src/service/position-observer/position-observer-impl.js:177
↓ 1 callersMethodonResizeRequest
* Register a callback to handle resize requests. Once successfully resized, * ensure to call `resized()` method. * @param {function(number)} cal
third_party/subscriptions-project/swg.js:6891
↓ 1 callersMethodonResize_
@private
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:722
↓ 1 callersFunctiononResolveRemapDeps
* Checks if the path that's being imported matches a declared remap. * If import path matches, returns correct path with info on if it's an external.
build-system/tasks/remap-dependencies-plugin/remap-dependencies.js:51
↓ 1 callersMethodonResponse
* @param {function(!Promise<!PaymentData>)} callback
third_party/subscriptions-project/swg.js:18072
↓ 1 callersMethodonRewind_
* Handles the rewind viewer event. * @private
extensions/amp-story/1.0/amp-story.js:2461
↓ 1 callersMethodonRtlStateUpdate_
* @param {boolean} rtlState * @private
extensions/amp-story-education/0.1/amp-story-education.js:167
↓ 1 callersMethodonRtlStateUpdate_
* Reacts to RTL state updates and triggers the UI for RTL. * @param {boolean} rtlState * @private
extensions/amp-story/1.0/amp-story-system-layer.js:802
↓ 1 callersMethodonRtlStateUpdate_
* Reacts to RTL state updates and triggers the UI for RTL. * @param {boolean} rtlState * @private
extensions/amp-story/1.0/amp-story-consent.js:238
↓ 1 callersMethodonRtlStateUpdate_
* Reacts to RTL state updates and triggers the UI for RTL. * @param {boolean} rtlState * @private
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:424
↓ 1 callersMethodonRunnerReady_
* Marks runner as ready and executes playback activity if needed. * @param {!../../amp-animation/0.1/runners/animation-runner.AnimationRunner} runn
extensions/amp-story/1.0/animation.js:494
↓ 1 callersMethodonRuntimeState
@override
src/service/viewer-impl.js:423
↓ 1 callersMethodonScrollHandler_
* Handle viewport scroll event * @private
src/service/position-observer/position-observer-impl.js:165
↓ 1 callersMethodonScrollPositionChanged_
* Update the UI (buttons) for the new scroll position. This occurs when * scrolling has settled.
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:732
↓ 1 callersMethodonScrollPositionChanged_
* Update the UI (buttons) for the new scroll position. This occurs when * scrolling has settled.
extensions/amp-base-carousel/0.1/amp-base-carousel.js:562
↓ 1 callersMethodonScrollPositionChanged_
* Update the UI (buttons) for the new scroll position. This occurs when * scrolling has settled.
extensions/amp-carousel/0.2/amp-carousel.js:682
↓ 1 callersMethodonScrollStarted_
* Starts queuing all intersection based changes when scrolling starts, to * prevent paint flickering on iOS.
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:724
↓ 1 callersMethodonScrollStarted_
* Starts queuing all intersection based changes when scrolling starts, to * prevent paint flickering on iOS.
extensions/amp-base-carousel/0.1/amp-base-carousel.js:554
↓ 1 callersMethodonScrollStarted_
* Starts queuing all intersection based changes when scrolling starts, to * prevent paint flickering on iOS.
extensions/amp-carousel/0.2/amp-carousel.js:674
↓ 1 callersMethodonScroll_
* Handles scroll events from the viewport service. * The logic here matches the Google SERP viewer's. * See go/amp-viewer-scroll internally.
extensions/amp-fx-collection/0.1/scroll-toggle.js:72
↓ 1 callersMethodonScrolled_
* @param {!Event=} opt_event * @private
src/service/viewport/viewport-binding-ios-embed-wrapper.js:293
↓ 1 callersMethodonSelectDocument_
* React to selectDocument events. * @param {!Object} data * @private
src/amp-story-player/amp-story-player-impl.js:1747
↓ 1 callersMethodonSelectPage_
* Handles the selectPage viewer event. * @param {!JsonObject} data * @private
extensions/amp-story/1.0/amp-story.js:2472
↓ 1 callersMethodonSetDocumentState_
* Handles 'setDocumentState' viewer messages. * @param {!Object=} data * @return {!Promise<!Object|undefined>} * @private
extensions/amp-story/1.0/amp-story-viewer-messaging-handler.js:196
↓ 1 callersFunctiononSetup
* @param {HTMLIFrameElement} iframe * @param {{json: string}} config * @param {string} adCustParamsJson * @param {object} adMacros
src/bento/components/bento-jwplayer/1.0/component.js:236
↓ 1 callersMethodonShareClick_
* Handles click events on the share button and toggles the share menu. * @param {!Event} event * @private
extensions/amp-story/1.0/amp-story-system-layer.js:847
↓ 1 callersMethodonShareMenuStateUpdate_
* Reacts to menu state updates shows or hides the menu. * @param {boolean} isOpen * @private
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:165
↓ 1 callersMethodonStoryHasPlaybackUiStateUpdate_
* Reacts to story having elements with playback. * @param {boolean} hasPlaybackUi * @private
extensions/amp-story/1.0/amp-story-system-layer.js:610
↓ 1 callersMethodonSubscribeResponse_
* @param {!SubscribeResponseInterface} response * @param {string} eventType * @private
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:475
↓ 1 callersMethodonSwitchAnimation
* @param {!WebSwitchAnimationDef} unusedSpec * @abstract
extensions/amp-animation/0.1/web-animations.js:129
↓ 1 callersMethodonSystemUiIsVisibleStateUpdate_
* Reacts to system UI visibility state updates. * @param {boolean} isVisible * @private
extensions/amp-story/1.0/amp-story-system-layer.js:767
↓ 1 callersMethodonSystemUiIsVisibleStateUpdate_
* Reacts to system UI visibility state updates. * @param {boolean} isVisible * @private
extensions/amp-story/1.0/pagination-buttons.js:256
↓ 1 callersMethodonSystemUiIsVisibleStateUpdate_
* Reacts to system UI visibility state updates. * @param {boolean} isVisible * @private
extensions/amp-story/1.0/amp-story-hint.js:244
↓ 1 callersMethodonTapNavigation
* @param {number} navigationDirection Direction of navigation * @protected
extensions/amp-story/1.0/page-advancement.js:227
↓ 1 callersMethodonTapZoomRelease_
* Performs actions after the gesture that was performing zooming has been * released. The zooming may continue based on the final velocity. * @p
extensions/amp-image-viewer/0.1/amp-image-viewer.js:790
↓ 1 callersMethodonTaskError_
* Optional handling when a task run throws an error. * @param {Error} unusedError * @private
src/chunk.js:210
↓ 1 callersMethodonToggleCaption
@protected
src/bento/components/bento-lightbox-gallery/1.0/base-element.js:109
↓ 1 callersMethodonTouchEnd
* Reacts to touchEnd events. Applies momentum scrolling if criteria is met. * @param {number} timeStamp
src/amp-story-player/page-scroller.js:115
↓ 1 callersMethodonTouchEnd_
* Reacts to touchend events. Resets cached touch event states. * @param {!Event} event * @private
src/amp-story-player/amp-story-player-impl.js:1851
↓ 1 callersMethodonTouchMove
* Reacts to onTouchMove events. Scrolls 1:1 if criteria is met. Calculates * distance (deltaY) and acceleration. * @param {number} timeStamp
src/amp-story-player/page-scroller.js:84
↓ 1 callersMethodonTouchMove_
* Reacts to touchmove events. * @param {!Event} event * @private
src/amp-story-player/amp-story-player-impl.js:1809
↓ 1 callersMethodonTouchStart
* Reacts to onTouchStart events. (Re)sets coordinates and timer. * Applies multiplier if criteria is met or resets it. * @param {number} timeSta
src/amp-story-player/page-scroller.js:57
↓ 1 callersMethodonTouchStart_
* Reacts to touchstart events and caches its coordinates. * @param {!Event} event * @private
src/amp-story-player/amp-story-player-impl.js:1785
↓ 1 callersFunctiononUIStateUpdate_
(uiState)
extensions/amp-story/1.0/progress-bar.js:431
↓ 1 callersMethodonUIStateUpdate_
* Reacts to UI state updates and triggers the right UI. * @param {!UIType_Enum} uiState * @private
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:177
↓ 1 callersMethodonUIStateUpdate_
* Reacts to UI state updates. * @param {!UIType_Enum} uiState * @private
extensions/amp-story/1.0/amp-story-page.js:810
↓ 1 callersMethodonUIStateUpdate_
* Reacts to UI state updates and passes the information along as * attributes to the shadowed ad badge. * @param {!UIType_Enum} uiState * @pr
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:342
↓ 1 callersMethodonUnknownAnimation
@param {!Object} unusedSpec
extensions/amp-animation/0.1/web-animations.js:144
↓ 1 callersMethodonUnmute_
@private
extensions/amp-video-docking/0.1/controls.js:344
↓ 1 callersMethodonViewGrid
@protected
src/bento/components/bento-lightbox-gallery/1.0/base-element.js:106
↓ 1 callersMethodonViewerCustomControls_
* Reacts to a custom configuration change coming from the player level. * Updates UI to match configuration described by publisher. * @param {!A
extensions/amp-story/1.0/amp-story-system-layer.js:899
↓ 1 callersMethodonVisibilityChanged_
* Handles visibility state changes. * @private
extensions/amp-story/1.0/amp-story-page.js:338
↓ 1 callersMethodonVisibilityChanged_
* Reacts to the browser tab becoming active/inactive. * @private
extensions/amp-story/1.0/amp-story.js:1816
↓ 1 callersMethodonZoomedIn_
* Registers a Swipe gesture and motion halt handler to handle panning when * the image is zoomed. * @private
extensions/amp-image-viewer/0.1/amp-image-viewer.js:521
↓ 1 callersMethodonZoomedOut_
* Deregisters the Swipe gesture and motion halt handler for panning when * the image is zoomed out. * @private
extensions/amp-image-viewer/0.1/amp-image-viewer.js:546
↓ 1 callersFunctiononce
* @param {() => T} fn * @return {() => T} * @template T
build-system/common/once.js:6
↓ 1 callersMethodonceOrientationChanges_
* @private * @return {!Promise}
src/service/video-manager-impl.js:1275
↓ 1 callersMethodonload_
* Callback for onload.
src/service/performance-impl.js:384
↓ 1 callersFunctiononlyErrorIsDevMode
* Inspects ValidationResult to discover if the document has only one * error which states DEV_MODE_ONLY. See #24176 for more context. * * @param {!
validator/js/chromeextension/worker.js:93
↓ 1 callersMethodopenAction_
* Opens the lightbox-gallery with either the invocation source or * the element referenced by the `id` argument. * Examples: * // Opens the
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:706
↓ 1 callersMethodopenActivityIframePort_
(iframe, url, args)
third_party/subscriptions-project/swg.js:6972
↓ 1 callersMethodopenButtonClicked
* Subclasses should override this method to specify action when open button * is clicked. * @param {string} unusedOpenInAppUrl * @param {stri
extensions/amp-app-banner/0.1/amp-app-banner.js:37
↓ 1 callersMethodopenDisclaimer_
* Opens the disclaimer dialog and positions it according to the page and itself. * @private
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:888
↓ 1 callersMethodopenGallery_
* Display gallery view to show thumbnails of lightboxed elements * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:1220
↓ 1 callersMethodopenInternal_
@private
extensions/amp-access/0.1/login-dialog.js:204
↓ 1 callersMethodopenLightbox
*
extensions/amp-inline-gallery/0.1/amp-inline-gallery-slide.js:58
↓ 1 callersMethodopenLightboxForElement_
* Given a lightbox element index, opens the internal carousel slide * associated with said index, updates the description, and initializes * the
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:784
↓ 1 callersMethodopenLightboxGallery_
* Opens the lightbox-gallery and displays the given element inside. * @param {!Element} element Element to lightbox. * @param {boolean=} expandD
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:727
↓ 1 callersMethodopenSystemShare_
* Opens the sharing dialog of native browsers. * @private
extensions/amp-story/1.0/amp-story-share.js:90
↓ 1 callersMethodopenUrl
* Request to navigate to URL. * * @param {string} url * @return {!Promise<boolean>} promise resolves to a boolean * indicating if the
extensions/amp-mraid/0.1/mraid-service.js:135
↓ 1 callersMethodopenWindow
* Opens a new window with the specified target. * * @param {!Window} win A window to use to open a new window. * @param {string} url THe URL
src/service/navigation.js:202
↓ 1 callersMethodopen_
* Opens the dialog with the specified content. * @param {!Element} content * @param {boolean=} showCloseAction * @return {!Promise} * @pri
extensions/amp-subscriptions/0.1/dialog.js:115
↓ 1 callersFunctionoptimizeLiteralOutput
* Optimizes the tagged template literal by removing whitespace, comments * and removes attribute quoting where possible. * @param {*} templateLitera
build-system/babel-plugins/babel-plugin-transform-html-template/index.js:17
↓ 1 callersFunctionor
(e,t,r)
examples/amp-script/vue-todomvc.js:7
↓ 1 callersFunctionordinaryToPrimitive
(r,e)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionoriginExperimentsForDoc
(element)
src/service/origin-experiments-impl.js:288
↓ 1 callersMethodoriginMatches_
* @param {!Event} event * @private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:262
↓ 1 callersFunctionou
(n,t)
third_party/d3/d3.js:2
↓ 1 callersFunctionoverrideAmpExtensionInstaller
* Overrides AMP.extension() so that extension installation is buffered and * executed just when needed.
testing/init-tests-helpers.js:97
↓ 1 callersMethodoverrideGlobalScrollTo
* Whether the binding requires the global window's `scrollTo` to be * indirected via methods of this binding. * @return {boolean}
src/service/viewport/viewport-binding-def.js:44
↓ 1 callersFunctionp
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 1 callersFunctionp
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 1 callersFunctionpadString
* Returns a string whose length matches the length of format. * @param {string} str * @param {string} format * @return {string}
third_party/subscriptions-project/swg.js:3323
↓ 1 callersMethodpageIsInitializedFromPayRedirect_
* Detects if the window is started from a Pay redirect by * checking window's hash for Web Activities information.
third_party/subscriptions-project/swg.js:18007
↓ 1 callersFunctionparallel
(taskA, taskB)
3p/3d-gltf/index.js:13
↓ 1 callersFunctionparallelDownloadScriptsAndExecuteInOrder
* @param {!Window} win
ads/vendors/vmfive.js:26
↓ 1 callersMethodparentUpdated
* The callback called by the `ContextNode` to notify values of the context * tree changes. This callback schedules recalculations if necessary.
src/core/context/values.js:240
↓ 1 callersMethodparseAndCleanQueryString_
* Parse the url get the key value pair for the linker name * and remove the LINKER_PARAM from window location * @param {string} name * @retur
extensions/amp-analytics/0.1/linker-reader.js:54
↓ 1 callersFunctionparseAttribute
* @param {!Object} attribute * @return {object}
extensions/amp-link-rewriter/0.1/config-options.js:53
↓ 1 callersFunctionparseAttributes
* @param {!JsonObject} attributeObject * @return {!JsonObject<string, string>}
extensions/amp-auto-ads/0.1/attributes.js:52
↓ 1 callersMethodparseAttributes_
* Test component call for required params * @return {null} * @private *
extensions/amp-iframely/0.1/amp-iframely.js:213
↓ 1 callersMethodparseAttributes_
* Parses the provided ranges * @param {string} rangeName * @param {!Array<number>} originalRange * @return {!Array<number>} * @private
extensions/amp-orientation-observer/0.1/amp-orientation-observer.js:112
↓ 1 callersMethodparseAuthorizeResponse_
* Parse the response from authorize endpoint * @param {json} response * @private
extensions/amp-access-fewcents/0.1/fewcents-impl.js:187
↓ 1 callersFunctionparseBooleanAttribute
(s)
src/core/dom/index.js:483
↓ 1 callersFunctionparseClosureComments
* Parses Closure Compiler tags into an array from the given comment. * @param {!EslintContextDef} context * @param {!EslintNodeDef} node * @return
build-system/eslint-rules/closure-type-primitives.js:44
↓ 1 callersMethodparseConfig
* Parses the JSON configuration and returns a JavaScript object. * @return {AmpWebPushConfig}
extensions/amp-web-push/0.1/amp-web-push-config.js:141
↓ 1 callersMethodparseConfigIntoOptions_
* @param {Array<PurchaseOption_0_2_Def>} purchaseOptionsList * @return {!Object} * @private
extensions/amp-access-laterpay/0.2/laterpay-impl.js:286
↓ 1 callersMethodparseConfig_
* @return {!Array<!AccessSource>} * @private
extensions/amp-access/0.1/amp-access.js:187
↓ 1 callersFunctionparseDevices
* Get devices from the element attribute into list of devices. * * Uses simplifyDeviceName function to match the names passed on the attribute, * f
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:355
← previousnext →10,601–10,700 of 18,703, ranked by callers