MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctioncloseGithubIssue
* @param {string} token * @param {string} repo * @param {string|number} number * @return {Promise<Object>}
build-system/common/update-session-issues/index.js:182
↓ 1 callersFunctioncloseInternal_
* @override
extensions/amp-story-page-attachment/0.1/amp-story-page-attachment.js:566
↓ 1 callersMethodcloseOnEscape_
* Handles closing the lightbox when the ESC key is pressed. * @param {!Event} event * @private
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:917
↓ 1 callersFunctionclosePageAttachment
()
test/unit/test-amp-story-player.js:91
↓ 1 callersFunctionclosePullRequest
* @param {number|string} number * @return {Promise}
build-system/tasks/sweep-experiments/cleanup-branches.js:88
↓ 1 callersMethodcloseShadowRootAsync_
* @param {!ShadowRoot} shadowRoot * @private
src/multidoc-manager.js:541
↓ 1 callersMethodcloseSidebar
()
examples/pwa/pwa.js:178
↓ 1 callersFunctioncloseStaleIssues
* @param {string} token * @param {string} repo * @param {number} sessionDurationHours * @param {Array<IssueWithSessionDateDef>} issuesWithSessionDa
build-system/common/update-session-issues/index.js:436
↓ 1 callersFunctioncloseStalePinUpcoming
* @param {string} token * @param {string} repo * @param {number} sessionDurationHours * @param {Array<IssueWithSessionDateDef>} existing * @return
build-system/common/update-session-issues/index.js:471
↓ 1 callersFunctionclose_
()
extensions/amp-story-page-attachment/0.1/amp-story-page-attachment.js:547
↓ 1 callersMethodclose_
* Closes the dialog. * @return {!Promise} * @private
extensions/amp-subscriptions/0.1/dialog.js:161
↓ 1 callersFunctioncollapseFrameUnderVsyncMutate
(iframe)
ads/inabox/full-overlay-frame-helper.js:72
↓ 1 callersMethodcollapsedCallback
* Called every time an owned AmpElement collapses itself. * See {@link collapse}. * @param {!AmpElement} unusedElement Child element that was co
src/base-element.js:997
↓ 1 callersMethodcollapsedCallback
@override
extensions/amp-sticky-ad/1.0/amp-sticky-ad.js:160
↓ 1 callersFunctioncollectProps
( Ctor, element, ref, defaultProps, mediaQueryProps )
src/preact/parse-props.js:115
↓ 1 callersFunctioncollectWork
* @param {!{[key: string]: *}} prodConfig * @param {!{[key: string]: *}} canaryConfig * @param {string} cutoffDateFormatted * @param {string=} remo
build-system/tasks/sweep-experiments/index.js:359
↓ 1 callersFunctioncombineInventoryUnits
(impls)
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:84
↓ 1 callersFunctioncommentTemplate
(channels)
build-system/status-page/comment.js:12
↓ 1 callersMethodcompareCommits
* Get a list of commits between two commits * @param {string} head * @param {string} base * @return {Promise<Object>}
build-system/release-tagger/utils.js:177
↓ 1 callersMethodcompareEntries_
* Compares two videos in order to sort them by "best centered". * @param {!IntersectionObserverEntry} a * @param {!IntersectionObserverEntry} b
src/service/video-manager-impl.js:1317
↓ 1 callersMethodcompareMediaDistances_
* Comparison function that compares the distance of each element from the * current position in the document. * @param {!PoolBoundElementDef} me
extensions/amp-story/1.0/media-pool.js:301
↓ 1 callersMethodcompareStringArrays_
* Returns true if both arrays contain the same strings. * @param {!(IArrayLike<string>|Array<string>)} a * @param {!(IArrayLike<string>|Array<st
extensions/amp-bind/0.1/bind-impl.js:1638
↓ 1 callersMethodcompensateIosBottombar_
* @private
extensions/amp-sidebar/0.2/amp-sidebar.js:687
↓ 1 callersMethodcompensateIosBottombar_
* @private
extensions/amp-sidebar/0.1/amp-sidebar.js:703
↓ 1 callersMethodcompileCallback
* Override in subclass if the element needs to compile the template. * @protected
src/base-template.js:33
↓ 1 callersFunctioncompileDistFlavors_
* Compiles all AMP flavors sequentially. * * @param {string} flavorType AMP flavor to build. * @param {string} command `amp` command to build the f
build-system/tasks/release/index.js:246
↓ 1 callersFunctioncompileExpr
* Helper function that uses jison to generate a parser for the input file. * @param {string} jisonFilePath * @param {string} parserName * @param {s
build-system/tasks/compile-jison.js:50
↓ 1 callersFunctioncompileJss
* @param {string} JSS * @param {string} filename * @return {{ * visitor: { * Program: {Function(path: string, state: *): void}, *
build-system/babel-plugins/babel-plugin-transform-jss/index.js:256
↓ 1 callersFunctioncompileTags
(tagsToCompile)
third_party/mustache/mustache.js:122
↓ 1 callersFunctioncomplainAboutPortrait
* @param {!Element} element * @restricted
extensions/amp-video-docking/0.1/amp-video-docking.js:161
↓ 1 callersMethodcompleteAll
()
third_party/subscriptions-project/swg.js:11470
↓ 1 callersMethodcompleteHandshake_
* Fake docs for testing * @param {*} requestId
extensions/amp-viewer-integration/0.1/viewer-initiated-handshake-viewer-for-testing.js:131
↓ 1 callersMethodcompleteHandshake_
* Fake docs for testing * @param {*} channel * @param {*} requestId
extensions/amp-viewer-integration/0.1/webview-viewer-for-testing.js:140
↓ 1 callersMethodcomplete_
@private
src/utils/dom-writer.js:297
↓ 1 callersFunctioncomponentExtensionName
(tagName)
build-system/server/app-index/amphtml-helpers.js:82
↓ 1 callersMethodcomposeOrigin_
* @private * @return {string}
extensions/amp-byside-content/0.1/amp-byside-content.js:213
↓ 1 callersMethodcomposeRequestUrl_
* Composes a request URL given a base and requestOrigin * @private * @param {string} baseUrl * @param {string=} opt_requestOrigin * @retur
extensions/amp-analytics/0.1/requests.js:367
↓ 1 callersMethodcomposeSrcUrl_
* @private * @return {*} TODO(#23582): Specify return type
extensions/amp-byside-content/0.1/amp-byside-content.js:226
↓ 1 callersMethodcomputeListItems_
* Given JSON payload data fetched from the server, modifies the * data according to developer-defined parameters. Extracts the correct * list it
extensions/amp-list/0.1/amp-list.js:662
↓ 1 callersMethodcomputeMeasurements_
* Computes the current layout box and position-fixed state of the element. * @private
src/service/resource.js:500
↓ 1 callersMethodcomputeTimeToWait_
* Computes time, assuming the object is currently visible, that it'd take * it to match all timing requirements. * @return {time} * @private
extensions/amp-analytics/0.1/visibility-model.js:482
↓ 1 callersFunctionconcatContinuousRanges
* @param {!Array<!TextRangeDef>} ranges * @return {!Array<!TextRangeDef>}
extensions/amp-viewer-integration/0.1/findtext.js:298
↓ 1 callersMethodconfigureCarousel_
* @param {!Array<!Element>} slides * @private
extensions/amp-carousel/0.2/amp-carousel.js:369
↓ 1 callersFunctionconfigureHelpers
(env)
testing/helpers/index.js:12
↓ 1 callersMethodconfigureOption_
* Creates and returns an option container with option content, * adds styling and answer choices. * * @param {!./amp-story-interactive-abstra
extensions/amp-story-interactive/0.1/amp-story-interactive-img-quiz.js:114
↓ 1 callersMethodconfigureOption_
* Creates and returns an option container with option content, * adds styling and answer choices. * * @param {!./amp-story-interactive-abstra
extensions/amp-story-interactive/0.1/amp-story-interactive-img-poll.js:81
↓ 1 callersMethodconfigureOption_
* Creates an option container with option content, * adds styling and answer choices, * and adds it to the quiz element. * * @param {!./am
extensions/amp-story-interactive/0.1/amp-story-interactive-poll.js:101
↓ 1 callersMethodconfigureOption_
* Creates an option container with option content, * adds styling and answer choices, * and adds it to the quiz element. * * @param {!./am
extensions/amp-story-interactive/0.1/amp-story-interactive-quiz.js:112
↓ 1 callersMethodconfigure_
@private
extensions/amp-video/0.1/amp-video.js:306
↓ 1 callersMethodconfirmHandshake
* Letting the ampdoc know that I received the handshake request and all is * well.
extensions/amp-viewer-integration/0.1/viewer-for-testing.js:125
↓ 1 callersMethodconnect
* Add listeners for global resources.
src/service/viewport/viewport-binding-def.js:18
↓ 1 callersMethodconnect
@override
src/inabox/inabox-viewport.js:494
↓ 1 callersMethodconnect
* @return {!Promise} Promise that resolves when connection completes.
extensions/amp-access/0.1/iframe-api/iframe-api.js:57
↓ 1 callersMethodconnectMessagingChannel
* Sends initial connection message to the safeframe to finish initialization. * Also initializes the sending of geometry update messages to the fra
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:306
↓ 1 callersFunctionconstructCompanionBottomAd
* @param {string} slot * @param {Array} bannerSizes * @param {!AmpElement} apesterElement * @param {!JsonObject} rtcConfig * @return {!Element}
extensions/amp-apester-media/0.1/monetization/bottomAd/bottomAd.js:44
↓ 1 callersFunctionconstructCompanionDisplayAd
* @param {string} slot * @param {Array} bannerSizes * @param {!AmpElement} apesterElement * @param {number} refreshInterval * @param {!JsonObject}
extensions/amp-apester-media/0.1/monetization/companion/display.js:60
↓ 1 callersMethodconstructIframe_
@param {string} src * @return {!Element}
extensions/amp-apester-media/0.1/amp-apester-media.js:251
↓ 1 callersMethodconstructLoaderImg_
* @return {!Element}
extensions/amp-apester-media/0.1/amp-apester-media.js:268
↓ 1 callersFunctionconstructPropValidatorVariations
(e)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionconstructSRARequest_
* @param {!../../../extensions/amp-a4a/0.1/amp-a4a.AmpA4A} a4a * @param {!Array<!AmpAdNetworkDoubleclickImpl>} instances * @return {!Promise<string>
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:2058
↓ 1 callersFunctionconstructSessionFromStoredValue
* @param {*} storedSession * @return {SessionInfoDef}
extensions/amp-analytics/0.1/session-manager.js:305
↓ 1 callersMethodconstructUrlFromMedia_
* @param {string} id * @param {boolean} usePlayer * @return {string} *
extensions/amp-apester-media/0.1/amp-apester-media.js:229
↓ 1 callersMethodconstructor
(canvas)
third_party/zuho/zuho.js:111
↓ 1 callersMethodconsumeMeter_
* Sends a pingback that marks a metering entitlement as used. * @param {!Entitlement|null} entitlement
third_party/subscriptions-project/swg.js:12574
↓ 1 callersMethodconsumeShowcaseEntitlementJwt
@override
third_party/subscriptions-project/swg.js:19562
↓ 1 callersFunctioncontainsByRegex
(str, re)
build-system/server/app-index/amphtml-helpers.js:14
↓ 1 callersMethodcontainsInvalidArgument_
* @param {string} method * @param {!Array} params * @return {boolean} * @private
extensions/amp-bind/0.1/bind-expression.js:564
↓ 1 callersMethodcontainsObject_
* Returns true if input array contains a plain object. * @param {!Array} array * @return {boolean} * @private
extensions/amp-bind/0.1/bind-expression.js:578
↓ 1 callersFunctioncontainsTagRegex
(tagName)
build-system/server/app-index/amphtml-helpers.js:12
↓ 1 callersFunctioncontainsTemplate
(scripts, expectedTemplate)
build-system/server/app-index/test/test-amphtml-helpers.js:33
↓ 1 callersMethodcontentHeightChanged
@override
src/service/viewport/viewport-impl.js:368
↓ 1 callersMethodcontextFor_
* Retrieves/creates a context object to pass events pertaining to a * particular creative. * @param {string} creativeId The ID of the creative
3p/iframe-transport-client.js:91
↓ 1 callersMethodcontribute
@override
third_party/subscriptions-project/swg.js:19431
↓ 1 callersFunctionconvertAmpMaskToInputmask
* Convert the AMP mask-string format into an array of Inputmask mask strings. * * The Inputmask library expects a "*" for an Alphanumeric character,
extensions/amp-inputmask/0.1/mask-impl.js:155
↓ 1 callersMethodconvertAndSanitizeConfiguration_
* Converts config to appropriate units, modifying the argument in place. This * also ensures that visiblePercentageMin is in the range of [0, 100].
extensions/amp-a4a/0.1/refresh-manager.js:325
↓ 1 callersFunctionconvertEasingKeyword
(keyword)
extensions/amp-fx-collection/0.1/providers/amp-fx-presets-utils.js:23
↓ 1 callersFunctionconvertEnumValueToState
(value)
extensions/amp-consent/0.1/consent-info.js:359
↓ 1 callersMethodconvertInlineConfigFormat_
* Convert the inline config to new format * @param {!JsonObject} config * @return {!Object}
extensions/amp-consent/0.1/consent-config.js:75
↓ 1 callersFunctionconvertPotentialTimestampToMilliseconds
* @param {!number} timestamp represented as seconds, milliseconds or microseconds * @return {!number}
third_party/subscriptions-project/swg.js:7674
↓ 1 callersFunctionconvertToPubControlLayoutType
* Adds 'pub_control_' prefix to Pub Control UI layout name if the layout name * does not have 'pub_control_' prefix. This is to differentiate Pub Con
ads/google/a4a/shared/content-recommendation.js:493
↓ 1 callersFunctioncookieReader
(win, element, name)
extensions/amp-analytics/0.1/cookie-reader.js:13
↓ 1 callersFunctioncopyBuiltinElementsToChildWindow
* Copy builtins to a child window. * @param {!Window} parentWin * @param {!Window} childWin
src/service/extensions-impl.js:650
↓ 1 callersFunctioncopyCss
* Copies the css from the build folder to the dist folder * @return {Promise<void>}
build-system/tasks/css/index.js:74
↓ 1 callersFunctioncopyParsers
* Copies parsers from the build folder to the dist folder * @return {Promise<void>}
build-system/tasks/dist.js:241
↓ 1 callersMethodcopyUrlToClipboard_
* @private
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:344
↓ 1 callersFunctioncopyWorkerDomResources
* Copies the required resources from @ampproject/worker-dom and renames * them accordingly. * * @param {string} version * @return {Promise<void>}
build-system/tasks/extension-helpers.js:638
↓ 1 callersFunctioncouldBeAnArrow
()
build-system/babel-plugins/babel-plugin-transform-function-declarations/test/fixtures/transform-assertions/nested-function-inside-export/input.js:3
↓ 1 callersFunctioncouldBeAnArrow
()
build-system/babel-plugins/babel-plugin-transform-function-declarations/test/fixtures/transform-assertions/nested-function-inside-export/output.mjs:2
↓ 1 callersFunctioncr
(n,t,e)
third_party/d3/d3.js:2
↓ 1 callersFunctioncreate
(context)
build-system/eslint-rules/preact.js:20
↓ 1 callersFunctioncreate
* @param {!Window} win * @param {!Element} storyEl * @return {!ProgressBar}
extensions/amp-story/1.0/progress-bar.js:127
↓ 1 callersFunctioncreateA4aSraInstance
(networkId)
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-sra.js:414
↓ 1 callersMethodcreateAdElement_
* @param {!JsonObject<string, string>} baseAttributes * @param {number|undefined} width * @return {!Element} * @private
extensions/amp-auto-ads/0.1/placement.js:268
↓ 1 callersMethodcreateAdElement_
* @return {!Element} * @private
extensions/amp-story-auto-ads/0.1/story-ad-page.js:345
↓ 1 callersMethodcreateAdOverlay_
* Create a hidden UI that will be shown when ad is displayed * @private
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:365
↓ 1 callersFunctioncreateAdUnit
* @param {!Window} win
ads/vendors/onead.js:34
↓ 1 callersFunctioncreateAdUnit
* @param {!Window} win * @param {string} placementId * @param {string} adType
ads/vendors/vmfive.js:43
↓ 1 callersMethodcreateAdapter_
* @param {!JsonObject} configJson * @return {!AccessTypeAdapterDef} * @private
extensions/amp-access/0.1/amp-access-source.js:155
↓ 1 callersFunctioncreateAdsAndEmbed
* Generates Ads and Embed * @param {string} siteId Used to grab the ads file * @param {string} embedId Used to grab the unique embed requested
ads/vendors/insticator.js:42
↓ 1 callersMethodcreateAlreadyBoughtElement_
* Creates already bought link * @private
extensions/amp-access-fewcents/0.1/fewcents-impl.js:352
← previousnext →7,901–8,000 of 18,703, ranked by callers