MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctiongetPaddings
* Extracts paddings sizes from provided styles. * * @param {CSSStyleDeclaration} styles * @returns {Object} Paddings box.
third_party/resize-observer-polyfill/ResizeObserver.install.js:202
↓ 1 callersMethodgetPageAttachmentState_
* Send message to story asking for page attachment state. * @private
src/amp-story-player/amp-story-player-impl.js:1484
↓ 1 callersMethodgetPageById
(pageId)
extensions/amp-story-auto-ads/0.1/test/story-mock.js:20
↓ 1 callersMethodgetPageClicks
* Returns the number of page clicks * * @return {number}
extensions/amp-addthis/0.1/addthis-utils/monitors/click-monitor.js:76
↓ 1 callersFunctiongetPageContainer
* Create DOM element for the Facebook embedded page plugin. * Reference: https://developers.facebook.com/docs/plugins/page-plugin * @param {!Window}
3p/facebook.js:108
↓ 1 callersMethodgetPageContainingElement_
* Retrieves the page containing the element, or null. A background audio * set on the <amp-story> tag would not be contained in a page. * @param
extensions/amp-story/1.0/amp-story.js:2301
↓ 1 callersMethodgetPageDistanceMapHelper_
* Creates a map of a page and all of the pages reachable from that page, by * distance. * * @param {number} distance The distance that the pa
extensions/amp-story/1.0/amp-story.js:2137
↓ 1 callersMethodgetPageId_
* @private * @return {string} the page id
extensions/amp-story-360/0.1/amp-story-360.js:392
↓ 1 callersMethodgetPageId_
* @private * @return {string} the page id
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:361
↓ 1 callersMethodgetPageIndex_
* @param {Page} desiredPage * @return {number} The index of the page.
extensions/amp-next-page/1.0/service.js:770
↓ 1 callersMethodgetPageParam_
* @return {string} Page data for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:142
↓ 1 callersFunctiongetPagePosition
* Returns the x,y coordinates of the given element relative to the window. * @param {!Element} el * @return {{x: number, y: number}}
ads/google/ima/ima-video.js:1090
↓ 1 callersFunctiongetPageViewId
* Returns a relatively low entropy random string. * This should be called once per window and then cached for subsequent * access to the same value
src/service/document-info-impl.js:111
↓ 1 callersMethodgetParameterSize_
* @return {string} The size parameter. * @private
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1151
↓ 1 callersMethodgetParams
* @return {?EventParams}
third_party/subscriptions-project/swg.js:843
↓ 1 callersMethodgetParentOrigin_
* @return {?string} * @private
extensions/amp-web-push/0.1/amp-web-push-helper-frame.js:300
↓ 1 callersFunctiongetParseableDatetimeUtc
* @param {string|number} yyyy * @param {string|number} mm * @param {string|number} dd * @param {string} time * @return {string}
build-system/common/update-session-issues/index.js:383
↓ 1 callersFunctiongetPathsFromIgnoreList
* @return {Promise<string[]>}
build-system/tasks/clean.js:33
↓ 1 callersMethodgetPaywallData_
* Get paywall data by calling authorize endpoint * @return {!Promise<Object>} * @private
extensions/amp-access-fewcents/0.1/fewcents-impl.js:204
↓ 1 callersFunctiongetPercentageOffsetFromAlignment
( axis, alignment, container, el )
src/bento/components/bento-base-carousel/1.0/dimensions.js:104
↓ 1 callersFunctiongetPhotosCarouselContainer
* Create DOM element for the Yotpo Embedded Widget plugin: * @param {!Window} global * @param {!Object} data The element data * @return {!Element}
3p/yotpo.js:221
↓ 1 callersFunctiongetPjsonData
(pjson)
extensions/amp-addthis/0.1/addthis-utils/pjson.js:25
↓ 1 callersMethodgetPlaceholderForElementType_
* Returns the default placeholder based on element type * @param {!Element} element * @return {string} * @private
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:366
↓ 1 callersFunctiongetPlacementAlgo
(win, storeService, pageManager)
extensions/amp-story-auto-ads/0.1/algorithm-utils.js:14
↓ 1 callersMethodgetPlacementSizing_
* Gets instructions for the placement in terms of height, width and margins. * This is intended to be used for non-responsive auto ads only. * @
extensions/amp-auto-ads/0.1/placement.js:253
↓ 1 callersFunctiongetPlacementsFromObject
* Validates that the placementObj represents a valid placement and if so * constructs and returns an instance of the Placement class for it. * @para
extensions/amp-auto-ads/0.1/placement.js:347
↓ 1 callersMethodgetPlatformKey
* @override
extensions/amp-subscriptions/0.1/local-subscription-platform-base.js:77
↓ 1 callersMethodgetPlatform_
* @return {!../../../src/service/platform-impl.Platform} * @private visibleForTesting
extensions/amp-standalone/0.1/amp-standalone.js:27
↓ 1 callersMethodgetPlayedRanges
* Get a 2d array of start and stop times that the user has watched. * This is used for analytics metadata. * @return {!Array<Array<number>>}
src/video-interface.js:79
↓ 1 callersMethodgetPlayedRanges
* @override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:147
↓ 1 callersMethodgetPlayingState_
* @param {!../video-interface.VideoOrBaseElementDef} video * @return {!../video-interface.PlayingStateDef} * @private
src/service/video-manager-impl.js:1345
↓ 1 callersMethodgetPointY_
* Computes the curve's Y coordinate at a point between 0 and 1. * @param {number} t The point on the curve to find. * @param {number} y0 Y coord
src/core/data-structures/curve.js:160
↓ 1 callersMethodgetPolicy_
* @return {!UrlReplacementPolicy_Enum} * @private
extensions/amp-render/1.0/shared/amp-fetch-utils.js:98
↓ 1 callersMethodgetPooolAccess_
* @return {!Promise<Object>} * @private
extensions/amp-access-poool/0.1/poool-impl.js:151
↓ 1 callersMethodgetPopupDimensions_
* @return {{w: number, h: number, x: number, y: number}} * @private
extensions/amp-web-push/0.1/web-push-service.js:880
↓ 1 callersMethodgetPosForSlideIndex_
* Calculates the target scroll position for the given slide index. * @param {number} index * @return {number}
extensions/amp-carousel/0.1/scrollable-carousel.js:224
↓ 1 callersMethodgetPositionStyle_
* Returns the styles required to postion the dialog. * @return {!Object<string, string|number>} * @private
third_party/subscriptions-project/swg.js:11328
↓ 1 callersFunctiongetPostContainer
* Create DOM element for the Facebook embedded content plugin for posts. * @see https://developers.facebook.com/docs/plugins/embedded-posts * @param
3p/facebook.js:62
↓ 1 callersFunctiongetPostContainer
* Embedly looks for a blockquote with a '-card' suffixed class. * @param {!Window} global * @return {!Element} blockquote
3p/reddit.js:17
↓ 1 callersFunctiongetPotentiallyFocusableElements
* Gets the potentially focusable elements, relative to a given element. Note * that we do not need to go into ShadowRoots, giving their host * `tabi
src/core/dom/modal.js:96
↓ 1 callersMethodgetPrParam_
* @return {string} Referrer info for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:219
↓ 1 callersFunctiongetPreconnectFeatures
* Detect related features if feature detection is supported by the * browser. Even if this fails, the browser may support the feature. * @param {!Wi
src/preconnect.js:36
↓ 1 callersMethodgetPreconnectUrls
* Returns preconnect urls for A4A. Ad network should overwrite in their * Fast Fetch implementation and return an array of urls for the runtime to
extensions/amp-a4a/0.1/amp-a4a.js:495
↓ 1 callersMethodgetPreconnectUrls
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:628
↓ 1 callersMethodgetPreset_
* @param {!Element} el * @return {?StoryAnimationPresetDef}
extensions/amp-story/1.0/animation.js:789
↓ 1 callersFunctiongetPrevArrowSlot
(controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:31
↓ 1 callersMethodgetPrevButtonTitlePrefix_
* @return {string} The title to use for the pevious button. * @private
extensions/amp-carousel/0.2/amp-carousel.js:440
↓ 1 callersMethodgetPrevButtonTitle_
* @param {number} index * @return {string} The title of the button. * @private
extensions/amp-carousel/0.2/amp-carousel.js:478
↓ 1 callersMethodgetPrevIndex_
* @param {?number} currentIndex * @return {?number} The previous index that would be navigated to, or null * if at the start and not looping.
extensions/amp-carousel/0.2/amp-carousel.js:403
↓ 1 callersMethodgetPriorityList_
* Extract the priority list from the optional html meta tag. * The meta tag should contain a whitespace separated list of * LinkRewriter Ids.
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter-manager.js:172
↓ 1 callersFunctiongetProductGalleryContainer
* Create DOM element for the Yotpo Product Gallery plugin: * @param {!Window} global * @param {!Object} data The element data * @return {!Element}
3p/yotpo.js:140
↓ 1 callersFunctiongetPromotedProductsContainer
* Create DOM element for the Yotpo Promoted Products plugin: * @param {!Window} global * @param {!Object} data The element data * @return {!Element
3p/yotpo.js:241
↓ 1 callersFunctiongetPropertyChain
* @param {string} source * @param {types.TraversalAncestors} ancestors * @return {string}
build-system/tasks/get-zindex/js.js:44
↓ 1 callersMethodgetProps_
* Get the initial values for properties whose values do not change during * the lifetime of the AMP element. Convert the kebab-case html attributes
extensions/amp-date-picker/0.1/amp-date-picker.js:1340
↓ 1 callersFunctiongetPubCode_
* * @param {!Element} element * @return {string}
extensions/amp-skimlinks/0.1/skim-options.js:69
↓ 1 callersFunctiongetPubControlSlotSize
* Calculate the slot size for Pub Control UI. * @param {number} slotWidth * @param {number} numColumns * @param {number} numRows * @param {!Layout
ads/google/a4a/shared/content-recommendation.js:440
↓ 1 callersMethodgetPublisherNameFromJsonLdPageConfig_
* Gets publisher name from JSON-LD page config. * @private * @nocollapse * @return {string|undefined}
third_party/subscriptions-project/swg-gaa.js:2167
↓ 1 callersMethodgetPublisherNameFromMicrodataPageConfig_
* Gets publisher name from Microdata page config. * @private * @nocollapse * @return {string|undefined}
third_party/subscriptions-project/swg-gaa.js:2199
↓ 1 callersMethodgetPublisherNameFromPageConfig_
* Gets publisher name from page config. * @private * @nocollapse * @return {string}
third_party/subscriptions-project/swg-gaa.js:2143
↓ 1 callersMethodgetPullRequests
* Get pull requests associated with a list of commits * @param {Array<string>} shas * @return {Promise<Array<GraphQlQueryResponseData>>}
build-system/release-tagger/utils.js:191
↓ 1 callersMethodgetPurchaseConfig_
* @return {!Promise<Object>} * @private
extensions/amp-access-laterpay/0.2/laterpay-impl.js:255
↓ 1 callersMethodgetPurchaseConfig_
* @return {!Promise<Object>} * @private
extensions/amp-access-laterpay/0.1/laterpay-impl.js:219
↓ 1 callersMethodgetPvidParam_
* @return {string} Pageview info for ad request * @private
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:242
↓ 1 callersFunctiongetQueryParamUrl
* Helper method to convert an query param array to string * @param {!Array<string>} params * @return {string}
src/impression.js:330
↓ 1 callersFunctiongetQueryString
* Returns the Query String of a full url, will not include # parameters * @param {?string} endpoint * @return {?string}
src/bento/components/bento-social-share/1.0/component.js:233
↓ 1 callersMethodgetQueryString_
* @return {string} * @private
third_party/subscriptions-project/swg.js:7898
↓ 1 callersMethodgetRaf_
* @return {function(function())} requestAnimationFrame or polyfill.
src/service/vsync-impl.js:429
↓ 1 callersFunctiongetRandom
* @param {!Window} win * @return {string}
src/inabox/inabox-iframe-messaging-client.js:55
↓ 1 callersFunctiongetRandomInts
* Returns an array of random values. The length of the array is numInts. Each * int will be >= 0 and < maxVal. * @param {!number} numInts * @para
third_party/subscriptions-project/swg.js:3100
↓ 1 callersMethodgetRandomString_
* Generate a 32-byte random string. * Uses the win.crypto when available. * @return {string} The random string * @private
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1860
↓ 1 callersFunctiongetRawTag
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersMethodgetReaderId
* @param {string} platformKey * @return {!Promise<string>}
extensions/amp-subscriptions/0.1/amp-subscriptions.js:269
↓ 1 callersMethodgetReadyPromise
@return {!Promise<null>}
third_party/subscriptions-project/swg.js:7313
↓ 1 callersFunctiongetReadyState
* @param {!Document} doc * @return {string}
third_party/subscriptions-project/swg.js:10585
↓ 1 callersFunctiongetReadyState
* @param {!Document} doc * @return {string}
third_party/subscriptions-project/swg-gaa.js:1261
↓ 1 callersFunctiongetReadyState
* @param {!Document} doc * @return {string}
third_party/subscriptions-project/config.js:37
↓ 1 callersMethodgetRecBox_
* @param {!Element} element the container of the amp-next-page extension * @return {!Element} * @private
extensions/amp-next-page/1.0/service.js:1022
↓ 1 callersMethodgetRecaptchaFrameSrc_
* Function to get our recaptcha iframe src * * This should take the current URL, * either in canonical (www.example.com), * or in cache (w
extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js:259
↓ 1 callersMethodgetReferrer_
* Returns the referrer or undefined if the referrer is not resolved * before the given timeout * @param {number=} opt_timeout * @return {!(Pr
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1027
↓ 1 callersMethodgetReferrer_
* Returns the referrer or undefined if the referrer is not resolved * before the given timeout * @param {number=} opt_timeout * @return {!(Pr
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:272
↓ 1 callersMethodgetReferrer_
* @return {string} * @private
third_party/subscriptions-project/swg.js:7906
↓ 1 callersFunctiongetRefreshManager
(a4a, opt_predicate)
extensions/amp-a4a/0.1/refresh-manager.js:149
↓ 1 callersMethodgetRelativePosFromScroll
* @param {!VisibilityObserverHostEntry} entry * @return {?ViewportRelativePos}
extensions/amp-next-page/1.0/visibility-observer.js:303
↓ 1 callersMethodgetRelativePosFromSentinel
* @param {!VisibilityObserverEntry} entry * @return {?ViewportRelativePos}
extensions/amp-next-page/1.0/visibility-observer.js:329
↓ 1 callersFunctiongetRelease
* Get a release * @param {string} head * @param {Object|undefined} octokitRest * @param {Object|undefined} octokitGraphQl * @return {Promise<Objec
build-system/release-tagger/make-release.js:185
↓ 1 callersMethodgetRemoteConfig_
* @return {!JsonObject}
extensions/amp-story-auto-ads/0.1/story-ad-config.js:103
↓ 1 callersMethodgetRenderMode_
* Returns the render mode whether need to force redirect. * * @param {!PaymentDataRequest} paymentDataRequest * @return {string} * @privat
third_party/subscriptions-project/swg.js:16620
↓ 1 callersFunctiongetReplaceGlobalsPlugin
* Returns a Babel plugin that replaces the global identifier with the correct * alternative. Used before transforming test code with esbuild. * * @
build-system/babel-config/helpers.js:91
↓ 1 callersFunctiongetReplaceParams
* Attempts to retrieve extra parameters from the "amp_r" query param, * returning null if invalid. * @param {!./ampdoc-impl.AmpDoc} ampdoc * @retur
src/service/document-info-impl.js:171
↓ 1 callersFunctiongetRepoRoot
* Returns the current git repo's root directory if we are inside one. * @return {string|undefined}
build-system/task-runner/amp-cli-runner.js:19
↓ 1 callersMethodgetRequestUrl
* @return {string} The finalized ad request URL. * @protected * @abstract
extensions/amp-a4a/0.1/amp-ad-network-base.js:124
↓ 1 callersMethodgetRequested
* @return {?boolean}
third_party/subscriptions-project/swg.js:1695
↓ 1 callersFunctiongetResourceFilePath
* Returns path for provided js filename * @param {string} publisher js filename * @return {string} Path to provided filename.
ads/vendors/mgid.js:51
↓ 1 callersFunctiongetResourceFilePath
* Returns path for provided js filename * @param {string} publisher js filename * @return {string} Path to provided filename.
ads/vendors/adskeeper.js:67
↓ 1 callersFunctiongetResourceFilePath
* Returns path for provided js filename * @param {string} publisher js filename * @return {string} Path to provided filename.
ads/vendors/idealmedia.js:51
↓ 1 callersFunctiongetResourceTimingEntries
* Gets all resource timing entries from the given window. * @param {!Window} win * @return {!Array<!PerformanceResourceTiming>}
extensions/amp-analytics/0.1/resource-timing.js:107
↓ 1 callersFunctiongetResponseErrorData_
* @param {!Error} error * @return {!Promise<!Array<VerificationErrorDef>>} * @private
extensions/amp-form/0.1/form-verifiers.js:249
↓ 1 callersMethodgetResponsiveHeight_
* Calculates the appropriate height for a full-width responsive ad of the * given width. * @param {!{width: number, height: number}} viewportSiz
extensions/amp-ad-network-adsense-impl/0.1/responsive-state.js:427
↓ 1 callersFunctiongetReviewsCarouselContainer
* Create DOM element for the Yotpo reviews carousel plugin: * @param {!Window} global * @param {!Object} data The element data * @return {!Element}
3p/yotpo.js:74
↓ 1 callersFunctiongetReviewsTabContainer
* Create DOM element for the Yotpo Reviews Tab plugin: * @param {!Window} global * @return {!Element} div
3p/yotpo.js:128
← previousnext →9,101–9,200 of 18,703, ranked by callers