MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 3 callersFunctiongenerateJson
(numberOfItems, pagesLeft)
build-system/server/routes/list.js:51
↓ 3 callersFunctiongenerateMask
(mask, metadata, opts)
third_party/inputmask/inputmask.js:656
↓ 3 callersFunctiongenerateResponseDataFor
(responseCounts)
extensions/amp-story-interactive/0.1/test/test-amp-story-interactive.js:66
↓ 3 callersMethodgenerateToken
* Generates an origin experiment token given a config json. * @param {number} version * @param {!JsonObject} json * @param {!webCrypto.Crypto
src/service/origin-experiments-impl.js:147
↓ 3 callersMethodget
* Get the session for the vendor, checking if it exists or * creating it if necessary. * @param {string|undefined} type * @param {Function=}
extensions/amp-analytics/0.1/session-manager.js:172
↓ 3 callersMethodget
* Retrieve a promise associated to an `amp-user-notification` component * that is resolved when user agrees to the terms. * @param {string} id
extensions/amp-user-notification/0.1/amp-user-notification.js:482
↓ 3 callersMethodget
* Get the local consent state list * @return {!Promise<!ConsentInfoDef>}
extensions/amp-consent/0.1/consent-state-manager.js:486
↓ 3 callersFunctiongetA4AId
(win)
src/inabox/utils.js:37
↓ 3 callersMethodgetAccessReaderId
* Returns the promise that will yield the access READER_ID. * * This is a restricted API. * * @return {?Promise<string>}
extensions/amp-access/0.1/access-vars.js:14
↓ 3 callersMethodgetActionNode_
* For global targets e.g. "AMP", returns the document root. Otherwise, * `target` is an element id and the corresponding element is returned. *
src/service/action-impl.js:547
↓ 3 callersMethodgetActionSource_
* Gets the ActionSource to use for a given ActionTrust_Enum. * @param {!ActionTrust_Enum} trust * @return {!ActionSource} * @private
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:445
↓ 3 callersMethodgetActionSource_
* Gets the ActionSource to use for a given ActionTrust_Enum. * @param {!ActionTrust_Enum} trust * @return {!ActionSource}
extensions/amp-base-carousel/0.1/amp-base-carousel.js:371
↓ 3 callersFunctiongetActiveExperimentBranches
(win)
src/experiments/index.js:355
↓ 3 callersMethodgetAdClientId_
* @return {string} ad client ID for the current ad unit. * @private
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:268
↓ 3 callersMethodgetAdPageById
* @param {string} pageId * @return {StoryAdPage}
extensions/amp-story-auto-ads/0.1/story-ad-page-manager.js:147
↓ 3 callersMethodgetAllLdJsonTypes
* @param {!../../../src/service/ampdoc-impl.AmpDoc} ampdoc * @return {!Array<string>}
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:343
↓ 3 callersMethodgetAllVideos_
* Gets all video elements on this page. * @return {!Array<?Element>} * @private
extensions/amp-story/1.0/amp-story-page.js:1004
↓ 3 callersMethodgetAllowlistForElement_
* Returns a replacement allowlist from elements' data-amp-replace attribute. * @param {!Element} element * @param {!{[key: string]: boolean}=} o
src/service/url-replacements-impl.js:1003
↓ 3 callersFunctiongetAmpFormWithInitialization
(initFromUrl)
extensions/amp-form/0.1/test/test-amp-form.js:3360
↓ 3 callersFunctiongetAmpTwitter
(tweetid)
extensions/amp-twitter/0.1/test/test-amp-twitter.js:21
↓ 3 callersFunctiongetAsyncValueFunction
* Returns a method that resolves the numbers 0 through 6. * @return {function():!Promise<T>} * @template T
test/e2e/test-expect.js:1580
↓ 3 callersFunctiongetAttributeMutationDefaultClass
(value)
extensions/amp-experiment/1.0/test/test-attribute-mutation.js:39
↓ 3 callersFunctiongetAttributeMutationParamsObject
(attributeName, value)
extensions/amp-experiment/1.0/test/test-attribute-mutation.js:27
↓ 3 callersFunctiongetAttributeMutationRecord
()
extensions/amp-experiment/1.0/test/test-mutation.js:35
↓ 3 callersMethodgetAuthResponse
@return {?JsonObject}
extensions/amp-access/0.1/amp-access-source.js:146
↓ 3 callersFunctiongetBackendSpecs
(backendUrl, backendsList)
extensions/amp-story-interactive/0.1/interactive-disclaimer.js:122
↓ 3 callersMethodgetBaseScore
* Returns the base score configured for the platform. * @return {number}
extensions/amp-subscriptions/0.1/subscription-platform.js:88
↓ 3 callersMethodgetBodyElement
@visibleForTesting
src/inabox/inabox-viewport.js:790
↓ 3 callersFunctiongetBrotliBundleSizes
* Get the brotli bundle sizes of the current build after normalizing the RTV number. * * @return {Promise<{[key: string]: number}>} the bundle size
build-system/tasks/bundle-size/index.js:40
↓ 3 callersFunctiongetCallTrackingEl
(config = {})
extensions/amp-call-tracking/0.1/test/test-amp-call-tracking.js:30
↓ 3 callersFunctiongetCanonicalUrl
* Returns the canonical URL from the canonical tag. If the canonical tag is * not present, treat the doc URL itself as canonical. * @param {!../mode
third_party/subscriptions-project/swg.js:5419
↓ 3 callersFunctiongetCenter
(axis, el)
src/bento/components/bento-base-carousel/1.0/dimensions.js:57
↓ 3 callersFunctiongetCenter
(axis, el)
extensions/amp-base-carousel/0.1/dimensions.js:50
↓ 3 callersFunctiongetChildNodes
(element)
extensions/amp-truncate-text/0.1/test/test-amp-truncate-text.js:70
↓ 3 callersMethodgetConsentPolicy
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:209
↓ 3 callersMethodgetContentHeight
@override
src/service/viewport/viewport-impl.js:363
↓ 3 callersMethodgetContext
* @return {?AnalyticsContext}
third_party/subscriptions-project/swg.js:801
↓ 3 callersMethodgetCurrentTime
* Current playback time in seconds at time of trigger. * * This is used for analytics metadata. * * @return {number}
src/video-interface.js:63
↓ 3 callersMethodgetCustomRealTimeConfigMacros_
@override
extensions/amp-ad-network-smartadserver-impl/0.1/amp-ad-network-smartadserver-impl.js:164
↓ 3 callersFunctiongetDateButton
( wrapper, date, getAriaLabel = (date) => format(date, DATE_FORMAT) )
extensions/amp-date-picker/1.0/test/test-helpers.js:8
↓ 3 callersFunctiongetDecisionTaker
(tst)
third_party/inputmask/inputmask.js:803
↓ 3 callersFunctiongetDeepObject
()
test/unit/core/types/object/test-object.js:194
↓ 3 callersFunctiongetDefaultArgs
(config, fn)
src/bento/util/e2e-helpers.js:6
↓ 3 callersFunctiongetDriveViewer
(src, opt_responsive)
extensions/amp-google-document-embed/0.1/test/test-amp-google-document-embed.js:18
↓ 3 callersMethodgetElementDistance
@override
extensions/amp-story/1.0/amp-story.js:2321
↓ 3 callersFunctiongetElementsFromMutationRecordSelector
( document, mutationRecord )
extensions/amp-experiment/1.0/mutation-record.js:61
↓ 3 callersFunctiongetEmbedPin
(pinID, pinAlt, mockResponse)
extensions/amp-pinterest/0.1/test/test-amp-pinterest.js:63
↓ 3 callersMethodgetEmptyExperimentToVariant_
* Function to return an empty experiment to variant * Object. This is useful for type checking in analytics * and disabling all experiments manu
extensions/amp-experiment/1.0/amp-experiment.js:174
↓ 3 callersMethodgetEnabledItems_
Returns all item elements in the results container that do not have the * 'data-disabled' attribute. * @return {!NodeList} * @private
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1239
↓ 3 callersFunctiongetExperimentConfig
* Extracts and validates the config for the given experiment. * @param {string} experiment * @return {?Object}
build-system/common/utils.js:33
↓ 3 callersFunctiongetExperimentToggles
* Returns a set of experiment IDs currently on. * @param {Window} win * @return {ExperimentTogglesMap}
src/experiments/index.js:183
↓ 3 callersFunctiongetExperiments
* Ensures that the experiments have been initialized and returns them. * @param {!Window} win * @return {!Object<string, boolean>}
third_party/subscriptions-project/swg.js:7486
↓ 3 callersFunctiongetFilesFromFileList
* Returns list of files in the comma-separated file named at --filelist. * * @return {Array<string>}
build-system/common/utils.js:101
↓ 3 callersFunctiongetFirstInstanceValue_
* Given array of instances, execute extractFn on each and return first non- * falsey value or null if none are truthy. * @param {!Array<!./amp-ad-ne
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:64
↓ 3 callersFunctiongetFitText
(text, opt_responsive)
extensions/amp-fit-text/0.1/test/test-amp-fit-text.js:29
↓ 3 callersMethodgetFormOrNull_
* @return {?HTMLFormElement}
extensions/amp-autocomplete/0.1/amp-autocomplete.js:376
↓ 3 callersFunctiongetFxTypes
(element)
extensions/amp-fx-collection/0.1/fx-type.js:191
↓ 3 callersMethodgetGaaToken_
* Retrieves the 'gaa_n' parameter from the query string.
third_party/subscriptions-project/swg.js:12566
↓ 3 callersFunctiongetHasOverflow
(element)
extensions/amp-form/0.1/amp-form-textarea.js:164
↓ 3 callersMethodgetHostElement
* The host element of the analytics root. * * @return {?Element} * @abstract
extensions/amp-analytics/0.1/analytics-root.js:101
↓ 3 callersFunctiongetHulu
(eid, opt_responsive)
extensions/amp-hulu/0.1/test/test-amp-hulu.js:18
↓ 3 callersMethodgetId
@return {string}
extensions/amp-story-auto-ads/0.1/story-ad-page.js:143
↓ 3 callersMethodgetIframePositionPromise_
* Retrieve iframe position entry in next animation frame. * @return {*} TODO(#23582): Specify return type * @private
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:536
↓ 3 callersMethodgetIframeTitle
* Returns the amp-ad title attribute or a fallback string. * @return {string} iframe title attribute
extensions/amp-a4a/0.1/amp-a4a.js:2516
↓ 3 callersFunctiongetImgurElement
(imgurId)
extensions/amp-imgur/0.1/test/test-amp-imgur.js:33
↓ 3 callersFunctiongetImportResolverPlugin
* Import resolver Babel plugin configuration. * @param {'preact' | 'react'} buildFor * @return {!Array}
build-system/babel-config/import-resolver.js:100
↓ 3 callersFunctiongetInObConstructorStub
()
test/unit/core/dom/layout/test-intersection-no-root.js:7
↓ 3 callersFunctiongetInObConstructorStub
()
test/unit/core/dom/layout/test-intersection.js:7
↓ 3 callersFunctiongetInaboxUrl
* @param {express.Request} req * @param {string=} extraExperiment * @return {!URL}
build-system/server/routes/a4a-envelopes.js:89
↓ 3 callersMethodgetInitialLayoutBox
* Returns the first measured layout box. * @return {!../layout-rect.LayoutRectDef}
src/service/resource.js:622
↓ 3 callersFunctiongetIns
(gistid, file)
extensions/amp-gist/0.1/test/test-amp-gist.js:18
↓ 3 callersMethodgetIosMajorVersion
* Returns the major ios version in number. * @return {?number}
src/service/platform-impl.js:188
↓ 3 callersMethodgetItemHeading_
* Return the heading of given menu item. * @param {!Element} item * @return {!Element} * @private
extensions/amp-mega-menu/0.1/amp-mega-menu.js:390
↓ 3 callersFunctiongetJsonContents
* Fetches the content of a JSON/JSONC/JSON5 file. * * @param {string} file repo root relative. * @return {any}
build-system/tasks/check-json-schemas.js:17
↓ 3 callersFunctiongetLanguageCodesFromString
(languageCode)
src/service/localization/index.js:55
↓ 3 callersMethodgetLastConsentInstanceInfo
* Get last consent instance stored. * @return {Promise<!ConsentInfoDef>}
extensions/amp-consent/0.1/consent-state-manager.js:177
↓ 3 callersMethodgetLastEnqueueTime
* Last time a task was enqueued. * @return {!time}
src/service/task-queue.js:53
↓ 3 callersFunctiongetLayoutClass
(layout)
src/core/dom/layout/index.js:99
↓ 3 callersFunctiongetLinearRGBValue
(x)
extensions/amp-story/1.0/utils.js:141
↓ 3 callersMethodgetLinkRequested
* @return {?boolean}
third_party/subscriptions-project/swg.js:368
↓ 3 callersFunctiongetListitemAElements
(document)
build-system/server/app-index/test/test-file-list.js:56
↓ 3 callersMethodgetLocalizedString
* @param {!../../../src/service/localization/strings.LocalizedStringId_Enum} id * @return {?string}
extensions/amp-story-auto-ads/0.1/story-ad-localization.js:95
↓ 3 callersMethodgetLocationQueryParameterValue
* Note that location is parsed once on first access and cached. * @param {string} parameterName * @return {string|undefined} parameter value fro
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1900
↓ 3 callersFunctiongetMaskPrefix
(mask)
extensions/amp-inputmask/0.1/inputmask-custom-alias.js:108
↓ 3 callersMethodgetMaxMediaElementCounts
@override
extensions/amp-story/1.0/amp-story.js:2335
↓ 3 callersMethodgetMergedSharedData
* Get shared data of a policy. If multiple consent instances return * sharedData, a merge will be done. For any conflict keys, the value from *
extensions/amp-consent/0.1/consent-policy-manager.js:295
↓ 3 callersMethodgetMetadata
* Returns video's meta data (artwork, title, artist, album, etc.) for use * with the Media Session API * @return {!./mediasession-helper.Metadat
src/video-interface.js:136
↓ 3 callersMethodgetMinimalTcData_
* Create MinimalTCData object. Fill in fields dependent on * command. * @param {?Object} metadata * @param {?Object} sharedData * @param {
extensions/amp-consent/0.1/tcf-api-command-manager.js:219
↓ 3 callersMethodgetModelRotationOnAxis_
* @param {JsonObject} args * @param {string} axisName * @return {number} * @private
3p/3d-gltf/viewer.js:98
↓ 3 callersFunctiongetModernFragment
(url)
extensions/amp-addthis/0.1/addthis-utils/fragment.js:10
↓ 3 callersFunctiongetMowPlayer
(attributes)
extensions/amp-mowplayer/0.1/test/test-amp-mowplayer.js:31
↓ 3 callersFunctiongetNameArgs
(key)
extensions/amp-analytics/0.1/variables.js:535
↓ 3 callersFunctiongetNextArrow
(styles, controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:46
↓ 3 callersFunctiongetNextArrowSlot
(el)
extensions/amp-stream-gallery/0.1/test/test-amp-stream-gallery.js:50
↓ 3 callersMethodgetNonAmpCreativeRenderingMethod
* @param {string=} headerValue Method as given in header. * @return {?XORIGIN_MODE}
extensions/amp-a4a/0.1/amp-a4a.js:2479
↓ 3 callersMethodgetOgType
* @param {!../../../src/service/ampdoc-impl.AmpDoc} ampdoc * @return {string|undefined}
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:322
↓ 3 callersFunctiongetOutput
* Executes the provided command, returning the process object. * @param {string} cmd * @param {?Object=} options * @return {!Object}
build-system/common/process.js:32
↓ 3 callersMethodgetPaddingTop
@override
src/inabox/inabox-viewport.js:159
↓ 3 callersMethodgetPage_
* @private * @return {?Element} the parent amp-story-page
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:372
↓ 3 callersMethodgetPagesByDistance_
* @return {!Array<!Array<string>>} A 2D array representing lists of pages by * distance. The outer array index represents the distance from th
extensions/amp-story/1.0/amp-story.js:2074
← previousnext →4,201–4,300 of 18,703, ranked by callers