MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctionselectVideoSource
* Selects and returns the prioritized video source URL * @param {!Element} videoEl * @return {?string}
extensions/amp-video/0.1/video-cache.js:70
↓ 1 callersMethodselectedAttributeMutated_
* Handles mutation of the `selected` attribute. * @param {null|boolean|string|number|Array|Object} newValue * @private
extensions/amp-selector/0.1/amp-selector.js:188
↓ 1 callersMethodselectionKeyDownHandler_
* Handles keyboard selection events. * @param {!Event} event * @private
extensions/amp-selector/0.1/amp-selector.js:603
↓ 1 callersFunctionselectorNeedsScoping
(selector, scopeSelector)
third_party/webcomponentsjs/ShadowCSS.js:193
↓ 1 callersFunctionsend
* Sends a message from the current window to itself * @param {string} type Type of the message. * @param {!JsonObject} data Message payload.
extensions/amp-analytics/0.1/test/test-iframe-transport-client.js:32
↓ 1 callersMethodsendAmpDomUpdateEvent_
* Sends DOM_UPDATE event
extensions/amp-live-list/0.1/amp-live-list.js:1016
↓ 1 callersFunctionsendAmpScriptToSwOnFirstVisit
* Whenever a new service worker is activated, controlled page will send * the used AMP scripts and the self's URL to service worker to be cached. *
extensions/amp-install-serviceworker/0.1/amp-install-serviceworker.js:380
↓ 1 callersMethodsendAndWaitForResponse
* Sends a message to the iframe and wait for a response. * Uses the responseHandler specified only if the responseType is a match. * * @param
third_party/subscriptions-project/swg.js:15438
↓ 1 callersMethodsendAuthTokenErrorToViewer_
* Logs error and sends message to viewer * @param {string} errorString * @private
extensions/amp-subscriptions/0.1/viewer-subscription-platform.js:213
↓ 1 callersMethodsendBeacon_
* A beacon is a rapid fire browser request that does not wait for a response * from the server. It is guaranteed to go out before the page redirec
third_party/subscriptions-project/swg.js:8161
↓ 1 callersMethodsendConsentDataToIframe_
* Send consent data to iframe * @param {Window} source * @param {string} origin * @param {JsonObject} data * @private
extensions/amp-o2-player/0.1/amp-o2-player.js:204
↓ 1 callersMethodsendConsentDataToIframe_
* Send consent data to iframe * @param {Window} source * @param {string} origin * @param {JsonObject} data * @private
extensions/amp-iframe/0.1/amp-iframe.js:515
↓ 1 callersMethodsendConsentData_
* Requests consent data from consent module * and forwards information to iframe * @param {Window} source * @param {string} origin * @priv
extensions/amp-o2-player/0.1/amp-o2-player.js:156
↓ 1 callersMethodsendConsentData_
* Requests consent data from consent module * and forwards information to iframe * @private
extensions/amp-delight-player/0.1/amp-delight-player.js:541
↓ 1 callersMethodsendConsentData_
* Fetches consent data from AMP consent service * and forwards it to the iframe via postMessage. * @private
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:355
↓ 1 callersMethodsendConsentData_
* Requests consent data from consent module * and forwards information to iframe * @param {Window} source * @param {string} origin * @priv
extensions/amp-iframe/0.1/amp-iframe.js:496
↓ 1 callersMethodsendErrorMessage
* @param {string} errorType Uses the RTC_ERROR_ENUM above. * @param {string} errorReportingUrl
src/service/real-time-config/real-time-config-impl.js:168
↓ 1 callersMethodsendEvent_
* @param {string} event * @param {?string} context * @private
third_party/subscriptions-project/swg.js:18439
↓ 1 callersFunctionsendFakeMessage
(ins, iframe, type, details)
extensions/amp-instagram/0.1/test/test-amp-instagram.js:138
↓ 1 callersMethodsendIframeMessage_
* Send message to iframe, regarding action response or other info. * Silently die if iframe does not have content window. * * Example message
extensions/amp-consent/0.1/consent-ui.js:937
↓ 1 callersMethodsendIntroMessageToGsiIframe_
* Sends intro post message to Google Sign-In iframe. * @private * @nocollapse * @param {{ iframeUrl: string }} params
third_party/subscriptions-project/swg-gaa.js:2306
↓ 1 callersMethodsendLinkImpressionTracking_
* Sends tracking request to Skimlinks tracking API in order to * register link impression request. * @param {!Object} commonData * @param {nu
extensions/amp-skimlinks/0.1/tracking.js:176
↓ 1 callersMethodsendMessageIfPreviewFinished_
* Sends the 'storyPreviewFinished' viewer message if the active page is * supposed to be the last page shown in the preview. * @private
extensions/amp-story/1.0/amp-story.js:2844
↓ 1 callersMethodsendMessage_
* Sends a method invocation request to the worker and returns a Promise. * @param {string} method * @param {!Array} args * @param {Window=} o
src/web-worker/amp-worker.js:180
↓ 1 callersMethodsendMetrics_
* @param {!MediaEntryDef} mediaEntry * @private
extensions/amp-story/1.0/media-performance-metrics-service.js:191
↓ 1 callersMethodsendPageImpressionTracking_
* Sends tracking request to Skimlinks tracking API in order to * register page impression request. * @param {!Object} commonData * @param {nu
extensions/amp-skimlinks/0.1/tracking.js:148
↓ 1 callersMethodsendPosition_
@private
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:553
↓ 1 callersMethodsendPost
* POST data to a URL endpoint, get a Promise for a response * @param {!string} unusedUrl * @param {!../proto/api_messages.Message} unusedMessage
third_party/subscriptions-project/swg.js:13761
↓ 1 callersMethodsendPost
@override
third_party/subscriptions-project/swg.js:13793
↓ 1 callersMethodsendPostToPublisher
* Sends POST request, with a JSON payload, to a publisher URL. * @param {string} url * @param {!JsonObject} payload * @return {!Promise<!Json
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:1105
↓ 1 callersFunctionsendRegisterDoneMessage
()
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-safeframe.js:88
↓ 1 callersMethodsendRequest
()
extensions/amp-viewer-integration/0.1/test/integration/test-amp-viewer-integration.js:53
↓ 1 callersMethodsendRequest
* @param {string} type * @param {*} data * @param {boolean} awaitResponse * @return {!Promise<*>|undefined}
extensions/amp-viewer-integration/0.1/examples/amp-viewer-host.js:78
↓ 1 callersMethodsendRequestUsingBeacon
* @param {!Window} win * @param {!RequestDef} request * @return {boolean} True if this browser supports navigator.sendBeacon.
extensions/amp-analytics/0.1/transport.js:293
↓ 1 callersMethodsendRequestUsingImage
* @param {!Window} win * @param {!RequestDef} request * @param {boolean} suppressWarnings * @param {string|undefined} referrerPolicy * @pa
extensions/amp-analytics/0.1/transport.js:255
↓ 1 callersMethodsendRequestUsingXhr
* @param {!Window} win * @param {!RequestDef} request * @return {boolean} True if this browser supports cross-domain XHR.
extensions/amp-analytics/0.1/transport.js:310
↓ 1 callersMethodsendRequest_
* Fake docs for testing * @param {*} eventType * @param {*} payload
extensions/amp-viewer-integration/0.1/viewer-initiated-handshake-viewer-for-testing.js:155
↓ 1 callersMethodsendRequest_
* Fake docs for testing * @param {*} type * @param {*} data * @param {*} awaitResponse * @return {*} TODO(#23582): Specify return type
extensions/amp-viewer-integration/0.1/webview-viewer-for-testing.js:214
↓ 1 callersFunctionsendResizeMessage
* Send a message requesting a resize. * @param {number} top * @param {number} bottom * @param {number} left * @param {numb
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-safeframe.js:1016
↓ 1 callersMethodsendResponseToCreative
* Sends a response message back to the creative. * @param {!{[key: string]: string}} data
3p/iframe-transport-client.js:166
↓ 1 callersMethodsendRtcCallout_
* @param {string} url * @param {number} timeoutMillis * @param {string} callout * @param {!Function} checkStillCurrent * @param {string} e
src/service/real-time-config/real-time-config-impl.js:503
↓ 1 callersMethodsendSelectPageDelta_
* @param {number} delta * @private
src/amp-story-player/amp-story-player-impl.js:1571
↓ 1 callersMethodsendSubscriptionState
@override
third_party/subscriptions-project/swg.js:14514
↓ 1 callersMethodsendSubscriptionState
* @param {string} state * @param {?string} productsOrSkus
third_party/subscriptions-project/swg.js:18421
↓ 1 callersFunctionsendXhrRequest
(win, url)
extensions/amp-a4a/0.1/amp-ad-utils.js:20
↓ 1 callersMethodsendXhrRequest
* Send ad request, extract the creative and signature from the response. * @param {string} adUrl Request URL to send XHR to. * @return {!Promise
extensions/amp-a4a/0.1/amp-a4a.js:1716
↓ 1 callersMethodsendXhrRequest
@override
extensions/amp-ad-network-fake-impl/0.1/amp-ad-network-fake-impl.js:76
↓ 1 callersFunctionseq
(taskA, taskB)
3p/3d-gltf/index.js:12
↓ 1 callersFunctionserialize
* Encode all values & join them together * @param {!Object} pairs * @return {string}
extensions/amp-analytics/0.1/linker.js:140
↓ 1 callersFunctionserialize
* Serializes resource timing entries that match the resourceTimingSpec into a * single string. * @param {!Array<!PerformanceResourceTiming>} entries
extensions/amp-analytics/0.1/resource-timing.js:235
↓ 1 callersFunctionserialize
* Encode all values & join them together * @param {!Object} pairs * @return {string}
extensions/amp-consent/0.1/linker.js:140
↓ 1 callersFunctionserializeAttributes
* @param {!Element} element * @return {!{[key: string]: *}}
extensions/amp-ima-video/0.1/amp-ima-video.js:47
↓ 1 callersFunctionserializeResourceTiming
* Serializes resource timing entries according to the resource timing spec. * @param {!Element} element amp-analytics element. * @param {!JsonObject
extensions/amp-analytics/0.1/resource-timing.js:260
↓ 1 callersMethodset
* Sets a synchronous value resolver for the variable with the specified name. * The value resolver may optionally take an extra parameter. * Can
src/service/variable-source.js:216
↓ 1 callersMethodsetAcceptButtonFontColor_
* Sets the accept button font color to either white or black, depending on * the publisher custom background color. * Must be called from the `b
extensions/amp-story/1.0/amp-story-consent.js:369
↓ 1 callersMethodsetAccessibleText_
* Puts a11y text on canvas element so it can be read by screen readers. * The media element is hidden by CSS it no longer can read it. * @param
extensions/amp-story-360/0.1/amp-story-360.js:662
↓ 1 callersMethodsetActiveDocumentInHistory_
* @param {!DocumentRef} documentRef * @private
extensions/amp-next-page/0.1/next-page-service.js:576
↓ 1 callersMethodsetActiveDocument_
* Sets the specified document as active, updating the document title and URL. * * @param {!DocumentRef} ref Reference to the document to be acti
extensions/amp-next-page/0.1/next-page-service.js:522
↓ 1 callersFunctionsetAdditionalData
* Sets additional data.
ads/vendors/medianet.js:91
↓ 1 callersFunctionsetAmplifiedParams
* Sets the value of global.adParams. * @param {!Window} global
ads/vendors/amplified.js:61
↓ 1 callersMethodsetAnimateTo_
@private
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:164
↓ 1 callersMethodsetAppendPageHandler
* Sets the handler to be called with a * @param {function(!Element): !Promise} handler Handler to be called when * a new page needs adding t
extensions/amp-next-page/0.1/next-page-service.js:191
↓ 1 callersMethodsetAsContainerInternal
* See `BaseElement.setAsContainer`. * * @param {!Element=} opt_scroller A child of the container that should be * monitored. Typically
src/custom-element.js:835
↓ 1 callersFunctionsetAttribute
(element: Element, name: string, value: any)
src/core/dom/jsx/index.ts:63
↓ 1 callersFunctionsetAttributes
(element: HTMLElement, props: HTMLAttributes)
src/bento/components/bento-mega-menu/1.0/component/Shim.tsx:41
↓ 1 callersFunctionsetAttributes
* @private * @description * Utility that will update one list of attributes to match another. * * @param {NamedNodeMap} oldAttributes - The previo
third_party/set-dom/set-dom.js:104
↓ 1 callersFunctionsetAttributes
* @private * @description * Utility that will update one list of attributes to match another. * * @param {NamedNodeMap} oldAttributes - The previo
third_party/set-dom/original.js:102
↓ 1 callersMethodsetAuthCode
* @param {string} value
third_party/subscriptions-project/swg.js:1634
↓ 1 callersMethodsetBubbleTextColor_
* Set the text color of the answer choice bubble to be readable and * accessible according to the background color. * * @param {!Element} roo
extensions/amp-story-interactive/0.1/amp-story-interactive-img-quiz.js:180
↓ 1 callersFunctionsetCallbacks
* Sets callback.
ads/vendors/medianet.js:108
↓ 1 callersFunctionsetCaret
()
third_party/inputmask/inputmask.js:2437
↓ 1 callersMethodsetChildrenSnapAlign_
* Updates the snap-align for all spacers/slides. The spacers have the same * snap property as the associated slide. * @private
extensions/amp-base-carousel/0.1/carousel.js:1025
↓ 1 callersMethodsetClientEventTime
* @param {!Timestamp} value
third_party/subscriptions-project/swg.js:1178
↓ 1 callersMethodsetClientTimestamp
* @param {!Timestamp} value
third_party/subscriptions-project/swg.js:625
↓ 1 callersMethodsetClientVersion
* @param {string} value
third_party/subscriptions-project/swg.js:597
↓ 1 callersMethodsetClose
* @param {boolean} value
third_party/subscriptions-project/swg.js:2590
↓ 1 callersMethodsetComplete
* @param {boolean} value
third_party/subscriptions-project/swg.js:252
↓ 1 callersMethodsetComplete
* @param {boolean} value
third_party/subscriptions-project/swg.js:1563
↓ 1 callersMethodsetConsentInstanceSharedData
* Sets a promise which resolves to a shareData object that is to be returned * from the remote endpoint. * * @param {Promise<?Object>} shared
extensions/amp-consent/0.1/consent-state-manager.js:223
↓ 1 callersMethodsetContentBoxOffsets_
* Sets the top and left values of the contentBox as offset from * pan-zoom container
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:394
↓ 1 callersMethodsetContext
* @param {!AnalyticsContext} value
third_party/subscriptions-project/swg.js:808
↓ 1 callersFunctionsetCounter
* @param {!Element} receiver * @param {string} counterName * @param {number} counterValue * @private
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:106
↓ 1 callersFunctionsetCustomVars
* @param {*} oxRequest * @param {!Object} customVars
ads/vendors/openx.js:141
↓ 1 callersFunctionsetDOM
(oldNode, newNode)
third_party/set-dom/set-dom.js:23
↓ 1 callersFunctionsetDebuggingLevel
* Enables debugging if requested via command line.
build-system/tasks/visual-diff/index.js:558
↓ 1 callersFunctionsetDefaultConfigParams_
()
extensions/amp-web-push/0.1/test/test-web-push-permission-dialog.js:20
↓ 1 callersMethodsetDescendantCssTextStyles_
* Sets text styles for descendants of the * <amp-story-page> element. * @private
extensions/amp-story/1.0/amp-story-page.js:1930
↓ 1 callersMethodsetDescendentCssGridStyles_
* Copies the allowlisted CSS grid styles for descendants of the * <amp-story-grid-layer> element. * @private
extensions/amp-story/1.0/amp-story-grid-layer.js:105
↓ 1 callersMethodsetDialogBoxShadow_
* Changes the iframe box shadow to match desired specifications on mobile.
third_party/subscriptions-project/swg.js:11816
↓ 1 callersMethodsetDimensions_
* Set content dimensions so that they fit exactly within * amp-pan-zoom.
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:407
↓ 1 callersMethodsetDocLocator
* Called prior to parsing a document, that is, before `startTag`. * @param {!DocLocator} locator A locator instance which * provides access to
validator/js/engine/htmlparser-interface.js:490
↓ 1 callersMethodsetEntitlementResult
* @param {!EntitlementResult} value
third_party/subscriptions-project/swg.js:1206
↓ 1 callersMethodsetEntitlementSource
* @param {!EntitlementSource} value
third_party/subscriptions-project/swg.js:1192
↓ 1 callersMethodsetError
* @param {string} value
third_party/subscriptions-project/swg.js:1577
↓ 1 callersMethodsetEvent
* @param {!AnalyticsEvent} value
third_party/subscriptions-project/swg.js:822
↓ 1 callersMethodsetEventOriginator
* @param {!EventOriginator} value
third_party/subscriptions-project/swg.js:722
↓ 1 callersFunctionsetExperiment
* Toggles the experiment on or off. Returns the actual value of the experiment * after toggling is done. * @param {!Window} win * @param {string} e
third_party/subscriptions-project/swg.js:7625
↓ 1 callersFunctionsetExperimentToggles
(toggles)
3p/3p.js:304
↓ 1 callersFunctionsetFetchJsonStubBehavior
(params, response, isString, shouldFail)
test/unit/test-real-time-config.js:59
↓ 1 callersFunctionsetFormForElement
(element, form)
src/core/dom/form.js:19
← previousnext →11,301–11,400 of 18,703, ranked by callers