MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodplay
* Starts or resumes playing of an animation, or begins the animation again * if it previously finished.
third_party/web-animations-externs/web_animations.js:34
↓ 1 callersFunctionplayAds
(global)
ads/google/ima/ima-video.js:675
↓ 1 callersMethodplay_
@private
extensions/amp-bodymovin-animation/0.1/amp-bodymovin-animation.js:215
↓ 1 callersMethodplayerReady_
* @param {!JsonObject} data * @private
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:84
↓ 1 callersFunctionpn
(e,a,t,s)
third_party/react-dates/bundle.js:1
↓ 1 callersMethodpollBuildCallback_
@private
extensions/amp-vk/0.1/amp-vk.js:182
↓ 1 callersFunctionpolyfill
* Does the polyfilling. * @param {!Window} win
src/polyfills/custom-elements.js:651
↓ 1 callersFunctionpopulateNetWildcard_
* Copies compiled build artifacts to the AMP ads frame container directory. * * @param {string} tempDir full directory path to temporary working dir
build-system/tasks/release/index.js:520
↓ 1 callersFunctionpopulateOrgCdn_
* Copies compiled build artifacts to RTV-based directories. * * Each flavor translates to one or more RTV numbers, for a detailed explanation * see
build-system/tasks/release/index.js:352
↓ 1 callersMethodpopupOpened
* @param {?Window|undefined} targetWin
third_party/subscriptions-project/swg.js:11496
↓ 1 callersFunctionpositionCanMatchDefinition
(pos, def)
third_party/inputmask/inputmask.js:838
↓ 1 callersMethodpositionChanged_
* Called by position observer. * It calculates visibility and progress, and triggers the appropriate events. * @param {!PositionInViewportEntryD
extensions/amp-position-observer/0.1/amp-position-observer.js:182
↓ 1 callersMethodpositionOnVsync
* @param {number} scale * @param {number} x * @param {number} y * @param {number} width * @param {number} height
extensions/amp-video-docking/0.1/controls.js:434
↓ 1 callersMethodpositionResultEls_
* Sets (or resets) the positioning and sizing of each result. * * @private
extensions/amp-story-interactive/0.1/amp-story-interactive-results-detailed.js:140
↓ 1 callersMethodpositionUpdate_
* Handles updates from the {@code PositionObserver} indicating a change in * the position of a page separator in the viewport. * @param {number}
extensions/amp-next-page/0.1/next-page-service.js:468
↓ 1 callersMethodpostAction
@override
extensions/amp-access/0.1/amp-access-other.js:65
↓ 1 callersMethodpostAction
* Called after an action (login/subscribe/etc) is complete.
extensions/amp-access/0.1/amp-access-source.js:586
↓ 1 callersMethodpostBuildCallback_
@private
extensions/amp-vk/0.1/amp-vk.js:161
↓ 1 callersFunctionpostBuildWebPushPublisherFilesVersion
* post Build amp-web-push publisher files HTML page. * @return {Promise<void>}
build-system/tasks/dist.js:275
↓ 1 callersFunctionpostCommandMessage
* @param {HTMLIFrameElement} iframe * @param {string} method * @param {*} [optParams] * @private
src/bento/components/bento-jwplayer/1.0/component.js:278
↓ 1 callersMethodpostConsentData_
* @param {number} messageId * @private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:404
↓ 1 callersMethodpostDismissEnpoint_
* Creates an POST to the specified `data-dismiss-href` url. * @private * @return {!Promise}
extensions/amp-user-notification/0.1/amp-user-notification.js:258
↓ 1 callersFunctionpostGithubIssue
* @param {string} token * @param {string} repo * @param {object} data * @return {Promise<Object>}
build-system/common/update-session-issues/index.js:171
↓ 1 callersMethodpostIntersection_
* @param {number} messageId * @param {!IntersectionObserverEntry} intersection * @private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:381
↓ 1 callersFunctionpostInvisibleAnim
()
src/bento/components/bento-lightbox/1.0/component.js:108
↓ 1 callersFunctionpostInvisibleAnim
()
extensions/amp-sidebar/1.0/sidebar-animations-hook.js:80
↓ 1 callersMethodpostMessageToIframe_
* Function to send a message to our iframe * @param {string} origin * @param {!JsonObject} message * @private
extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js:348
↓ 1 callersMethodpostMessageWithUserActivation_
* @param {!Window} win * @param {string} msg
3p/iframe-messaging-client.js:160
↓ 1 callersMethodpostMessage_
* @param {!MessageEventSource} source * @param {*} message * @param {string} origin * @private
extensions/amp-onetap-google/0.1/amp-onetap-google.js:96
↓ 1 callersMethodpostMessage_
* Wraps postMessage for testing * * @param {string} type * @param {!JsonObject} message * @private
extensions/amp-3d-gltf/0.1/amp-3d-gltf.js:217
↓ 1 callersMethodpostPageImpression_
* API call to indicate a page load event happened * @private
extensions/amp-smartlinks/0.1/amp-smartlinks.js:141
↓ 1 callersFunctionpostVisibleAnim
()
src/bento/components/bento-lightbox/1.0/component.js:90
↓ 1 callersFunctionpostVisibleAnim
()
extensions/amp-sidebar/1.0/sidebar-animations-hook.js:72
↓ 1 callersFunctionpr
(n,t,e,r,i,u)
third_party/d3/d3.js:2
↓ 1 callersFunctionprBuildWorkflow
* Steps to run during PR builds.
build-system/pr-check/dist.js:97
↓ 1 callersFunctionpreBuildExperiments
* Precompilation steps required to build experiment js binaries. * @return {Promise<void>}
build-system/tasks/dist.js:302
↓ 1 callersFunctionpreBuildExtensions
* Pre-builds default extensions and ones requested via command line flags. * @return {Promise<void>}
build-system/server/lazy-build.js:159
↓ 1 callersFunctionpreBuildLoginDone
* Build "Login Done" page. * @return {Promise<void>}
build-system/tasks/dist.js:336
↓ 1 callersFunctionpreBuildLoginDoneVersion
* Build "Login Done" page for the specified version. * @param {string} version * @return {Promise<void>}
build-system/tasks/dist.js:345
↓ 1 callersFunctionpreBuildRuntimeFiles
* Pre-builds the core runtime and the JS files that it loads. * @return {Promise<void>}
build-system/server/lazy-build.js:149
↓ 1 callersFunctionpreBuildWebPushPublisherFiles
* Build amp-web-push publisher files HTML page. * @return {Promise<void>}
build-system/tasks/dist.js:251
↓ 1 callersFunctionpreValidationRequireCheck
(e,r,a,n)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionprebuild
* @return {Promise<void>}
build-system/tasks/dist.js:231
↓ 1 callersMethodpreconnectCallback
* @param {boolean=} opt_onLayout * @override
extensions/amp-youtube/0.1/amp-youtube.js:110
↓ 1 callersMethodpreconnectCallback
* @param {boolean=} opt_onLayout * @override
extensions/amp-video/0.1/amp-video.js:180
↓ 1 callersMethodpreconnectPolyfill_
* Safari does not support preconnecting, but due to its significant * performance benefits we implement this crude polyfill. * * We make an i
src/preconnect.js:282
↓ 1 callersFunctionprefetchOutgoingLinks
* Whenever a new service worker is activated, controlled page will send * the used AMP scripts and the self's URL to service worker to be cached. *
extensions/amp-install-serviceworker/0.1/amp-install-serviceworker.js:409
↓ 1 callersMethodpreimplementsAutoFullscreen
* If returning true, it's assumed that the embedded video document internally * implements a feature to enter fullscreen on device rotation, so tha
src/video-interface.js:148
↓ 1 callersMethodpreimplementsAutoFullscreen
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:205
↓ 1 callersMethodpreimplementsMediaSessionAPI
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:210
↓ 1 callersMethodpreimplementsMediaSessionAPI
@override
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:402
↓ 1 callersMethodpreimplementsMediaSessionAPI
@override
extensions/amp-ooyala-player/0.1/amp-ooyala-player.js:280
↓ 1 callersMethodpreinstallCallback_
* * @param {!Window} embedWin * @param {../../../src/service/ampdoc-impl.AmpDoc=} ampdoc
extensions/amp-a4a/0.1/amp-a4a.js:2002
↓ 1 callersMethodpreloadMedia_
* Preloads the given media. * @param {!./media-pool.MediaPool} mediaPool * @param {!Element} mediaEl * @return {!Promise<!Element|undefined>}
extensions/amp-story/1.0/amp-story-page.js:1194
↓ 1 callersFunctionpreloadScript
* @param {!Window} win * @param {string} url
examples/amphtml-ads/ads-tag-integration.js:65
↓ 1 callersFunctionprep
()
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:850
↓ 1 callersMethodprepareAndSendFetch_
* @param {boolean=} opt_refresh * @return {!Promise<!JsonObject|!Array<JsonObject>>} * @private
extensions/amp-list/0.1/amp-list.js:1636
↓ 1 callersMethodprepareAndSendFetch_
* Transforms and prepares the fetch request. * @param {boolean} isInit * @param {boolean=} opt_refresh * @return {!Promise<!JsonObject|!Array
extensions/amp-bind/0.1/amp-state.js:165
↓ 1 callersMethodprepareAuthorizeUrl_
* Add request parameters for the authorize endpoint * @return {string} * @private
extensions/amp-access-fewcents/0.1/fewcents-impl.js:144
↓ 1 callersMethodprepareBodyForOverlay_
* Prepares the "fixed" container before expanding frame. * @return {!Promise} * @private
src/inabox/inabox-viewport.js:711
↓ 1 callersFunctionprepareData
* @param {*} data
ads/vendors/imonomy.js:67
↓ 1 callersFunctionprepareData
* @param {!Object} data
ads/vendors/ix.js:67
↓ 1 callersFunctionprepareEnvironment_
* Prepares output and temp directories. * * @param {string} outputDir full directory path to emplace artifacts in. * @param {string} tempDir full d
build-system/tasks/release/index.js:160
↓ 1 callersMethodpreparePendingItemsInsert_
* Prepares the items from the server to be inserted into the DOM * by sorting using `data-sort-time` and adding the needed list items * classes
extensions/amp-live-list/0.1/amp-live-list.js:625
↓ 1 callersMethodpreparePendingItemsReplace_
* Prepares the items from the server to directly replace an item in the * live DOM. If item has a counterpart in the current pending changes * t
extensions/amp-live-list/0.1/amp-live-list.js:647
↓ 1 callersMethodpreparePendingItemsTombstone_
* Transfers the items from the server that is marked to be tombstone * into the pending queue. * * @param {!Array<!Element>} items * @priv
extensions/amp-live-list/0.1/amp-live-list.js:670
↓ 1 callersFunctionprependConfig_
* Prepends the AMP_CONFIG configuration object to all the entry files. * * Entry files are those that publishers would embed in their page, i.e. *
build-system/tasks/release/index.js:446
↓ 1 callersMethodprepend_
* Returns a byte array: (version + config.length + config) * @param {number} version * @param {!Uint8Array} config * @return {!Uint8Array}
src/service/origin-experiments-impl.js:230
↓ 1 callersMethodpreselectFirstOption_
* @private * @param {!Element} firstOption
extensions/amp-access-laterpay/0.2/laterpay-impl.js:424
↓ 1 callersMethodpreselectFirstOption_
* @private * @param {!Element} firstOption
extensions/amp-access-laterpay/0.1/laterpay-impl.js:367
↓ 1 callersFunctionprettierFormat
* @param {string} filename * @param {string} output * @return {Promise<string>}
build-system/tasks/get-zindex/index.js:195
↓ 1 callersMethodprev
Advance slides backward by `advanceCount`
src/bento/components/bento-base-carousel/1.0/component.type.js:98
↓ 1 callersMethodprevSlide_
* @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:520
↓ 1 callersFunctionpreventAsyncErrorThrows
()
testing/async-errors.js:45
↓ 1 callersFunctionprimitiveHasOwnProperty
* Safe way of detecting whether or not the given thing is a primitive and * whether it has the given property * @param primitive * @param propName
src/bento/third_party/mustache/mustache.js:48
↓ 1 callersFunctionprintDefaultTaskHelp
* Prints a useful help message prior to the default amp task
build-system/tasks/default-task.js:14
↓ 1 callersFunctionprintDistHelp
* Prints a useful help message prior to the amp dist task * * @param {!Object} options
build-system/tasks/dist.js:64
↓ 1 callersFunctionprintErrorWithSuggestedFixes
* Prints an error message with recommended fixes (in diff form) for a file with * formatting errors. * * @param {string} file * @return {Promise<v
build-system/tasks/prettify.js:63
↓ 1 callersFunctionprintFixMessages
* Prints instructions for how to auto-fix errors.
build-system/tasks/prettify.js:79
↓ 1 callersMethodprocessArgsAsync_
* Flattens the inner layer of an array of arrays so that the result can be * passed to a function.apply call. Must wait for any inner macros to res
src/service/url-expander/expander.js:384
↓ 1 callersMethodprocessArgsSync_
* Flattens the inner layer of an array of arrays so that the result can be * passed to a function.apply call. Will not wait for any promise to reso
src/service/url-expander/expander.js:447
↓ 1 callersMethodprocessBackingAwayChanges_
* Processes the intersection entries for things backing away from viewport, * marking them applying the changes if needed. * @param {!Array<!Int
extensions/amp-base-carousel/0.1/child-layout-manager.js:262
↓ 1 callersMethodprocessConfig_
* @param {!JsonObject} config * @return {!JsonObject} * @private
extensions/amp-analytics/0.1/linker-manager.js:143
↓ 1 callersMethodprocessData_
* Convert Tez payment data to GPay payment data if payment succeeded, or * reject if payment failed * * @private * @param {!PaymentData} t
third_party/subscriptions-project/swg.js:17119
↓ 1 callersMethodprocessGrantState_
* @param {boolean} grantState * @private
extensions/amp-subscriptions/0.1/amp-subscriptions.js:408
↓ 1 callersMethodprocessInViewportChanges_
* Processes the intersection entries for things in the viewport, * marking them applying the changes if needed. * @param {!Array<!IntersectionOb
extensions/amp-base-carousel/0.1/child-layout-manager.js:283
↓ 1 callersMethodprocessLightboxCarousel_
* Process an amp-carousel element for lightbox, assigns a lightbox * group id, installs the lightbox attribute and tap handlers to open * the li
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:175
↓ 1 callersMethodprocessLightboxElement_
* Adds element to correct lightbox group, installs tap handler. * @param {!Element} element * @private
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:204
↓ 1 callersMethodprocessMessage
* Routes messages to their appropriate handler. * @param {!JsonObject} payload * @param {string} service
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:464
↓ 1 callersMethodprocessNearingChanges_
* Processes the intersection entries for things nearing the viewport, * marking them applying the changes if needed. * @param {!Array<!Intersect
extensions/amp-base-carousel/0.1/child-layout-manager.js:241
↓ 1 callersMethodprocessNestedTemplates_
* Stores and replaces nested templates with custom triple-mustache pointers. * * This prevents the outer-most template from replacing variables
extensions/amp-mustache/0.2/amp-mustache.js:89
↓ 1 callersMethodprocessNestedTemplates_
* Stores and replaces nested templates with custom triple-mustache pointers. * * This prevents the outer-most template from replacing variables
extensions/amp-mustache/0.1/amp-mustache.js:86
↓ 1 callersMethodprocessRequest_
* Fake docs for testing * @param {*} eventData * @return {*} TODO(#23582): Specify return type
extensions/amp-viewer-integration/0.1/webview-viewer-for-testing.js:249
↓ 1 callersFunctionprocessResults
(interactiveState, options)
extensions/amp-story-interactive/0.1/amp-story-interactive-results.js:79
↓ 1 callersFunctionprop
(el, name)
extensions/amp-base-carousel/1.0/test-e2e/test-responsive.js:24
↓ 1 callersFunctionprop
(el, name)
extensions/amp-base-carousel/0.1/test-e2e/test-responsive.js:19
↓ 1 callersFunctionprop
(el, name)
extensions/amp-lightbox-gallery/0.1/test-e2e/test-carousel-0.2-declared.js:18
↓ 1 callersFunctionprop
(el, name)
extensions/amp-lightbox-gallery/0.1/test-e2e/test-open-close.js:19
↓ 1 callersMethodpropagateCachedSources_
* @private * Propagate sources that are cached by the CDN.
extensions/amp-video/0.1/amp-video.js:512
↓ 1 callersMethodpropagateClickEvent_
* @param {!EventTarget} target * @private
extensions/amp-image-viewer/0.1/amp-image-viewer.js:511
← previousnext →10,801–10,900 of 18,703, ranked by callers