MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodgetUnconfirmedReferrerUrl
@override
src/inabox/inabox-viewer.js:88
↓ 1 callersFunctiongetUniqueId
(win)
extensions/amp-story-auto-ads/0.1/utils.js:13
↓ 1 callersFunctiongetUnitTestsToRun
* Computes the list of unit tests to run under difference scenarios * @return {Array<string>|void}
build-system/tasks/runtime-test/helpers-unit.js:145
↓ 1 callersMethodgetUnknownAnchors_
* Filters the list of anchors for which the domain of the href is * in the `unknownDomains` list. * @param {!Array<!HTMLElement>} anchorList
extensions/amp-skimlinks/0.1/affiliate-link-resolver.js:242
↓ 1 callersMethodgetUnknownAnchors_
* Filter the list of anchors to returns only the ones * that were not in the page at the time of the last page scan. * @param {!Array<!HTMLEleme
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter.js:212
↓ 1 callersMethodgetUnmaskedValue
@override
extensions/amp-inputmask/0.1/mask-impl.js:131
↓ 1 callersMethodgetUpdateSlot_
* @param {!Element} parent * @private
extensions/amp-live-list/0.1/amp-live-list.js:895
↓ 1 callersMethodgetUpdateTime
@override
extensions/amp-live-list/0.1/amp-live-list.js:1009
↓ 1 callersFunctiongetUpdateValue
* @param {string} bindingValue * @param {boolean} isFirstMutation * @return {boolean} Whether bind should evaluate and apply changes.
extensions/amp-render/1.0/amp-render.js:32
↓ 1 callersMethodgetUpdates_
* Seggregates new, updated and tombstoned elements. * * @param {!Element} updatedElement * @return {!MutateItemsDef} * @private
extensions/amp-live-list/0.1/amp-live-list.js:703
↓ 1 callersFunctiongetUriEffect
(tagName, attribName)
third_party/caja/html-sanitizer.js:2265
↓ 1 callersFunctiongetUrl
* @param {!Object} context * @param {!Object} data * @param {!Object} ns * @return {string|boolean} if a search query is generated, a full url is
ads/vendors/adventive.js:111
↓ 1 callersFunctiongetUrlPrefix
* @param {*} req require('express').Request * @return {string}
build-system/server/amp-cors.js:79
↓ 1 callersMethodgetUrlVariableRewriter_
* @param {!{[key: string]: string|number|boolean}} args * @param {!../../../src/service/action-impl.ActionEventDef} event * @param {!NavigationT
extensions/amp-ad-exit/0.1/amp-ad-exit.js:191
↓ 1 callersMethodgetUrl_
* Returns the full URL that should be used for the activity iFrame view. * @param {!../model/client-config.ClientConfig} clientConfig * @param {
third_party/subscriptions-project/swg.js:6523
↓ 1 callersMethodgetUrl_
* Gets the complete URL that should be used for the activity iFrame view. * @param {!../model/client-config.ClientConfig} clientConfig * @param
third_party/subscriptions-project/swg.js:10009
↓ 1 callersMethodgetUrls
* Returns all URLs in the srcset. * @return {Array<string>}
src/core/dom/srcset.js:222
↓ 1 callersFunctiongetUserAgentClientHintParameters
* This method retrieves the high-entropy portions of the user agent * information. * See https://wicg.github.io/ua-client-hints/#getHighEntropyValue
ads/google/a4a/utils.js:1036
↓ 1 callersMethodgetUserPlaceholderSrcset_
* Get the srcset for the user-specified placeholder for each element * @param {!Element} element * @return {?../../../../src/srcset.Srcset} *
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:405
↓ 1 callersFunctiongetUserValidityStateFor
* Returns the user validity state of the element. * @param {!Element} element * @return {string}
extensions/amp-form/0.1/amp-form.js:1446
↓ 1 callersMethodgetValidationFor
* @param {!Element} input * @param {string=} inputInvalidType * @return {?Element}
extensions/amp-form/0.1/form-validators.js:309
↓ 1 callersFunctiongetValidatorJs
* Checks for the existence of a local wasm / js validator binary and returns * its location. Defaults to the wasm binary on the CDN. * @return {Prom
build-system/tasks/validate-html-fixtures.js:80
↓ 1 callersMethodgetValueForAsyncInput_
* Call getValue() on Async Input elements, and * Create hidden inputs containing their returned values * @param {!Element} asyncInput * @retu
extensions/amp-form/0.1/amp-form.js:890
↓ 1 callersFunctiongetValueForExpr
* Returns a value at any level in an object structure addressed by dot-notation * list of fields, such as `field1.field2`. If any field in a chain do
extensions/amp-gwd-animation/0.1/amp-gwd-animation.js:38
↓ 1 callersMethodgetVar
* @param {string} name * @return {*}
extensions/amp-analytics/0.1/variables.js:79
↓ 1 callersMethodgetVariablesInLocal_
* @param {!Date} date * @param {string} locale * @param {?{[key: string]: *}} localeOptions * @return {!VariablesDef} * @private
extensions/amp-date-display/0.1/amp-date-display.js:257
↓ 1 callersFunctiongetVariablesInUTC
* @param {!Date} date * @param {string} locale * @param {?{[key: string]: *}} localeOptions * @return {!VariablesV2Def}
extensions/amp-date-display/1.0/component.js:217
↓ 1 callersMethodgetVariablesInUTC_
* @param {!Date} date * @param {string} locale * @param {?{[key: string]: *}} localeOptions * @return {!VariablesDef} * @private
extensions/amp-date-display/0.1/amp-date-display.js:287
↓ 1 callersFunctiongetVendorJsPropertyName_
Checks the style if a prefixed version of a property exists and returns * it or returns an empty string. * @private * @param {{[key: string]: *}} s
src/core/dom/style.js:55
↓ 1 callersFunctiongetVendorJsPropertyName_
* Checks the style if a prefixed version of a property exists and returns * it or returns an empty string. * @private * @param {!Object} style * @
third_party/subscriptions-project/swg.js:3530
↓ 1 callersFunctiongetVendorJsPropertyName_
* Checks the style if a prefixed version of a property exists and returns * it or returns an empty string. * @private * @param {!Object} style * @
third_party/subscriptions-project/swg-gaa.js:1061
↓ 1 callersMethodgetVendorName
@return {string}
extensions/amp-access/0.1/amp-access-vendor.js:47
↓ 1 callersMethodgetVendorUrl_
* Constructs the URL where the given vendor config is located * @private * @param {string} vendor the vendor name * @return {string} the URL
extensions/amp-analytics/0.1/config.js:77
↓ 1 callersMethodgetVideoCacheState_
* @param {!HTMLMediaElement} media * @return {!CacheState} * @private
extensions/amp-story/1.0/media-performance-metrics-service.js:411
↓ 1 callersFunctiongetVideoContainer
* Create DOM element for the Facebook embedded content plugin for videos. * @see https://developers.facebook.com/docs/plugins/embedded-video-player
3p/facebook.js:77
↓ 1 callersMethodgetVideoId_
* @return {string} * @private
extensions/amp-gfycat/0.1/amp-gfycat.js:110
↓ 1 callersMethodgetVideoIframeSrc_
@return {string}
extensions/amp-gfycat/0.1/amp-gfycat.js:119
↓ 1 callersMethodgetVideoIframeSrc_
* @return {string} * @private
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:94
↓ 1 callersMethodgetVideoIframeSrc_
* Gets the source of video * * @return {string}
extensions/amp-brid-player/0.1/amp-brid-player.js:111
↓ 1 callersMethodgetVideoPlayerLogo_
* @return {!Element} The logo for video players * @private
extensions/amp-loader/0.1/amp-loader.js:261
↓ 1 callersMethodgetVideoSourcesForPreconnect_
* @private * @return {!Array<string>}
extensions/amp-video/0.1/amp-video.js:194
↓ 1 callersMethodgetVideoStateProperty
* Gets the current analytics details property for the given video. * Fails silently if the video is not registered. * @param {string} id * @p
src/service/video-manager-impl.js:336
↓ 1 callersMethodgetVideoTimestamp_
* Gets the duration of a supported video element * @param {!Element} element * @return {!Promise<number>} * @private
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:339
↓ 1 callersMethodgetViewerBox
* Returns the boundaries of the viewer. * @return {!../../../src/layout-rect.LayoutRectDef}
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:155
↓ 1 callersFunctiongetViewport
* Returns the viewport of the document. Note that this is the viewport of the * host document for AmpDocShadow instances. * @param {!Document} doc
src/service/document-info-impl.js:160
↓ 1 callersFunctiongetViewportType
* @param {!Window} win * @param {!../viewer-interface.ViewerInterface} viewer * @return {string}
src/service/viewport/viewport-impl.js:1238
↓ 1 callersMethodgetViewport_
* @private * @return {./viewport/viewport-interface.ViewportInterface}
src/service/video-manager-impl.js:1267
↓ 1 callersFunctiongetVimeoOriginRegExp
()
src/bento/apis/vimeo-api.js:13
↓ 1 callersMethodgetVisibleCount
* @return {number} The number of items visible at a time.
extensions/amp-base-carousel/0.1/carousel.js:451
↓ 1 callersFunctiongetVisualUgcGalleryContainer
* Create DOM element for the Yotpo Visual UGC Gallery plugin: * @param {!Window} global * @return {!Element} div
3p/yotpo.js:165
↓ 1 callersMethodgetVkPollIFrameSrc_
* @return {Promise} * @private
extensions/amp-vk/0.1/amp-vk.js:118
↓ 1 callersMethodgetVkPostIFrameSrc_
* @return {Promise} * @private
extensions/amp-vk/0.1/amp-vk.js:89
↓ 1 callersFunctiongetWaypointBaseUrl
* Use CNAME domain defined in "custom-redirect-domain" option if specified * or "https://go.skimresources.com" by default. * @param {!Element} eleme
extensions/amp-skimlinks/0.1/skim-options.js:143
↓ 1 callersFunctiongetWidth
* @param {!Window} global * @param {!Object} banner * @return {*} TODO(#23582): Specify return type
ads/vendors/capirs.js:62
↓ 1 callersMethodgetWidth
@override
src/service/viewport/viewport-impl.js:348
↓ 1 callersMethodgetWidthTakenByArrows_
* @return {number} The amount of horizontal space the arrows require. When * the arrows are inset, this is zero as they do not take space. * @pr
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:481
↓ 1 callersMethodgetWin
@override
extensions/amp-subscriptions/0.1/doc-impl.js:24
↓ 1 callersMethodgetWin
@override
third_party/subscriptions-project/swg-gaa.js:1356
↓ 1 callersMethodgetWinOrigin
* Returns the correct origin for a given window. * @param {!Window} win * @return {string} origin
src/service/url-impl.js:153
↓ 1 callersMethodgetWorkerScript_
* @return {!Promise<string>} * @private
extensions/amp-script/0.1/amp-script.js:368
↓ 1 callersMethodgetXMLHttpRequest
* @static * @param {Window} win * @return {typeof XMLHttpRequest}
src/core/window/interface.js:89
↓ 1 callersFunctiongetYDHMSFromMs
* Converts a time represented in milliseconds (ms) into a representation with * days, hours, minutes, etc. and returns formatted strings in an object
extensions/amp-date-countdown/1.0/component.js:168
↓ 1 callersFunctiongetYotpo
(opts)
extensions/amp-yotpo/0.1/test/test-amp-yotpo.js:33
↓ 1 callersFunctiongetZindexJs
* @param {string} filename * @return {Promise<[string, string][]>}
build-system/tasks/get-zindex/js.js:98
↓ 1 callersFunctiongitCherryMain
* Returns list of commit SHAs and their cherry-pick status from the main * branch. * * `git cherry <branch>` returns a list of commit SHAs. While t
build-system/common/git.js:170
↓ 1 callersFunctiongitCommitFormattedTime
* Returns (UTC) time of a commit on the local branch, in %y%m%d%H%M%S format. * * @param {string} ref a Git reference (commit SHA, branch name, etc.
build-system/common/git.js:182
↓ 1 callersFunctiongitCommitSingleExperiment
* @param {string} id * @param {*} workItem * @param {!Array<string>} modified * @return {Array<string>}
build-system/tasks/sweep-experiments/index.js:161
↓ 1 callersFunctiongitCommitterEmail
* Returns the email of the author of the latest commit on the local branch. * @return {string}
build-system/common/git.js:153
↓ 1 callersFunctiongitDiffAddedNameOnlyMain
* Returns the list of files added by the local branch relative to the branch * point off of the main branch, one on each line. * @return {!Array<str
build-system/common/git.js:102
↓ 1 callersFunctiongitDiffColor
* Returns the full color diff of the uncommited changes on the local branch. * @return {string}
build-system/common/git.js:113
↓ 1 callersFunctiongitDiffCommitLog
* Returns a detailed log of commits included in a PR check, starting with (and * including) the branch point off of the main branch. Limited to commi
build-system/common/git.js:88
↓ 1 callersFunctiongitDiffFileMain
* Returns the full color diff of the given file relative to the branch point * off of the main branch. * @param {string} file * @return {string}
build-system/common/git.js:123
↓ 1 callersFunctiongitDiffNameOnly
* Returns the list of files changed but not committed to the local branch, one * on each line. * @return {!Array<string>}
build-system/common/git.js:57
↓ 1 callersFunctiongitDiffStatMain
* Returns the list of files changed relative to the branch point off of the * main branch in diffstat format. * @return {string}
build-system/common/git.js:76
↓ 1 callersFunctiongitignoreToGlobPattern
* Rewrite glob patterns according to .gitignore syntax relative to cwd. * https://git-scm.com/docs/gitignore#_pattern_format * @param {string} patte
build-system/tasks/clean.js:19
↓ 1 callersMethodgo
* Does all the work needed to proceed to next * desired direction. * @param {number} dir -1 or 1 * @param {boolean} animate
extensions/amp-carousel/0.1/scrollable-carousel.js:147
↓ 1 callersMethodgoCallback
* Does all the work needed to proceed to next * desired direction. * @param {number} dir -1 or 1 * @param {boolean} animate * @param {bool
extensions/amp-carousel/0.1/slidescroll.js:359
↓ 1 callersMethodgoToPageId_
* @param {string} pageId * @private
src/amp-story-player/amp-story-player-impl.js:1502
↓ 1 callersMethodgoToSlide
* Scrolls to the slide at the given slide index. * @param {number} index * @return {*} TODO(#23582): Specify return type
extensions/amp-carousel/0.1/scrollable-carousel.js:181
↓ 1 callersFunctiongr
(n,t,e,r,i,u,o)
third_party/d3/d3.js:2
↓ 1 callersFunctiongroupPixelsByTime
(pixelList)
extensions/amp-addthis/0.1/addthis-utils/pixel.js:25
↓ 1 callersMethodgroupSlotsForSra
* Groups slots by type and networkId from data-slot parameter. Exposed for * ease of testing. * @return {!Promise<!{[key: string]: !Array<!Prom
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1682
↓ 1 callersFunctiongroupSpecsByHost
* Groups all resource specs (which are defined in terms of {host, path, query} * patterns) by host pattern. This is used downstream to avoid running
extensions/amp-analytics/0.1/resource-timing.js:178
↓ 1 callersFunctionha
(e)
examples/amp-script/vue-todomvc.js:7
↓ 1 callersMethodhandleA2AClick_
* Handles clicking on an AMP link. * Returns true if the navigation was handled. Otherwise, returns false. * @param {!Event} e * @param {!Ele
src/service/navigation.js:481
↓ 1 callersMethodhandleActionAfterClearingDirtyBit_
* @param {string} action * @param {string=} consentString * @param {!ConsentMetadataDef=} opt_consentMetadata * @param {number=} opt_tcfPolic
extensions/amp-consent/0.1/amp-consent.js:491
↓ 1 callersMethodhandleAddEventListner_
* Add a entry to our changeListeners to signify that there * is another iframe intrested in listening for TCData changes. * * Each entry has
extensions/amp-consent/0.1/tcf-api-command-manager.js:104
↓ 1 callersFunctionhandleAmpCache
* Handles actions to be taken for pages that are on an AMP Cache. * * @param {integer} tabId ID of a tab. * @param {string} ampHref The URL of the
validator/js/chromeextension/worker.js:104
↓ 1 callersFunctionhandleAmpDevMode
* Handles actions to be taken for AMP pages that are in Dev Mode. * * @param {integer} tabId ID of a tab.
validator/js/chromeextension/worker.js:124
↓ 1 callersFunctionhandleAmpFail
* Handles actions to be taken for AMP pages that fail validation. * * @param {integer} tabId ID of a tab. * @param {!Object<!ValidationResult>} val
validator/js/chromeextension/worker.js:137
↓ 1 callersFunctionhandleAmpLink
* Handles actions to be taken for pages that have an AMP page available. * * @param {integer} tabId ID of a tab. * @param {string} ampHref The URL
validator/js/chromeextension/worker.js:151
↓ 1 callersFunctionhandleAmpPass
* Handles actions to be taken for AMP pages that pass validation. * * @param {integer} tabId ID of a tab. * @param {!Object<!ValidationResult>} val
validator/js/chromeextension/worker.js:172
↓ 1 callersFunctionhandleAttributionClick
(win, href)
extensions/amp-story-auto-ads/0.1/story-ad-ui.js:206
↓ 1 callersMethodhandleAutofocus_
* Any child of the lightbox with the autofocus attribute should be focused * after the lightbox opens. * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:312
↓ 1 callersMethodhandleBeforeSubmit_
* Add a hidden input to make the unmasked value available to the form * @param {!HTMLFormElement} form
extensions/amp-inputmask/0.1/text-mask.js:72
↓ 1 callersMethodhandleBlocked_
@private
extensions/amp-access-scroll/0.1/scroll-impl.js:219
↓ 1 callersFunctionhandleBottomAd
(media, apesterElement)
extensions/amp-apester-media/0.1/monetization/bottomAd/bottomAd.js:11
↓ 1 callersMethodhandleChromeStandalone_
* Force Chrome PWAs to load external domain documents in a new tab. * This prevents users from getting stuck on a page without a way to * naviga
extensions/amp-standalone/0.1/amp-standalone.js:68
↓ 1 callersMethodhandleClick
* Override the default href click handling to log and open popup * @param {Event} event
extensions/amp-pinterest/0.1/pin-widget.js:59
↓ 1 callersFunctionhandleClickUrl
* Perform the impression request if it has been provided via * the click param in the viewer arguments. Returns a promise. * @param {!Window} win *
src/impression.js:173
← previousnext →9,301–9,400 of 18,703, ranked by callers