MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctiongetLocalBundleSize
* @return {Promise<void>}
build-system/tasks/bundle-size/index.js:227
↓ 1 callersFunctiongetLocalStorageState
* Get history state from localStorage. * @param {!Window} win * @return {*}
extensions/amp-story/1.0/history.js:66
↓ 1 callersFunctiongetLocale
(locale)
extensions/amp-timeago/1.0/locales.js:38
↓ 1 callersFunctiongetLocale
(locale)
extensions/amp-timeago/0.1/locales.js:38
↓ 1 callersFunctiongetLocaleWord
* Return an object with a label for 'years', 'months', etc. based on the * user provided locale string. * @param {string} locale * @return {!JsonOb
extensions/amp-date-countdown/1.0/component.js:142
↓ 1 callersFunctiongetLocalizationService
(element)
extensions/amp-story-auto-ads/0.1/story-ad-localization.js:67
↓ 1 callersFunctiongetLocation
()
3p/frame-metadata.js:98
↓ 1 callersFunctiongetLocationHashParams
()
validator/js/webui/webui.js:4
↓ 1 callersMethodgetLocationHref_
* Retrieve url of the current doc. * @return {string} * @private
extensions/amp-smartlinks/0.1/amp-smartlinks.js:204
↓ 1 callersMethodgetLocationHref_
* Retrieve url of the current doc. * @return {string} * @private
extensions/amp-smartlinks/0.1/linkmate.js:174
↓ 1 callersMethodgetLocation_
* @return {!Location} * @private
src/service/navigation.js:692
↓ 1 callersMethodgetLoggingPromise
* Please note that logs sent after getLoggingPromise is called are not * guaranteed to be finished when the promise is resolved. You should call
third_party/subscriptions-project/swg.js:8132
↓ 1 callersFunctiongetLoginUrl
(ampdoc, urlOrPromise)
extensions/amp-access/0.1/login-dialog.js:49
↓ 1 callersMethodgetLoginUrl
* @return {!Promise<string>}
extensions/amp-access/0.1/login-dialog.js:72
↓ 1 callersFunctiongetLojsonData
(jsonData)
extensions/amp-addthis/0.1/addthis-utils/lojson.js:63
↓ 1 callersFunctiongetMainWidgetContainer
* Create DOM element for the Yotpo main widget plugin: * @param {!Window} global * @param {!Object} data The element data * @return {!Element} div
3p/yotpo.js:56
↓ 1 callersMethodgetMapKey_
* Creates a map key for a fetch. * * @param {string} input URL * @param {string} responseType * @return {string} * @private
src/service/batched-xhr-impl.js:71
↓ 1 callersMethodgetMatchedGeoGroup
* Returns the matched geoGroup. Call after getConsentConfigPromise * has resolved. * @return {?string}
extensions/amp-consent/0.1/consent-config.js:66
↓ 1 callersMethodgetMatcher_
* @param {!WebAnimationSubtargetDef} spec * @return {function(!Element, number):boolean}
extensions/amp-animation/0.1/web-animations.js:672
↓ 1 callersFunctiongetMathmlJs
* Get the correct script for the mathml formula. * * Use writeScript: Failed to execute 'write' on 'Document': It isn't possible * to write into a
3p/mathml.js:18
↓ 1 callersMethodgetMaxAllowedHeight_
* Returns maximum allowed height for current viewport. * @param {number} height * @return {number} * @private
third_party/subscriptions-project/swg.js:11271
↓ 1 callersMethodgetMaxBounds_
* Calculates max distances to keep image in viewport. * @private * @return {panningMediaMaxBoundsPercentDef}
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:186
↓ 1 callersMethodgetMaxMediaElementCounts
* @return {!{[key: !MediaType_Enum]: number}} The maximum amount of each media * type to allow within this element.
extensions/amp-story/1.0/media-pool.js:1094
↓ 1 callersFunctiongetMaxNaturalDimensions
* Gets the maximum natural dimensions for an image with srcset. * This is necessary when the browser selects a src that is not shrunk for its * rend
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:213
↓ 1 callersMethodgetMaxVideoPreview_
* @return {number} The max-video-preview value, if it exists on the doc. A * positive value means that a maximum of <value> seconds may be used
extensions/amp-story/1.0/amp-story-page.js:428
↓ 1 callersFunctiongetMaxWidthFromSrcset
* Parses srcset partially to get the maximum defined intrinsic width. * @param {!Element} img * @return {number} -1 if no srcset, or if srcset is de
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:188
↓ 1 callersMethodgetMaxWidth_
* Called on each button creation, in case of window resize. * Page width - (2 x 32px of padding on each side) + (2 x 10px padding on button). *
extensions/amp-story-auto-ads/0.1/story-ad-button-text-fitter.js:77
↓ 1 callersMethodgetMediaElement_
* Gets an HTMLMediaElement from an element that wraps it. * @return {?Element} The underlying HTMLMediaElement, if one exists. * @private
extensions/amp-story/1.0/page-advancement.js:1048
↓ 1 callersFunctiongetMediaPerformanceMetricsService
(win)
extensions/amp-story/1.0/media-performance-metrics-service.js:89
↓ 1 callersMethodgetMessageData_
* Utility method to parse out the data from the supplied `postMessage` event. * @param {!Event} event * @return {?JsonObject|undefined} * @pr
extensions/amp-addthis/0.1/post-message-dispatcher.js:48
↓ 1 callersMethodgetMeta
* Initializes (if necessary) cached map of an ampdoc's meta name values to * their associated content values and returns the map. * @return {!{[
src/service/ampdoc-impl.js:352
↓ 1 callersMethodgetMeta
* @return {?AnalyticsEventMeta}
third_party/subscriptions-project/swg.js:829
↓ 1 callersFunctiongetMetadata
(player, props)
src/bento/components/bento-video/1.0/component.js:41
↓ 1 callersMethodgetMetadata
@override
test/integration/test-video-manager.js:591
↓ 1 callersMethodgetMetadata_
* @return {!JsonObject} * @private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:171
↓ 1 callersMethodgetMetadata_
* @return {!JsonObject} * @private
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:119
↓ 1 callersMethodgetMinDataMaxItemsPerPage
* Default minimum data max items per page value. * * @return {number}
extensions/amp-live-list/0.1/live-list-manager.js:327
↓ 1 callersFunctiongetMinSinceEpoch
* Rounded time used to check if t2 - t1 is within our time tolerance. * @return {number}
extensions/amp-analytics/0.1/linker.js:181
↓ 1 callersFunctiongetMinSinceEpoch
* Rounded time used to check if t2 - t1 is within our time tolerance. * @return {number}
extensions/amp-consent/0.1/linker.js:181
↓ 1 callersFunctiongetMinifiedName
* @param {string} minifiedBasename should be without extension * @return {string}
build-system/server/new-server/transforms/utilities/cdn.ts:24
↓ 1 callersFunctiongetModeObject
(opt_win)
src/mode-object.js:9
↓ 1 callersFunctiongetMode_
* Provides info about the current app. * @param {!Window} win * @return {!ModeDef}
src/mode.js:45
↓ 1 callersFunctiongetModifiedSourceFiles
(fromHash)
build-system/tasks/sweep-experiments/index.js:78
↓ 1 callersFunctiongetModuleGraph
* @param {string} entryPointModule * @return {!Promise<ModuleDef>}
build-system/tasks/dep-check.js:181
↓ 1 callersFunctiongetMonthlyTimeIdentifier
* The returned identifier will always be an 8 digit valid hexidecimal number * and will be unique for each MS within a given month. * @return {strin
third_party/subscriptions-project/swg.js:3278
↓ 1 callersMethodgetMuidParam_
* @return {string} Muidn info for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:254
↓ 1 callersFunctiongetMutationRecordsFromExperimentToVariant
( config, experimentToVariant )
extensions/amp-experiment/1.0/apply-experiment.js:105
↓ 1 callersMethodgetName
* @return {string} The name of this task.
extensions/amp-story/1.0/media-tasks.js:141
↓ 1 callersFunctiongetNameArgsForTesting
(key)
extensions/amp-analytics/0.1/variables.js:579
↓ 1 callersMethodgetName_
* @return {string} * @protected
src/chunk.js:201
↓ 1 callersMethodgetName_
* @return {string} Returns a string to identify this tag. May not be unique * if the element label is not unique. * @private
extensions/amp-byside-content/0.1/amp-byside-content.js:261
↓ 1 callersFunctiongetNaturalDimensions
(element)
src/core/static-layout.js:56
↓ 1 callersFunctiongetNavigationTiming
* Returns the value of some navigation timing parameter. * Feature detection is used for safety on browsers that do not support the * performance AP
extensions/amp-ad-network-valueimpression-impl/0.1/amp-ad-network-valueimpression-impl.js:478
↓ 1 callersMethodgetNetworkInfoParams_
* @return {string} Network information data for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:167
↓ 1 callersMethodgetNewDomains_
* From a list of anchors, extract the list of domains for which * we don't already have the affiliate status information. This is * the list of
extensions/amp-skimlinks/0.1/affiliate-link-resolver.js:198
↓ 1 callersMethodgetNewMediaEntry_
* @param {!HTMLMediaElement} media * @param {!Array<!UnlistenDef>} unlisteners * @return {!MediaEntryDef} * @private
extensions/amp-story/1.0/media-performance-metrics-service.js:269
↓ 1 callersFunctiongetNextArrow
(controller)
extensions/amp-carousel/0.2/test/test-e2e/helpers.js:14
↓ 1 callersFunctiongetNextArrowSlot
(controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:35
↓ 1 callersMethodgetNextButtonTitlePrefix_
* @return {string} The title to use for the next button. * @private
extensions/amp-carousel/0.2/amp-carousel.js:429
↓ 1 callersMethodgetNextButtonTitle_
* @param {number} index * @return {string} The title of the button. * @private
extensions/amp-carousel/0.2/amp-carousel.js:491
↓ 1 callersMethodgetNextIndex_
* @param {?number} currentIndex * @return {?number} The next index that would be navigated to, or null if at * the end and not looping. *
extensions/amp-carousel/0.2/amp-carousel.js:417
↓ 1 callersFunctiongetNextIssueData
* @param {TemplateDef} template * @return {object}
build-system/common/update-session-issues/index.js:304
↓ 1 callersMethodgetNextMediaEl_
* @private * @param {?Element} mediaEl * @return {?Element}
extensions/amp-story/1.0/background-blur.js:172
↓ 1 callersMethodgetNextOrientation
* Returns the CameraOrientation for the next frame, or null if the animation * is over. * @return {?CameraOrientation}
extensions/amp-story-360/0.1/amp-story-360.js:191
↓ 1 callersMethodgetNextPage
* Get next page object * @param {!./amp-story-page.AmpStoryPage} page * @return {?./amp-story-page.AmpStoryPage}
extensions/amp-story/1.0/amp-story.js:2674
↓ 1 callersMethodgetNextPage
(pageImpl)
extensions/amp-story-auto-ads/0.1/test/story-mock.js:26
↓ 1 callersFunctiongetNextUrl
* Returns the nextUrl, according to the `loadMoreBookmark` string * @param {*} lastPage * @param {string} loadMoreBookmark * @return {*}
extensions/amp-list/1.0/component.js:72
↓ 1 callersFunctiongetNodeLatestLtsVersion
* Extracts the latest node version from a JSON object containing version info * * @param {!Object} distributionsJson * @return {string}
build-system/common/check-package-manager.js:173
↓ 1 callersMethodgetNodesForOverflow_
* @return {!Array<!Node>} The nodes to show when overflowing.
extensions/amp-truncate-text/0.1/amp-truncate-text.js:188
↓ 1 callersMethodgetNonAmpCreativeRenderingMethod
@override
extensions/amp-ad-network-smartadserver-impl/0.1/amp-ad-network-smartadserver-impl.js:157
↓ 1 callersFunctiongetNrtvAccountName_
* The slug used to distinguish Narrativ accounts. * @param {!Element} element * @return {string} * @private
extensions/amp-smartlinks/0.1/linkmate-options.js:22
↓ 1 callersFunctiongetNthParentWindow
* Returns the Nth parent of the given window. * @param {!Window} win * @param {number} distance frames above us. * @return {!Window}
ads/alp/handler.js:252
↓ 1 callersFunctiongetNumberOfErrors
* Returns the number of errors that occur in the set of ValidationErrors. * * * @param {Array<ValidationError>} errors Validation errors and/or war
validator/js/chromeextension/worker.js:72
↓ 1 callersFunctiongetNumberOfWarnings
* Returns the number of warnings that occur in the set of ValidationErrors. * * @param {Array<ValidationError>} errors Validation errors and/or warn
validator/js/chromeextension/worker.js:82
↓ 1 callersMethodgetOffers
* @param {?string=} productId * @return {!Promise<!Array<!../api/offer.Offer>>}
third_party/subscriptions-project/swg.js:14774
↓ 1 callersFunctiongetOffsetPosition
(axis, el)
src/bento/components/bento-base-carousel/1.0/dimensions.js:191
↓ 1 callersFunctiongetOgImage
(doc)
extensions/amp-addthis/0.1/addthis-utils/meta.js:19
↓ 1 callersFunctiongetOldBranches
* @return {Promise<string[]>}
build-system/tasks/sweep-experiments/cleanup-branches.js:65
↓ 1 callersMethodgetOldSku
* @return {?string}
third_party/subscriptions-project/swg.js:1836
↓ 1 callersMethodgetOneTime
* @return {?boolean}
third_party/subscriptions-project/swg.js:1850
↓ 1 callersMethodgetOptedInScopes_
* Reads meta tags for opted in scopes. Meta tags will have the form * <meta name="provider-api-name" content="provider-name"> * @return {!{[key
src/service/cid-impl.js:300
↓ 1 callersFunctiongetOptimizedNumColumns
* Gets optimized number of columns. If the publisher specified value of * 'data-matched-content-columns-num' is too large, it may result in a very *
ads/google/a4a/shared/content-recommendation.js:510
↓ 1 callersMethodgetOptions_
* * @param {../api/subscriptions.ButtonOptions|../api/subscriptions.SmartButtonOptions|function()} optionsOrCallback * @return {!../api/subscrip
third_party/subscriptions-project/swg.js:8933
↓ 1 callersFunctiongetOrAddWorkletModule
* @param {!Window} win * @private * @return {*} TODO(#23582): Specify return type
extensions/amp-animation/0.1/runners/scrolltimeline-worklet-runner.js:121
↓ 1 callersFunctiongetOrCreateListenForEvents
* Returns an mapping of event names to listenFor listeners. * @param {?Window} parentWin the window that created the iframe * @param {!Element} ifra
src/iframe-helper.js:72
↓ 1 callersFunctiongetOrCreateMessageId
* @param {string} message * @return {string} Short message id.
build-system/babel-plugins/babel-plugin-transform-log-methods/index.js:69
↓ 1 callersMethodgetOrCreateObservableFor_
* @param {string} messageType * @return {!Observable<?JsonObject>}
3p/iframe-messaging-client.js:213
↓ 1 callersMethodgetOrCreateRoot_
* @param {!Object} holder * @param {function():!./analytics-root.AnalyticsRoot} factory * @return {!./analytics-root.AnalyticsRoot}
extensions/amp-analytics/0.1/instrumentation.js:121
↓ 1 callersMethodgetOrCreateSession_
* Get our session if it exists or creates it. Sets the session * in localStorage to update the access time. * @param {string} type * @param {
extensions/amp-analytics/0.1/session-manager.js:198
↓ 1 callersMethodgetOriginalWebActivityPorts
* @return {!web-activities/activity-ports.ActivityPorts}
third_party/subscriptions-project/swg.js:7087
↓ 1 callersFunctiongetOutermostAmpElement
* Traverse node ancestors and return the highest level amp element. * Returns the given node if none are found. * * @param {!Node} node * @return
src/service/performance-impl.js:983
↓ 1 callersFunctiongetOverflowChevron
* Helper function to create a chevron element for the overflow element * @param {!Window} global The window object of the iframe * @return {!Element
ads/vendors/csa.js:352
↓ 1 callersFunctiongetOverflowElement
* Helper function to create the base overflow element * @param {!Window} global The window object of the iframe * @return {!Element}
ads/vendors/csa.js:320
↓ 1 callersMethodgetOverflowElement
* Returns an optional overflow element for this custom element. * @return {?Element}
src/custom-element.js:2077
↓ 1 callersMethodgetOverflowElement_
* * Returns the overflow element * @return {!Element} overflowElement *
extensions/amp-playbuzz/0.1/amp-playbuzz.js:153
↓ 1 callersMethodgetOverflowElement_
* @return {!Element} Returns the overflow element * @private
extensions/amp-byside-content/0.1/amp-byside-content.js:273
↓ 1 callersFunctiongetOverflowLine
* Helper function to create a line element for the overflow element * @param {!Window} global The window object of the iframe * @return {!Element}
ads/vendors/csa.js:338
↓ 1 callersMethodgetOverflowState
* @return {!OverflowState} state
extensions/amp-lightbox-gallery/0.1/lightbox-caption.js:94
↓ 1 callersMethodgetOwner
* @return {?Element} * @final
src/custom-element.js:1514
↓ 1 callersFunctiongetPaddings
* Extracts paddings sizes from provided styles. * * @param {CSSStyleDeclaration} styles * @returns {Object} Paddings box.
third_party/resize-observer-polyfill/ResizeObserver.js:203
← previousnext →9,001–9,100 of 18,703, ranked by callers