MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctiongetIframe
(src)
extensions/amp-ad/0.1/test/test-legacy-ad-intersection-observer-host.js:32
↓ 1 callersMethodgetIframeClickString
* Returns array of clicked iframes * * @return {string}
extensions/amp-addthis/0.1/addthis-utils/monitors/click-monitor.js:85
↓ 1 callersMethodgetIframeContext_
* @return {Promise<Object|undefined>} * @private
extensions/amp-ima-video/0.1/amp-ima-video.js:188
↓ 1 callersMethodgetIframeMessagingClient
* Gets the IframeMessagingClient. * @return {!IframeMessagingClient} * @visibleForTesting
3p/iframe-transport-client.js:108
↓ 1 callersFunctiongetIframeName
(url)
extensions/amp-addthis/0.1/addthis-utils/pixel.js:69
↓ 1 callersMethodgetIframeNameString_
* Return unique name with the appropriate prefix. * This name is defined by tiktok but is not documented on their site. * @private * @return
extensions/amp-tiktok/0.1/amp-tiktok.js:328
↓ 1 callersMethodgetIframeOrigin_
* Returns the payframe origin based on the environment. * * @return {string} * @private
third_party/subscriptions-project/swg.js:15587
↓ 1 callersMethodgetIframeSrc_
@private
extensions/amp-dailymotion/0.1/amp-dailymotion.js:237
↓ 1 callersMethodgetIframeSrc_
@return {string}
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:102
↓ 1 callersMethodgetIframeUrl
* Returns the iframe pwg url to be used to be used for amp. * * @param {string} environment * @param {string} origin * @return {string} Th
third_party/subscriptions-project/swg.js:16695
↓ 1 callersMethodgetIframeUrl_
* Returns the payframe URL based on the environment. * * @param {string} origin The origin that is opening the payframe. * @param {string|nul
third_party/subscriptions-project/swg.js:15605
↓ 1 callersMethodgetImage
* @static * @param {Window} win * @return {typeof Image}
src/core/window/interface.js:98
↓ 1 callersMethodgetImage
* Returns the boundaries of the image element. * @return {?Element}
extensions/amp-image-viewer/0.1/amp-image-viewer.js:235
↓ 1 callersMethodgetImageBoxWithOffset
* Returns the boundaries of the image element with the offset if it was * moved by a gesture. * @return {!../../../src/layout-rect.LayoutRectDef
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:172
↓ 1 callersMethodgetImageBoxWithOffset
* Returns the boundaries of the image element with the offset if it was * moved by a gesture. * @return {?../../../src/layout-rect.LayoutRectDef
extensions/amp-image-viewer/0.1/amp-image-viewer.js:244
↓ 1 callersFunctiongetImgurSrc
* Returns the imgur URL * @param {string} imgurId * @return {string}
src/bento/components/bento-imgur/1.0/component.js:98
↓ 1 callersFunctiongetImportCode
* @param {Set<string>} validatorFns * @return {string}
build-system/compile/json-schema/index.js:152
↓ 1 callersFunctiongetImportMap
(node)
build-system/eslint-rules/no-duplicate-import.js:19
↓ 1 callersFunctiongetInOb
* @param {Window} win * @return {IntersectionObserver}
src/core/dom/layout/intersection-no-root.js:26
↓ 1 callersFunctiongetInOb
* @param {Window} win * @return {IntersectionObserver}
src/core/dom/layout/intersection.js:18
↓ 1 callersFunctiongetIncident
* Get unresolved incident by cherry-pick issue number * @return {Promise<Object>}
build-system/status-page/incident.js:74
↓ 1 callersFunctiongetInitAdScript
* @param {!Window} global * @param {!Object} data * @return {?Node}
ads/vendors/runative.js:79
↓ 1 callersFunctiongetInitAdScript
* @param {!Window} global * @param {!Object} data * @return {?Node}
ads/vendors/trafficstars.js:87
↓ 1 callersFunctiongetInitAdScript
* @param {!Window} global * @param {!Object} data * @return {?Node}
ads/vendors/sabavision.js:52
↓ 1 callersFunctiongetInitData
* @param {!Object} data * @return {JsonObject}
ads/vendors/runative.js:45
↓ 1 callersFunctiongetInitData
* @param {!Object} data * @return {JsonObject}
ads/vendors/trafficstars.js:51
↓ 1 callersMethodgetInitialGeometry
* Returns the initialGeometry to assign to the name of the safeframe * for rendering. This needs to be done differently than all the other * geo
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:272
↓ 1 callersMethodgetInitialIndex_
* @return {number} The initial index for the carousel. * @private
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:455
↓ 1 callersMethodgetInitialIndex_
* @return {number} The initial index for the carousel. * @private
extensions/amp-base-carousel/0.1/amp-base-carousel.js:600
↓ 1 callersFunctiongetInitialNoneValues
* Gets the initial values of an Element's animation state. * For time-based animations, auto is equivalent to a value of 0s. * * @param {boolean} i
testing/helpers/service.js:97
↓ 1 callersMethodgetInitialState_
* Get the initial value for properties that change during the lifetime of * the AMP element. * @return {!JsonObject}
extensions/amp-date-picker/0.1/amp-date-picker.js:802
↓ 1 callersMethodgetInitialViewHeight
* Returns the initial height of viewport. * * @return {number}
extensions/amp-addthis/0.1/addthis-utils/monitors/scroll-monitor.js:45
↓ 1 callersMethodgetInlineConfig_
* @private * @return {!JsonObject}
extensions/amp-analytics/0.1/config.js:371
↓ 1 callersMethodgetInlineConfig_
* Reads the inline config from the element. * @return {?*} Config JSON object, or null if no inline config specified. * @private
extensions/amp-next-page/0.1/amp-next-page.js:164
↓ 1 callersMethodgetInlineConfig_
* @param {!Element} child * @return {!JsonObject}
extensions/amp-story-auto-ads/0.1/story-ad-config.js:89
↓ 1 callersMethodgetInlineConfig_
* Read the inline config from publisher * @return {?JsonObject}
extensions/amp-consent/0.1/consent-config.js:257
↓ 1 callersMethodgetInlineData_
* Reads the 'items' data from the child <script> element. * For use with static local data. * @param {!Element} script * @return {!Array<!Jso
src/bento/components/bento-autocomplete/1.0/base-element.js:22
↓ 1 callersMethodgetInlineData_
* Reads the 'items' data from the child <script> element. * For use with static local data. * @param {!Element} script * @return {!Array<!Jso
extensions/amp-autocomplete/0.1/amp-autocomplete.js:398
↓ 1 callersFunctiongetInput
* Extracts the input for a test from its input file. * * @param {string} inputFile * @return {Promise<string>}
build-system/tasks/server-tests.js:26
↓ 1 callersMethodgetInputmask_
* Require and configure the Inputmask dependency. * @param {!Element} element * @return {function(!Object):!Inputmask} * @private visible for
extensions/amp-inputmask/0.1/mask-impl.js:96
↓ 1 callersFunctiongetInstance
* Provided a URL or a filename from which to fetch the validator_wasm.js * file, fetches, instantiates, and caches the validator instance * asynchro
validator/js/nodejs/index.js:288
↓ 1 callersFunctiongetInternalDomains_
* * @param {?../../../src/service/document-info-impl.DocumentInfoDef} docInfo * @return {!Array<string>}
extensions/amp-skimlinks/0.1/skim-options.js:124
↓ 1 callersMethodgetIntersectionElementLayoutBox
* Returns the layout rectangle used for when calculating this element's * intersection with the viewport. * @return {!./layout-rect.LayoutRectDe
src/base-element.js:838
↓ 1 callersFunctiongetIntersectionRatioMinAutoplay
* @param {!Element} element * @return {!Promise<number>}
extensions/amp-video-iframe/1.0/amp-video-iframe.js:25
↓ 1 callersMethodgetInterval
@override
extensions/amp-live-list/0.1/amp-live-list.js:692
↓ 1 callersMethodgetIntervalFromExpId_
* Map branches to the interval from experiment branch. * @param {string} branchId * @return {number}
extensions/amp-story-auto-ads/0.1/algorithm-predetermined.js:131
↓ 1 callersFunctiongetInvalidType
* Returns invalid error type on the input. * @see https://developer.mozilla.org/en-US/docs/Web/API/ValidityState * @param {!Element} input * @retur
extensions/amp-form/0.1/form-validators.js:569
↓ 1 callersMethodgetInvalidType_
* Wraps the validity type for inputs to support pattern on <textarea> * @param {!Element} input * @param {string=} inputInvalidType * @return
extensions/amp-form/0.1/form-validators.js:330
↓ 1 callersMethodgetIsClicked
* @return {?boolean}
third_party/subscriptions-project/swg.js:1980
↓ 1 callersFunctiongetIsFluid
(impls)
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:325
↓ 1 callersMethodgetIsFromUserAction
* @return {?boolean}
third_party/subscriptions-project/swg.js:729
↓ 1 callersMethodgetIsUserRegistered
* @return {?boolean}
third_party/subscriptions-project/swg.js:1465
↓ 1 callersFunctiongetItemElement
( element: HTMLElement | null )
src/bento/components/bento-autocomplete/1.0/component/helpers.ts:3
↓ 1 callersMethodgetItemElement_
* Returns the nearest ancestor element that is a suggested item. * @param {?Element} element * @return {?Element} * @private
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1040
↓ 1 callersMethodgetItemsForWidth_
* Determines how many whole items in addition to the current peek value can * fit for a given item width. This can be rounded up or down to satisfy
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:468
↓ 1 callersFunctiongetItemsFromPage
* * @param {object} pageData * @param {string} itemsKey * @return {*}
extensions/amp-list/1.0/component.js:82
↓ 1 callersFunctiongetJsFilesFor
* Retrieves the set of JS source files that import the given CSS file. * * @param {string} cssFile * @param {!{[key: string]: string}} cssJsFileMap
build-system/tasks/runtime-test/helpers-unit.js:121
↓ 1 callersFunctiongetJscodeshiftReport
* @param {string} line * @return {?Array<string>} [filename, report]
build-system/test-configs/jscodeshift/index.js:33
↓ 1 callersFunctiongetJsonLd
(root)
extensions/amp-video-iframe/0.1/amp-video-iframe.js:87
↓ 1 callersMethodgetJsonLd_
* @param {!Node} root * @return {?JsonObject}
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:134
↓ 1 callersFunctiongetJsonObject_
* Requests groups of pixels at specified delays * @param {(?JsonObject|string|undefined|null)} object * @return {!JsonObject}
extensions/amp-addthis/0.1/addthis-utils/pixel.js:145
↓ 1 callersMethodgetJwplayer_
* Checks comformity for opt_player, or obtains global singleton instance. * @param {?JwplayerPartialInterfaceDef=} opt_player * @return {!Jwplay
src/video-iframe-integration.js:209
↓ 1 callersMethodgetJwt
* @return {?string}
third_party/subscriptions-project/swg.js:1062
↓ 1 callersFunctiongetKeyboardEventInit
* @param {!Event} e * @return {!JsonObject}
extensions/amp-viewer-integration/0.1/keyboard-handler.js:130
↓ 1 callersMethodgetKeyframeOptions_
* @param {!Element} el * @return {!{[key: string]: *}} * @private
extensions/amp-story/1.0/animation.js:816
↓ 1 callersMethodgetLabelList
* @return {!Array<string>}
third_party/subscriptions-project/swg.js:576
↓ 1 callersFunctiongetLanguageCodeFallbacks
* Finds fallback language codes for the current language code. * @param {string} languageCode the language code to get fallbacks for * @return {stri
build-system/tasks/build-story-localization.js:22
↓ 1 callersFunctiongetLanguageCodeFromElement
* Gets a language code (ex: "en-US") from a given Element. * @param {!Element} element * @return {string}
third_party/subscriptions-project/swg.js:8688
↓ 1 callersFunctiongetLanguageStrings
* Reads the language files found in amp-story and stores it in a * Object. * @return {Promise<Object>}
build-system/tasks/build-story-localization.js:47
↓ 1 callersFunctiongetLargerAdOneColumnSidebysideSize
* @param {number} availableWidth * @param {!LayoutType} layoutType * @param {number} numColumns * @param {number} numRows * @return {{width: numbe
ads/google/a4a/shared/content-recommendation.js:470
↓ 1 callersFunctiongetLastExpectError
* Retrieves the expected error state. * @return {?Error}
build-system/tasks/e2e/expect.js:20
↓ 1 callersMethodgetLastRequestUrl
()
testing/helpers/service.js:395
↓ 1 callersMethodgetLastVisibleTime
* Passthrough for ampdoc visibility state. Only to be used by viewer * integration. * @restricted * TODO(#22733): remove if no longer used by
src/service/viewer-impl.js:498
↓ 1 callersFunctiongetLayoutCallback
(impl, creative, isSra, noRender)
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-sra.js:605
↓ 1 callersMethodgetLayoutMargins_
* Returns the layout margins for the resource. * @param {!Resource} resource * @return {!../layout-rect.LayoutMarginsDef} * @private
src/service/mutator-impl.js:161
↓ 1 callersFunctiongetLegacyStoredConsentInfo
* Convert the legacy boolean stored value to consentInfo object * @param {boolean} value * @return {!ConsentInfoDef}
extensions/amp-consent/0.1/consent-info.js:280
↓ 1 callersFunctiongetLightboxElements
* @param {!Document} document * @param {function(number)} open * @return {!Array<PreactDef.Renderable>}
src/bento/components/bento-lightbox-gallery/1.0/base-element.js:127
↓ 1 callersFunctiongetLikeContainer
* Create DOM element for the Facebook like-button plugin: * Reference: https://developers.facebook.com/docs/plugins/like-button * @param {!Window} g
3p/facebook.js:148
↓ 1 callersFunctiongetLinkAttribute_
* What attribute the outbound link variable is stored in an anchor. * @param {!Element} element * @return {string} * @private
extensions/amp-smartlinks/0.1/linkmate-options.js:53
↓ 1 callersFunctiongetLinkRels
* Returns a map object of link tag relations in document head. * Key is the link rel, value is a list of corresponding hrefs. * @param {!Document} d
src/service/document-info-impl.js:121
↓ 1 callersFunctiongetLinkSelector_
* Selector used to get all links that are meant to be monetized. * @param {!Element} element * @return {string} * @private
extensions/amp-smartlinks/0.1/linkmate-options.js:65
↓ 1 callersFunctiongetLinkSelector_
* * @param {!Element} element * @return {?string}
extensions/amp-skimlinks/0.1/skim-options.js:113
↓ 1 callersMethodgetLinkmateOptions_
* API call to retrieve the Narrativ config for this extension. * API response will be a list containing nested json values. For the purpose * of
extensions/amp-smartlinks/0.1/amp-smartlinks.js:116
↓ 1 callersMethodgetLinksInDOM_
* Get the list of anchors element in the page. * (Based on linkSelector option) * @return {!Array<!HTMLElement>} * @private
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter.js:230
↓ 1 callersFunctiongetListContainer
(controller)
extensions/amp-list/0.1/test-e2e/test-function-src.js:55
↓ 1 callersFunctiongetListItems
(controller)
extensions/amp-list/0.1/test-e2e/test-function-src.js:59
↓ 1 callersFunctiongetListRegExp
()
build-system/tasks/check-video-interface-list.js:45
↓ 1 callersFunctiongetListenForEvents
* Returns an mapping of event names to listenFor listeners. * @param {?Window} parentWin the window that created the iframe * @param {string} sentin
src/iframe-helper.js:104
↓ 1 callersFunctiongetListenFors
* Returns a mapping from a URL's origin to an array of windows and their * listenFor listeners. * @param {?Window} parentWin the window that created
src/iframe-helper.js:34
↓ 1 callersFunctiongetListing
* @param {string} rootPath * @param {string} basepath * @return {Promise<null|undefined|string[]>}
build-system/server/app-index/util/listing.js:20
↓ 1 callersFunctiongetLiveBlogItem
* @return {string}
build-system/server/app.js:700
↓ 1 callersFunctiongetLiveBlogItemWithBindAttributes
* @return {string}
build-system/server/app.js:760
↓ 1 callersMethodgetLiveChannelId_
* @return {?string} * @private
extensions/amp-youtube/0.1/amp-youtube.js:330
↓ 1 callersMethodgetLiveLists_
* Queries the document for all `amp-live-list` tags. * * @param {!Document} doc * @return {!Array<!Element>} * @private
extensions/amp-live-list/0.1/live-list-manager.js:185
↓ 1 callersMethodgetLoadMoreButtonClickable
* @return {!Element}
extensions/amp-list/0.1/service/load-more-service.js:111
↓ 1 callersMethodgetLoadMoreFailedClickable
* @return {!Element}
extensions/amp-list/0.1/service/load-more-service.js:164
↓ 1 callersFunctiongetLoaderDom
* @param {!AmpElement} element Used to get a document to build HTML with. * @return {!Element} The loader DOM.
extensions/amp-loader/0.1/amp-loader.js:71
↓ 1 callersFunctiongetLoaderServicePromise
* Gets a Promise for the LoaderService, initiating a request to download the * code. * @param {!./ampdoc-impl.AmpDoc} ampDoc * @param {!Element} el
src/service/loader-element.js:10
↓ 1 callersFunctiongetLoaderType
(tagName, attribName)
third_party/caja/html-sanitizer.js:2262
↓ 1 callersMethodgetLoadingView
* Gets the LoadingView for this dialog. * @return {LoadingView}
third_party/subscriptions-project/swg.js:11033
← previousnext →8,901–9,000 of 18,703, ranked by callers