MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 14 callersFunctionO
(e)
third_party/inputmask/bundle.js:11
↓ 14 callersMethodacceptResult
* Accepts results from the caller. * @return {!Promise<!web-activities/activity-ports.ActivityResult>}
third_party/subscriptions-project/swg.js:4003
↓ 14 callersMethodactionEvent
* @param {string} platformKey * @param {!Action|string} action * @param {!ActionStatus|string} status * @param {!JsonObject=} opt_vars
extensions/amp-subscriptions/0.1/analytics.js:131
↓ 14 callersFunctionappendConfigScriptElement
(doc, element, config)
extensions/amp-consent/0.1/test/test-consent-config.js:35
↓ 14 callersFunctionbase64DecodeToBytes
(str)
src/core/types/string/base64.js:34
↓ 14 callersMethodbuild
* @return {?Promise<!{[key: string]: string}>}
extensions/amp-subscriptions/0.1/actions.js:50
↓ 14 callersMethodcalcTaskTimeout_
* Calculates the timeout of a task. The timeout depends on two main factors: * the priorities of the tasks currently in the execution pool and thei
src/service/resources-impl.js:1428
↓ 14 callersFunctioncalcVelocity
(deltaV, deltaTime, prevVelocity)
src/motion.js:33
↓ 14 callersFunctioncreateAmpElementForTesting
( win, opt_implementationClass, opt_elementConnectedCallback )
src/custom-element.js:2176
↓ 14 callersFunctioncreateAmpVkElement
(dataParams, layout)
extensions/amp-vk/0.1/test/test-amp-vk.js:34
↓ 14 callersFunctioncreateElement
* Create a new element on document with specified tagName and attributes. * @param {!Document} doc * @param {string} tagName * @param {!Object<stri
third_party/subscriptions-project/swg.js:3698
↓ 14 callersFunctioncreateGoogleAnalyticsEvent
( eventCategory, eventAction, eventLabel, nonInteraction )
third_party/subscriptions-project/swg.js:12150
↓ 14 callersFunctioncreateKeyboardEventInitWithKeyCode
* Creates a `KeyboardEventInit` object with default properties overridden by * the given key code. * * @param {string} key * @param {number} keyCo
extensions/amp-viewer-integration/0.1/test/test-keyboard-handler.js:543
↓ 14 callersFunctioncreateNestedIframeMocks
(depth, numXDomain)
test/unit/inabox/test-inabox-messaging-host.js:380
↓ 14 callersFunctioncreateVideo
()
test/unit/test-video-rotate-to-fullscreen.js:11
↓ 14 callersFunctiondeepMerge
(target, source, depth = 10)
src/core/types/object/index.js:70
↓ 14 callersFunctiondereferenceArgsVariables
(args, event, opt_args)
src/service/action-impl.js:1132
↓ 14 callersFunctionexecOrDie
* Executes the provided command, and terminates the program in case of failure. * * @param {string} cmd * @param {?Object=} options
build-system/common/exec.js:46
↓ 14 callersMethodfetchText
* Fetches a text response. Note this returns the response object, not the * response's text. #fetchText merely sets up the request to accept text.
src/service/xhr-impl.js:135
↓ 14 callersFunctionfn
(n,t,e)
third_party/d3/d3.js:1
↓ 14 callersMethodgetAmpDoc
* Returns the associated ampdoc. Only available after attachment. It throws * exception before the element is attached. * @return {!./servic
src/custom-element.js:317
↓ 14 callersMethodgetAuthdataField
* Returns the promise that will yield the value of the specified field from * the authorization response. This method will wait for the most recent
extensions/amp-access/0.1/access-vars.js:27
↓ 14 callersMethodgetBody
* The `Document.body` element or analog. Returns `null` if not available * yet. * @return {?Element}
third_party/subscriptions-project/config.js:145
↓ 14 callersFunctiongetData
* @param {string} command * @param {string} callId * @param {string=} opt_parameter
extensions/amp-consent/0.1/test/test-tcf-api-command-manager.js:470
↓ 14 callersMethodgetImage
* Returns the img element of the image viewer. * @return {!Element}
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:147
↓ 14 callersFunctiongetLiveList
(attrs = {}, opt_id)
extensions/amp-live-list/0.1/test/test-live-list-manager.js:91
↓ 14 callersFunctiongetNextButton
(el)
extensions/amp-carousel/0.2/test/test-type-slides.js:36
↓ 14 callersFunctiongetPrevButton
(el)
extensions/amp-carousel/0.2/test/test-type-slides.js:40
↓ 14 callersMethodgetSessionValue
* Get the value from the session per the vendor. * @param {string|undefined} type * @param {SESSION_VALUES} value * @return {!Promise<number|
extensions/amp-analytics/0.1/session-manager.js:148
↓ 14 callersFunctiongetTime
(wrapper)
extensions/amp-timeago/1.0/test/test-component.js:10
↓ 14 callersFunctiongetVideoPlayer
(options)
test/integration/test-video-players-helper.js:563
↓ 14 callersFunctiongoogleAdUrl
( a4a, baseUrl, startTime, parameters, opt_experimentIds )
ads/google/a4a/utils.js:364
↓ 14 callersFunctionhandleAds
(media, apesterElement)
extensions/amp-apester-media/0.1/monetization/index.js:12
↓ 14 callersMethodhandleFocus_
* Handle focus events in the document. * @param {!Event} e * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1040
↓ 14 callersMethodhandleSubmitAction_
* Handles submissions through action service invocations. * e.g. <img on=tap:form.submit> * @param {!../../../src/service/action-impl.ActionIn
extensions/amp-form/0.1/amp-form.js:505
↓ 14 callersMethodhide
* Hide the UI
extensions/amp-consent/0.1/consent-ui.js:309
↓ 14 callersFunctioni
(e,t)
third_party/inputmask/bundle.js:5
↓ 14 callersFunctioninvalid
(fn)
test/unit/test-integration.js:288
↓ 14 callersMethodisMeasureRequested
* @return {boolean}
src/service/resource.js:569
↓ 14 callersMethodisProxyOrigin
* Returns whether the URL has the origin of a proxy. * @param {string|!Location} url URL of an AMP document. * @return {boolean}
src/service/url-impl.js:134
↓ 14 callersFunctionisRTL
(doc)
src/core/dom/index.js:356
↓ 14 callersMethodisValidElement
@return {boolean}
extensions/amp-ad-network-adsense-impl/0.1/responsive-state.js:268
↓ 14 callersMethodisVisible
* @return {boolean}
extensions/amp-subscriptions/0.1/dialog.js:77
↓ 14 callersFunctioniterateCursor
(iterable, cb)
src/core/dom/index.js:320
↓ 14 callersFunctionjsxStylePropertyString
( property: string, value: any, isDimensional?: boolean )
src/core/dom/jsx/style-property-string.ts:5
↓ 14 callersMethodkeyDownHandler_
* Handles keyboard events. * @param {!Event} event * @return {!Promise} * @private
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1294
↓ 14 callersMethodlayoutCallback
()
test/unit/test-extension-analytics.js:389
↓ 14 callersMethodmask
@override
extensions/amp-inputmask/0.1/mask-impl.js:121
↓ 14 callersMethodmaybeCreateCta
* Try to create CTA (Click-To-Action) before showing the ad. Will fail if * not enough metadata to create the outlink button. * @return {Promise
extensions/amp-story-auto-ads/0.1/story-ad-page.js:236
↓ 14 callersFunctionnumeric
(start, end)
src/core/dom/transition.js:61
↓ 14 callersMethodonMessage
@override
src/service/viewer-impl.js:659
↓ 14 callersFunctionparseExtensionUrl
(scriptUrl)
src/service/extension-script.js:105
↓ 14 callersFunctionpostMessage
* @param {!Object} data
ads/google/ima/ima-video.js:1454
↓ 14 callersFunctionpropName
(name)
src/preact/utils.js:61
↓ 14 callersFunctionregisterExtendedTemplateForDoc
(ampdoc, type, templateClass)
src/service/template-impl.js:355
↓ 14 callersFunctionremove
(array, shouldRemove)
src/core/types/array.js:66
↓ 14 callersMethodreportPlatformFailureAndFallback
* Records a platform failure * logs error if all platforms have failed * uses fallback if there is one. * @param {string} platformKey
extensions/amp-subscriptions/0.1/platform-store.js:637
↓ 14 callersFunctionresetExperimentTogglesForTesting
(win)
src/experiments/index.js:240
↓ 14 callersFunctionresetMaskSet
(soft)
third_party/inputmask/inputmask.js:783
↓ 14 callersFunctionresolveRelativeUrl
(relativeUrlString, baseUrl)
src/url.js:544
↓ 14 callersMethodresolveRequests
* @param {!Array<string>} path * @param {!WebAnimationDef|!Array<!WebAnimationDef>} spec * @param {?WebAnimationDef|undefined} args * @param
extensions/amp-animation/0.1/web-animations.js:219
↓ 14 callersFunctionrtcEntry
(response, url, error, isVendor)
test/unit/test-real-time-config.js:185
↓ 14 callersMethodsendCommand_
* Sends a command to the player through postMessage. * @param {string} type * @param {Object=} payload * @private
extensions/amp-delight-player/0.1/amp-delight-player.js:387
↓ 14 callersFunctionsendRequest
(win, request, options)
extensions/amp-analytics/0.1/test/test-transport.js:559
↓ 14 callersMethodsetState_
* @param {!State} state * @private
extensions/amp-story-education/0.1/amp-story-education.js:179
↓ 14 callersFunctionsetupForAdTesting
(fixture)
ads/google/a4a/test/test-utils.js:42
↓ 14 callersMethodsignals
@return {!Signals}
src/service/ampdoc-impl.js:332
↓ 14 callersMethodstartAuthorizationFlow_
* Unblock document based on grant state and selected platform * @param {boolean=} shouldActivatePlatform * @return {!Promise} * @private
extensions/amp-subscriptions/0.1/amp-subscriptions.js:572
↓ 14 callersFunctiontoggleViewport
* Simulate an IntersectionObserver callback for an element. * @param {!Element} el * @param {boolean} inViewport
test/unit/core/dom/layout/test-viewport-observer.js:86
↓ 14 callersMethodupdateConsentInstanceState
* Update consent instance state * @param {CONSENT_ITEM_STATE} state * @param {string=} consentStr * @param {ConsentMetadataDef=} opt_consentM
extensions/amp-consent/0.1/consent-state-manager.js:115
↓ 14 callersMethodupdateReplacementUrls
* @param {!./link-rewriter.AnchorReplacementList} replacementList * @public
extensions/amp-skimlinks/0.1/link-rewriter/link-replacement-cache.js:40
↓ 14 callersFunctionupgradeOrRegisterElement
(win, name, toClass)
src/service/custom-element-registry.js:35
↓ 14 callersFunctionvalidatePage
(page, hostUrl)
extensions/amp-next-page/1.0/utils.js:32
↓ 14 callersFunctionwarn
* @param {...*} var_args [description]
third_party/subscriptions-project/swg.js:2953
↓ 14 callersMethodwhenPolicyUnblock
* Wait for policy to resolve and check if it should be unblocked * @param {string} policyId * @return {!Promise<boolean>}
extensions/amp-consent/0.1/consent-policy-manager.js:269
↓ 13 callersFunctionL
()
third_party/inputmask/bundle.js:11
↓ 13 callersFunctionP
(a,b,c,d)
third_party/wgxpath/wgxpath.js:46
↓ 13 callersMethodR1
@override
src/builtins/amp-img/amp-img.js:45
↓ 13 callersFunctionV
(a,b,c,d)
third_party/wgxpath/wgxpath.js:62
↓ 13 callersFunctionW
(a,b)
third_party/wgxpath/wgxpath.js:67
↓ 13 callersFunctionadd
(p)
test/unit/test-3p-environment.js:100
↓ 13 callersMethodaddDocFactory
* Add a ampdoc factory to the extension currently being registered. This is a * restricted method and it's allowed to be called only during the ove
src/service/extensions-impl.js:428
↓ 13 callersFunctionaddExperimentIdToElement
(experimentId, element)
ads/google/a4a/traffic-experiments.js:152
↓ 13 callersMethodaddListener
* Adds message event listener and triggers collapsing
extensions/amp-ad-network-smartadserver-impl/0.1/amp-ad-network-smartadserver-impl.js:225
↓ 13 callersMethodaddVisitor
* @param {!VisitorCallbackTypeDef} callback * @param {number=} maxAncestorsToVisit The limit of how many ancestors this * task should be execu
src/utils/dom-ancestor-visitor.js:55
↓ 13 callersMethodanalytics
@override
third_party/subscriptions-project/swg.js:19118
↓ 13 callersFunctionassertAbsoluteHttpOrHttpsUrl
(urlString)
src/url.js:339
↓ 13 callersMethodassertArray
* Throws an error if the first argument is not an array. * The array can be empty. * * @param {*} shouldBeArray * @param {!Array|string=}
src/utils/log.js:470
↓ 13 callersMethodassertHttpsUrl
* Asserts that a given url is HTTPS or protocol relative. It's a user-level * assert. * * Provides an exception for localhost. * * @par
src/service/url-impl.js:116
↓ 13 callersMethodbuildReadyResources_
* Builds resources that are ready to be built. * @private
src/service/resources-impl.js:391
↓ 13 callersFunctionbuildUrl
( baseUrl, queryParams, maxLength, opt_truncationQueryParam )
ads/google/a4a/shared/url-builder.js:15
↓ 13 callersFunctioncalculateFontSize
( measurer, expectedHeight, expectedWidth, minFontSize, maxFontSize )
extensions/amp-fit-text/1.0/component.js:85
↓ 13 callersFunctioncallback
(result)
build-system/server/amp4test.js:130
↓ 13 callersMethodcompleteView
* @param {?./view.View} view
third_party/subscriptions-project/swg.js:11459
↓ 13 callersFunctioncomputeInMasterFrame
(global, taskId, work, cb)
3p/3p.js:172
↓ 13 callersFunctioncreateCallbackCaller
()
test/unit/core/dom/layout/test-size-observer.js:62
↓ 13 callersFunctioncreateCampaignData
({ avAbove, avBelow, bottomAd, disabledAmpCompanionAds, display, inUnitVideo, srAbove, srBelow
extensions/amp-apester-media/0.1/test/test-amp-apester-monetization.js:188
↓ 13 callersFunctioncreateState
(attributes)
extensions/amp-ad-network-adsense-impl/0.1/test/test-responsive-state.js:100
↓ 13 callersFunctioncreateStyle
(attrs, css)
extensions/amp-animation/0.1/test/test-keyframes-extractor.js:13
↓ 13 callersFunctiondoNotLoadExternalResourcesInTest
(win, sandbox)
testing/iframe.js:551
← previousnext →1,101–1,200 of 18,703, ranked by callers