MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodgetDims
* @return {!Promise<!StoryAnimationDimsDef>} * @visibleForTesting
extensions/amp-story/1.0/animation.js:205
↓ 1 callersMethodgetDistanceFromAd_
* @param {number} yPosition * @param {!Element} ad * @return {!Promise<number>} The absolute value of the minimum vertical * distance fro
extensions/amp-auto-ads/0.1/ad-tracker.js:125
↓ 1 callersMethodgetDocumentCookie_
* @private * @return {string}
third_party/subscriptions-project/swg.js:18379
↓ 1 callersMethodgetDocumentReferrer
* @static * @param {Window} win * @return {string}
src/core/window/interface.js:30
↓ 1 callersMethodgetDomElement
* Returns the IFrame DOM element. * @return {?Element}
extensions/amp-web-push/0.1/iframehost.js:80
↓ 1 callersMethodgetDomainAffiliateStatus_
* @param {string} domain * @return {string} * @private
extensions/amp-skimlinks/0.1/affiliate-link-resolver.js:181
↓ 1 callersFunctiongetDriver
* Get the driver for the configured engine. * @param {!DescribesConfigDef} describesConfig * @param {BrowserNameDef} browserName * @param {string|u
build-system/tasks/e2e/describes-e2e.js:643
↓ 1 callersMethodgetDuration
@override
extensions/amp-vimeo/0.1/amp-vimeo.js:302
↓ 1 callersMethodgetDwellTime
* Returns dwell time. * * @return {number}
extensions/amp-addthis/0.1/addthis-utils/monitors/dwell-monitor.js:35
↓ 1 callersMethodgetEditName_
* Retrieve edit name. * @return {string} * @private
extensions/amp-smartlinks/0.1/linkmate.js:161
↓ 1 callersFunctiongetEffectiveLayout
(element)
src/core/static-layout.js:210
↓ 1 callersMethodgetElement
@override
extensions/amp-story/1.0/amp-story.js:2360
↓ 1 callersMethodgetElementDistance
* @param {!Element} unusedElement The element whose distance should be * retrieved. * @return {number} A numerical distance representing how
extensions/amp-story/1.0/media-pool.js:1088
↓ 1 callersFunctiongetElementNodeTree
* Returns the node tree of the current element starting from * the document root * @param {?Element} el * @return {Array} node list of the element'
extensions/amp-analytics/0.1/opacity.js:63
↓ 1 callersFunctiongetElementOpacity
* Returns the Opacity value of the element. * @param {!Element} el * @return {number}
extensions/amp-analytics/0.1/opacity.js:35
↓ 1 callersMethodgetElementRect
* @param {!ElementHandle<!WebElement>} handle * @return {!Promise<!DOMRectDef>}
build-system/tasks/e2e/selenium-webdriver-controller.js:372
↓ 1 callersMethodgetElementScrollTop_
* @param {!Element} element * @return {!Promise<number>}
src/service/viewport/viewport-impl.js:613
↓ 1 callersFunctiongetElementServicePromiseOrNull
* Returns the promise for service with `id` on the given window if available. * Otherwise, resolves with null (service was not registered). * @param
src/element-service.js:175
↓ 1 callersMethodgetElementSignal
@override
extensions/amp-analytics/0.1/events.js:958
↓ 1 callersMethodgetElementVisibility
@override
extensions/amp-analytics/0.1/visibility-manager.js:717
↓ 1 callersMethodgetElement_
* @param {string} selector * @param {?string} selectionMethod * @return {!Element} * @private
extensions/amp-animation/0.1/web-animations.js:1257
↓ 1 callersFunctiongetElements
* @param {!Object|!Array} poolOrPools * @return {!Array<!HTMLMediaElement>}
extensions/amp-story/1.0/test/test-media-pool.js:75
↓ 1 callersMethodgetElementsByQuerySelectorAll_
* @param {!Array<string>} selectors Array of DOM query selectors. * @param {boolean} useDataVars Indicator if DataVars restristiction should be app
extensions/amp-analytics/0.1/analytics-root.js:230
↓ 1 callersMethodgetElementsForLightboxGroup
* Return a list of lightboxable elements * @param {string} lightboxGroupId * @return {!Promise<!Array<!Element>>}
extensions/amp-lightbox-gallery/0.1/service/lightbox-manager-impl.js:302
↓ 1 callersMethodgetElementsOnDockArea_
* @param {!VideoOrBaseElementDef} video * @return {!Array<!Element>} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:1097
↓ 1 callersMethodgetElementsSizes_
* Cache the rects of each of the elements. * @return {!Promise<!Array<!ClientRect>>} * @private
extensions/amp-selector/0.1/amp-selector.js:680
↓ 1 callersFunctiongetEmbedContainer
* Create DOM element for the Facebook embedded content plugin. * @param {!Window} global * @param {!Object} data The element data * @param {string}
3p/facebook.js:168
↓ 1 callersMethodgetEmbedOverrides_
* Retrieves the embed mode config, that will override the default state. * @return {!{[key: StateProperty]: *}} Partial state * @protected
extensions/amp-story/1.0/amp-story-store-service.js:660
↓ 1 callersFunctiongetEmbedType
()
3p/frame-metadata.js:133
↓ 1 callersMethodgetEmbedUrl_
* @return {string} * @private
extensions/amp-youtube/0.1/amp-youtube.js:153
↓ 1 callersFunctiongetEmbeddedWidgetContainer
* Create DOM element for the Yotpo Embedded Widget plugin: * @param {!Window} global * @param {!Object} data The element data * @return {!Element}
3p/yotpo.js:182
↓ 1 callersFunctiongetEmbedly
* Loads embedly card SDK that is consumed by this 3p integration. * * @param {!Window} global * @param {function()} callback * @visibleForTesting
3p/embedly.js:51
↓ 1 callersMethodgetEncType_
* Gets and validates an attribute for form request encoding type. * @param {string} attribute * @return {?string} * @private
extensions/amp-form/0.1/amp-form.js:262
↓ 1 callersMethodgetEncryptedKeys
* This method is used for testing. * @return {?JsonObject}
extensions/amp-subscriptions/0.1/crypto-handler.js:55
↓ 1 callersFunctiongetEndpoint
* Helper function to get endpoint string based on how tag is configured. * * @param {!Object} data * @return {string}
ads/vendors/revcontent.js:62
↓ 1 callersFunctiongetEngData
(params)
extensions/amp-addthis/0.1/addthis-utils/eng.js:14
↓ 1 callersMethodgetEntitlementForSource
* Returns the first matching entitlement for the specified source w/o * matching any specific products. * @param {string} source * @return {?
third_party/subscriptions-project/swg.js:4459
↓ 1 callersMethodgetEntitlements
@override
third_party/subscriptions-project/swg.js:19234
↓ 1 callersMethodgetEntitlementsFlow_
* @param {!GetEntitlementsParamsExternalDef=} params * @return {!Promise<!Entitlements>} * @private
third_party/subscriptions-project/swg.js:12746
↓ 1 callersMethodgetEntries_
* @param {PerformanceMethods} networkMethod * @return {Promise<*>}
build-system/tasks/e2e/network-logger.js:27
↓ 1 callersFunctiongetEntryPointModule
* Returns a single module that contains a list of entry points to these files: * - extensions/{$extension}/{$version}/{$extension}.js * - src/amp.js
build-system/tasks/dep-check.js:159
↓ 1 callersFunctiongetEnvironmentHash
@return {Promise<string>}
build-system/tasks/css/jsify-css.js:53
↓ 1 callersMethodgetEpoch_
* @return {number|undefined} * @private
extensions/amp-date-display/0.1/amp-date-display.js:174
↓ 1 callersMethodgetError
* @return {?string}
third_party/subscriptions-project/swg.js:1570
↓ 1 callersMethodgetEstimatedPositionFromAnchorLayout_
* @param {!../../../src/layout-rect.LayoutRectDef} anchorLayout * @return {number} * @private
extensions/amp-auto-ads/0.1/placement.js:155
↓ 1 callersMethodgetEvent
* @return {?AnalyticsEvent}
third_party/subscriptions-project/swg.js:815
↓ 1 callersFunctiongetEventData
* Returns the event data as an object, or null * @param {{ data: object | string }} ev * @return {object|null}
src/bento/components/bento-imgur/1.0/component.js:77
↓ 1 callersMethodgetEventManager
* This one exists as a public API so publishers can subscribe to SwG events. * @override
third_party/subscriptions-project/swg.js:19513
↓ 1 callersFunctiongetEventParams
* @param {string} sku * @return {!EventParams}
third_party/subscriptions-project/swg.js:6275
↓ 1 callersFunctiongetEventualUrl
* Given an anchor tag, figure out whether this goes to an AMP destination * via a redirect. * @param {!Element} a An anchor tag. * @return {string|
ads/alp/handler.js:120
↓ 1 callersFunctiongetExcludedDomains_
* * @param {!Element} element * @param {!Array<string>} internalDomains * @return {!Array<string>}
extensions/amp-skimlinks/0.1/skim-options.js:46
↓ 1 callersMethodgetExistingCloseButton_
* Gets a close button, provided by the page author, if one exists. * @return {?Element} The close button. * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:656
↓ 1 callersMethodgetExistingCloseButton_
* Gets a close button, provided by the page author, if one exists. * @return {?Element} The close button.
extensions/amp-sidebar/0.2/amp-sidebar.js:320
↓ 1 callersMethodgetExistingCloseButton_
* Gets a close button, provided by the page author, if one exists. * @return {?Element} The close button.
extensions/amp-sidebar/0.1/amp-sidebar.js:322
↓ 1 callersFunctiongetExistingIssuesWithSessionDate
* @param {string} token * @param {string} repo * @param {Array<string>} labels * @return {Promise<Array<IssueWithSessionDateDef>>}
build-system/common/update-session-issues/index.js:419
↓ 1 callersFunctiongetExpectedOutput
* Extracts the expected output for a test from its output file. * * @param {string} inputFile * @return {Promise<string>}
build-system/tasks/server-tests.js:79
↓ 1 callersFunctiongetExperimentConstant
* Get experiment constant to define from command line arguments, if any * * @return {string|undefined}
build-system/babel-config/helpers.js:13
↓ 1 callersFunctiongetExperimentGlobals
* Dynamically extracts experiment globals from the config file. * * @return {!Object}
.eslintrc.js:18
↓ 1 callersMethodgetExternalCid_
* Returns the "external cid". This is a cid for a specific purpose * (Say Analytics provider X). It is unique per user, userAssert, that purpose
src/service/cid-impl.js:226
↓ 1 callersFunctiongetFacebookSdk
* Produces the Facebook SDK object for the passed in callback. * * Note: Facebook SDK fails to render multiple plugins when the SDK is only * loade
3p/facebook.js:31
↓ 1 callersFunctiongetFakeSource
* @param {number} index * @return {!Element}
extensions/amp-story/1.0/test/test-media-tasks.js:128
↓ 1 callersMethodgetFallback
* Returns an optional fallback element for this custom element. * @return {?Element} * @package @final
src/custom-element.js:1962
↓ 1 callersMethodgetFetchingPromise
* For an "amp-state" with a src attribute, this returns a promise that * resolves after the fetch and update completes. For non-src "amp-state"s,
extensions/amp-bind/0.1/amp-state.js:226
↓ 1 callersMethodgetFieBody_
* @param {!../../../src/friendly-iframe-embed.FriendlyIframeEmbed} friendlyIframeEmbed * @return {!Element}
extensions/amp-a4a/0.1/amp-a4a.js:2045
↓ 1 callersFunctiongetFileBabelOptions
* @param {!Object} babelOptions * @param {string} filename * @return {!Object}
build-system/common/esbuild-babel.js:233
↓ 1 callersFunctiongetFileGroups
* Separates the list of files to check into groups based on their AMP formats. * @param {Array<string>} filesToCheck * @return {Promise<Object>}
build-system/tasks/validate-html-fixtures.js:64
↓ 1 callersFunctiongetFilesChanged
* Gets the list of files changed on the current branch that match the given * array of glob patterns using the given options. * * @param {!Array<st
build-system/common/utils.js:51
↓ 1 callersFunctiongetFingerprint
* Generates a semi-unique value for page visitor. * @return {string}
extensions/amp-analytics/0.1/linker.js:125
↓ 1 callersFunctiongetFingerprint
* Generates a semi-unique value for page visitor. * @return {string}
extensions/amp-consent/0.1/linker.js:125
↓ 1 callersFunctiongetFirefoxArgs
* Configure firefox args. * * @param {!SeleniumConfigDef} config * @return {!Array<string>}
build-system/tasks/e2e/describes-e2e.js:178
↓ 1 callersFunctiongetFormProxyConstr
* @param {!Window} win * @return {function(new:Object, !HTMLFormElement)}
extensions/amp-form/0.1/form-proxy.js:48
↓ 1 callersFunctiongetFragmentId
(url)
extensions/amp-addthis/0.1/addthis-utils/fragment.js:60
↓ 1 callersMethodgetFragmentParamData_
* Return the FRAGMENT_PARAM from the original location href * @param {*} param * @param {string} defaultValue * @return {string} * @privat
src/service/url-replacements-impl.js:744
↓ 1 callersFunctiongetFrameAttributes
* Produces the attributes for the ad template. * @param {!Window} parentWindow * @param {!AmpElement} element * @param {string=} opt_type * @param
src/3p-frame.js:33
↓ 1 callersFunctiongetFrameDoc
(iframe)
extensions/amp-story-auto-ads/0.1/utils.js:51
↓ 1 callersFunctiongetFrontmatter
* @param {string} content * @return {?string}
build-system/tasks/markdown-toc/index.js:36
↓ 1 callersMethodgetFullWidthHeight_
* Calculates the appropriate width for a responsive full width ad unit. * @param {number} width * @param {number} maxHeight * @return {number
extensions/amp-ad/0.1/amp-ad-3p-impl.js:505
↓ 1 callersFunctiongetFullWidthSignalVisitor
* Returns a Dom visitor callback that will compute the 'fws' request * parameter. * @param {function(!FULL_WIDTH_SIGNALS): undefined} setSignal Call
extensions/amp-ad-network-doubleclick-impl/0.1/flexible-ad-slot-utils.js:77
↓ 1 callersFunctiongetFullWidthSignalVisitor
* Returns a Dom visitor callback that will compute the 'fws' request * parameter. * @param {function(!FULL_WIDTH_SIGNALS): undefined} setSignal Call
extensions/amp-ad-network-valueimpression-impl/0.1/flexible-ad-slot-utils.js:77
↓ 1 callersMethodgetGaaUser_
* Returns the GAA user, after the user signs in. * @private * @nocollapse * @return {!Promise<!GoogleUserDef>}
third_party/subscriptions-project/swg-gaa.js:2239
↓ 1 callersMethodgetGeo_
* Resolves the value via geo service. * @param {function(!../../extensions/amp-geo/0.1/amp-geo.GeoDef)} getter * @param {string} expr * @retu
src/service/url-replacements-impl.js:784
↓ 1 callersFunctiongetGistJs
* Get the correct script for the gist. * * Use writeScript: Failed to execute 'write' on 'Document': It isn't possible * to write into a document f
3p/github.js:16
↓ 1 callersFunctiongetGithubIssues
* @param {string} token * @param {string} repo * @param {Array<string>} labels * @return {Promise<Object>}
build-system/common/update-session-issues/index.js:197
↓ 1 callersFunctiongetGraphqlIssueId
* @param {string} token * @param {string} repo * @param {number|string} number * @return {Promise<string>}
build-system/common/update-session-issues/index.js:210
↓ 1 callersFunctiongetHTMLElementContentRect
* Calculates content rectangle of provided HTMLElement. * * @param {HTMLElement} target - Element for which to calculate the content rectang
third_party/resize-observer-polyfill/ResizeObserver.js:230
↓ 1 callersFunctiongetHTMLElementContentRect
* Calculates content rectangle of provided HTMLElement. * * @param {HTMLElement} target - Element for which to calculate the content rectang
third_party/resize-observer-polyfill/ResizeObserver.install.js:229
↓ 1 callersMethodgetHead
@override
extensions/amp-subscriptions/0.1/doc-impl.js:40
↓ 1 callersMethodgetHead
@override
third_party/subscriptions-project/swg-gaa.js:1371
↓ 1 callersMethodgetHeight
@override
src/service/viewport/viewport-impl.js:343
↓ 1 callersFunctiongetHelperIframe
* Returns the iframe in this testing AMP iframe that partially matches the * URL set in the test config. Partial matches are possible only since
extensions/amp-web-push/0.1/test/test-web-push-permission-dialog.js:33
↓ 1 callersMethodgetHiddenInputId_
* Generate a name for a hidden input. * Date pickers not in a form don't need named hidden inputs. * @param {!Element} form * @param {!DateFi
extensions/amp-date-picker/0.1/amp-date-picker.js:897
↓ 1 callersFunctiongetHistoryLength
* @param {!Window} win * @return {number}
ads/google/a4a/utils.js:412
↓ 1 callersFunctiongetHistoryLength
* @param {!Window} win * @return {number}
extensions/amp-ad-network-valueimpression-impl/0.1/amp-ad-network-valueimpression-impl.js:391
↓ 1 callersMethodgetHostWindow_
* Calculate the hostWindow * @private * @return {!Window}
3p/ampcontext.js:388
↓ 1 callersMethodgetHostingPageUrl_
* Returns the hosting page url. * * @private * @return {string} The hosting page url
third_party/subscriptions-project/swg.js:16676
↓ 1 callersMethodgetHotPatchCountry_
* @return {string} * @private
extensions/amp-geo/0.1/amp-geo.js:172
↓ 1 callersFunctiongetHrefWithoutHost
({host, href, protocol})
build-system/server/app-utils.js:92
↓ 1 callersMethodgetIFrameSrc_
* @return {Promise} * @private
extensions/amp-vk/0.1/amp-vk.js:69
↓ 1 callersMethodgetIdleRenderEnabled_
* @return {number|boolean} render on idle configuration with false * indicating disabled. * @private
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:357
↓ 1 callersFunctiongetIframe
(src)
test/unit/test-intersection-observer-polyfill.js:35
← previousnext →8,801–8,900 of 18,703, ranked by callers