MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersMethodgetReaderId_
* @return {!Promise<string>} * @private
extensions/amp-access/0.1/amp-access.js:154
↓ 2 callersFunctiongetRectField
* @param {?string} field * @param {!../../../../src/layout-rect.LayoutRectDef} rect * @return {number}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:1373
↓ 2 callersFunctiongetRegistrations
()
3p/3p.js:30
↓ 2 callersMethodgetRemotePages_
* Fetches the next batch of page recommendations from the server (initially * specified by the [src] attribute then obtained as a next pointer)
extensions/amp-next-page/1.0/service.js:915
↓ 2 callersMethodgetRenderedTemplateString_
* Convert a rendered template element to a string * @param {!Element} rendered * @return {string} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1791
↓ 2 callersMethodgetReplacementUrlForAnchor
* Returns the replacement url associated with an anchor. * @param {!HTMLElement} anchor * @return {?string} * @public
extensions/amp-skimlinks/0.1/link-rewriter/link-replacement-cache.js:56
↓ 2 callersFunctiongetRequiredSandboxFlags
()
src/core/3p-frame.js:5
↓ 2 callersFunctiongetResponsiveAttributeValue
(str)
extensions/amp-base-carousel/0.1/responsive-attributes.js:70
↓ 2 callersMethodgetReturnUrl_
* @return {string} * @private
extensions/amp-access/0.1/login-dialog.js:318
↓ 2 callersMethodgetRootElement
@override
third_party/subscriptions-project/swg.js:10690
↓ 2 callersMethodgetRootElement_
* @return {!Element} * @private
extensions/amp-access/0.1/amp-access.js:284
↓ 2 callersMethodgetRootFontSize
* Returns the root font size. * @return {number}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:66
↓ 2 callersMethodgetRootNode
@override
third_party/subscriptions-project/swg.js:10685
↓ 2 callersMethodgetRootSignal
@override
extensions/amp-analytics/0.1/events.js:893
↓ 2 callersFunctiongetRtvVersion
* Retrieve the `rtvVersion` which will have a numeric prefix * denoting canary/prod/experiment (unless `isLocalDev` is true). * * @param {!Window}
src/mode.js:69
↓ 2 callersMethodgetSafeframePath
* @return {string} full url to safeframe implementation.
extensions/amp-a4a/0.1/amp-a4a.js:2366
↓ 2 callersMethodgetSavedInstanceForTesting
* Get last consent instance stored. * @visibleForTesting * @return {?ConsentInfoDef}
extensions/amp-consent/0.1/consent-state-manager.js:290
↓ 2 callersFunctiongetScopeElements
(ampDoc, configOpts)
extensions/amp-link-rewriter/0.1/scope.js:9
↓ 2 callersMethodgetScoreFactorStates
* Get scoreFactor states for each platform * @return {!Promise<!JsonObject>} * * return value looks somethinglike this * { * 'subscri
extensions/amp-subscriptions/0.1/platform-store.js:298
↓ 2 callersMethodgetScrollAdjustedRect_
* @param {!AmpElement|!VideoOrBaseElementDef} element * @return {!inlineRect} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:611
↓ 2 callersMethodgetScrollDirection
@override
src/service/resources-impl.js:290
↓ 2 callersFunctiongetScrollEnd
(axis, el)
src/bento/components/bento-base-carousel/1.0/dimensions.js:177
↓ 2 callersMethodgetScrollLeftForIndex_
* Returns the scrollLeft position for a given slide index. * @param {number} index Index of the slide to be displayed. * @return {number} * @
extensions/amp-carousel/0.1/slidescroll.js:910
↓ 2 callersFunctiongetScrollPadding
* @param {!Window} win * @param {!Element} element * @param {string=} property * @return {number}
src/service/viewport/viewport-impl.js:59
↓ 2 callersFunctiongetScrollPaddingTop
* @param {!Window} win * @param {!Element} element * @return {number}
src/service/viewport/viewport-impl.js:75
↓ 2 callersFunctiongetScrollPosition
(axis, el)
src/bento/components/bento-base-carousel/1.0/dimensions.js:163
↓ 2 callersMethodgetScrollPromiseForStickyAd
* Scroll promise for sticky ad * @return {Promise}
extensions/amp-ad/0.1/amp-ad-ui.js:265
↓ 2 callersMethodgetScrollTop
@override
src/service/viewport/viewport-binding-natural.js:166
↓ 2 callersMethodgetScrollingContainerFor_
* @param {!Element} element * @return {!Promise<!Element>}
src/service/viewport/viewport-impl.js:587
↓ 2 callersFunctiongetSelectedCount
()
extensions/amp-selector/1.0/test/test-amp-selector.js:83
↓ 2 callersFunctiongetSelectedTextValue
(element: HTMLElement | null)
src/bento/components/bento-autocomplete/1.0/component/helpers.ts:15
↓ 2 callersFunctiongetSelector
* @param {CompilerNode} node * @param {number} argIndex * @return {string}
build-system/eslint-rules/query-selector.js:114
↓ 2 callersMethodgetSendBeacon
* @static * @param {Window} win * @return {undefined|function(string,(ArrayBufferView|Blob|FormData|null|string)=):boolean}
src/core/window/interface.js:77
↓ 2 callersMethodgetSentRequests
* Gets sent requests with an optional url to filter by. * @param {string=} url * @return {Promise<Array<*>>}
build-system/tasks/e2e/network-logger.js:45
↓ 2 callersFunctiongetSentinel_
* Gets the sentinel string. * @param {!Element} iframe The iframe. * @param {boolean=} opt_is3P set to true if the iframe is 3p. * @return {string}
src/iframe-helper.js:398
↓ 2 callersFunctiongetSequencingStartAfterId
* @param {!Element} root * @param {!Element} element * @return {?string}
extensions/amp-story/1.0/animation.js:77
↓ 2 callersFunctiongetServicePromiseInternal
* @param {!Object} holder * @param {string} id of the service. * @return {!Promise<!Object>}
src/service-helpers.js:415
↓ 2 callersFunctiongetSessionDateFromTitle
* @param {string} title * @return {number}
build-system/common/update-session-issues/index.js:395
↓ 2 callersMethodgetSessionStorageKey_
* Generate a sessionStorage Key based on amp-accordion element id. * @return {?string} * @private
extensions/amp-accordion/0.1/amp-accordion.js:212
↓ 2 callersFunctiongetShoppingConfig
(shoppingAttachmentEl, itemNamePrefix)
extensions/amp-story-shopping/0.1/amp-story-shopping-config.js:49
↓ 2 callersMethodgetSingleLineEmbed_
* @private * @return {string}
extensions/amp-jwplayer/0.1/amp-jwplayer.js:589
↓ 2 callersFunctiongetSize
()
ads/google/a4a/test/test-utils.js:406
↓ 2 callersFunctiongetSizes
(impls)
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:145
↓ 2 callersMethodgetSlideId_
* * @param {?number} index * @return {string} An identifier to use for the slide for analytics.
extensions/amp-carousel/0.2/amp-carousel.js:597
↓ 2 callersFunctiongetSlideWrappersFromShadow
()
extensions/amp-stream-gallery/1.0/test/test-amp-stream-gallery.js:68
↓ 2 callersFunctiongetSliderInteractiveData
()
extensions/amp-story-interactive/0.1/test/helpers.js:126
↓ 2 callersFunctiongetSlides
(controller)
extensions/amp-carousel/0.2/test/test-e2e/helpers.js:5
↓ 2 callersFunctiongetSlidesFromShadow
()
extensions/amp-stream-gallery/1.0/test/test-amp-stream-gallery.js:85
↓ 2 callersFunctiongetSlotElement
()
test/unit/ads/test-pubmine.js:19
↓ 2 callersFunctiongetSlotHeight
* Calculate the core slot height according to the core height and * number of rows. * @param {number} adHeight * @param {number} numRows * @return
ads/google/a4a/shared/content-recommendation.js:424
↓ 2 callersFunctiongetSocialConfig
(type)
src/bento/components/bento-social-share/1.0/social-share-config.js:6
↓ 2 callersFunctiongetSocialConfig
(type)
extensions/amp-social-share/0.1/amp-social-share-config.js:6
↓ 2 callersMethodgetSourceElementParentCarousel_
* @param {!Element} sourceElement The source elemen to check. * @return {?Element} The parent carousel of the sourceElement, if one * exists.
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:1071
↓ 2 callersFunctiongetSpacers
(controller)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:37
↓ 2 callersFunctiongetSpacersForSlide
(controller, n)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:41
↓ 2 callersMethodgetSrc_
* Get the iframe source. Google Docs are special cased since they display * using their own embed URL. * @param {string} src * @return {strin
extensions/amp-google-document-embed/0.1/amp-google-document-embed.js:114
↓ 2 callersMethodgetSsrExpIds_
* Returns any enabled SSR experiments via the amp-usqp meta tag. These * correspond to the proto field ids in cs/AmpTransformerParams. * * Th
extensions/amp-a4a/0.1/amp-a4a.js:2532
↓ 2 callersFunctiongetState
* @param {!Element} element * @param {MutationObserver} mu * @param {!Function} getExpandStateTrigger * @return {!JsonObject}
src/bento/components/bento-accordion/1.0/base-element.js:59
↓ 2 callersMethodgetStateValue
* Returns the stringified value of the global state for a given field-based * expression, e.g. "foo.bar.baz". * @param {string} expr * @retur
extensions/amp-bind/0.1/bind-impl.js:570
↓ 2 callersFunctiongetStorageKey
* @param {string} cookieName * @return {string}
src/service/cid-impl.js:401
↓ 2 callersFunctiongetStorageKey
* @param {string} type * @return {string}
extensions/amp-analytics/0.1/session-manager.js:297
↓ 2 callersMethodgetStorageKey_
* @private * @return {string}
extensions/amp-app-banner/0.1/amp-app-banner.js:96
↓ 2 callersMethodgetStore_
* @return {!Promise<!Store>} * @private
src/service/storage-impl.js:121
↓ 2 callersFunctiongetStoryAdMacroTags
(metaTags)
extensions/amp-story-auto-ads/0.1/story-ad-ui.js:100
↓ 2 callersFunctiongetStoryAdMetadataFromElement
(adElement)
extensions/amp-story-auto-ads/0.1/story-ad-ui.js:117
↓ 2 callersMethodgetStoryFromUrl_
* Returns the story given a URL. * @param {string} storyUrl * @return {!StoryDef} * @private
src/amp-story-player/amp-story-player-impl.js:1516
↓ 2 callersMethodgetStoryPageRect_
* Calculates the pageRect based on the UIType_Enum. * We can an use LayoutBox for mobile since the story page occupies entire screen. * Desktop
extensions/amp-story/1.0/page-advancement.js:751
↓ 2 callersMethodgetStrategyResult_
* @return {!StrategyResult} * @private
extensions/amp-auto-ads/0.1/ad-strategy.js:73
↓ 2 callersFunctiongetStylesheetRules
* @param {!Document} doc * @param {string} css * @return {?CSSRuleList}
src/shadow-embed.js:279
↓ 2 callersFunctiongetSubmitButtonUsed
(form)
src/core/dom/form.js:105
↓ 2 callersMethodgetSystemLayerEl_
* Get the system layer element. * @private * @return {HTMLElement}
extensions/amp-story-audio-sticker/0.1/amp-story-audio-sticker.js:149
↓ 2 callersMethodgetTcDataPromises_
* @return {!Promise<Array>}
extensions/amp-consent/0.1/tcf-api-command-manager.js:170
↓ 2 callersFunctiongetTempCookieName
* Return a temporary cookie name for testing only * @param {!Window} win * @return {string}
src/cookies.js:269
↓ 2 callersFunctiongetTemplateClassForTesting
(templates, type)
src/service/template-impl.js:366
↓ 2 callersMethodgetThumbnails
* Find or create thumbnails for lightboxed elements. * Return a list of thumbnails obj for lightbox gallery view * @param {string} lightboxGroup
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:351
↓ 2 callersFunctiongetTiktokBuildOnly
(attrs = {})
extensions/amp-tiktok/0.1/test/test-amp-tiktok.js:46
↓ 2 callersFunctiongetTime
* Calculates and formats the duration for which an AMP task ran. * @param {DOMHighResTimeStamp} start * @return {string}
build-system/task-runner/amp-task-runner.js:39
↓ 2 callersMethodgetTimeAttr_
* @param {!Element} elem * @param {string} attr * @return {time} * @private
extensions/amp-live-list/0.1/amp-live-list.js:973
↓ 2 callersFunctiongetTimeContent
()
extensions/amp-timeago/1.0/test/test-amp-timeago.js:19
↓ 2 callersMethodgetTimeSinceStart_
* @private * @return {number}
extensions/amp-analytics/0.1/activity-impl.js:207
↓ 2 callersMethodgetTop
* @static * @param {Window} win * @return {?Window}
src/core/window/interface.js:12
↓ 2 callersFunctiongetTotalDuration
(requests)
extensions/amp-animation/0.1/runners/utils.js:8
↓ 2 callersMethodgetTracker_
* @param {!JsonObject} config * @return {?EventTracker} * @private
extensions/amp-analytics/0.1/events.js:1268
↓ 2 callersMethodgetTransformVal_
* Creates a number to transfrom the x axis of binary poll text. * @param {number} percentage * @return {number} * @private
extensions/amp-story-interactive/0.1/amp-story-interactive-binary-poll.js:201
↓ 2 callersFunctiongetTransformerDir
* Computes the directory of the transformer used in the test. * * @param {string} inputFile * @return {string}
build-system/tasks/server-tests.js:48
↓ 2 callersFunctiongetTransitionDuration
* Calculates transition duration from vertical distance traveled * @param {number} dy * @return {number}
src/bento/components/bento-accordion/1.0/animations.js:117
↓ 2 callersMethodgetTransitionDuration_
* Calculates transition duration from vertical distance traveled * @param {number} dy * @param {number} maxY * @param {number=} opt_minDur
extensions/amp-accordion/0.1/amp-accordion.js:511
↓ 2 callersFunctiongetTypeConfigOrUndefined
(element)
extensions/amp-social-share/1.0/amp-social-share.js:35
↓ 2 callersMethodgetUIType_
* Retrieves the UI type that should be used to view the story. * @return {!UIType_Enum} * @private
extensions/amp-story/1.0/amp-story.js:1944
↓ 2 callersFunctiongetURL
* @param {!Object} data * @return {string}
ads/vendors/a9.js:97
↓ 2 callersFunctiongetUnminifiedConfig
* Gets the config for babel transforms run during `amp build`. * * @param {'preact' | 'react'} buildFor * @param {!Object=} opt_replacePluginOverri
build-system/babel-config/unminified-config.js:14
↓ 2 callersMethodgetUpgradeDelayMs
* Time delay imposed by baseElement upgradeCallback. If no * upgradeCallback specified or not yet executed, delay is 0. * @return {number}
src/service/resource.js:413
↓ 2 callersFunctiongetUrlPrefix
* @param {express.Request} req * @return {string}
build-system/server/app.js:1534
↓ 2 callersMethodgetUrlService_
* @return {!../../../src/service/url-impl.Url} * @private
extensions/amp-install-serviceworker/0.1/amp-install-serviceworker.js:235
↓ 2 callersMethodgetUsableTarget_
* Returns usable target. If it can dock to a `slot` element that's larger * than zero width/height, it calculates a letterboxed rectangle that matc
extensions/amp-video-docking/0.1/amp-video-docking.js:1695
↓ 2 callersMethodgetUserAgent
* @static * @param {Window} win * @return {string}
src/core/window/interface.js:48
↓ 2 callersMethodgetUserLanguage
* @static * @param {Window} win * @return {string}
src/core/window/interface.js:57
↓ 2 callersFunctiongetUserLogger
* Getter for user logger * @param {string=} suffix * @return {!Log}
src/utils/log.js:587
↓ 2 callersFunctiongetUuid
* Generates a RFC 4122 V4 UUID. Ex: "92329D39-6F5C-4520-ABFC-AAB64544E172" * The first 8 digits are unique for the millisecond of the month. The res
third_party/subscriptions-project/swg.js:3288
↓ 2 callersFunctiongetValue
* Retrieves the key from the object. * Supports dot notation. * Returns undefined if any segment not found. * @example * getValue({ a: 5 }, 'a')
extensions/amp-list/1.0/component.js:57
← previousnext →5,901–6,000 of 18,703, ranked by callers