MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 3 callersMethodreportWorkerError_
* @param {{message: string, stack:string}} e * @param {string} message * @param {!Element=} opt_element * @return {!Error} * @private
extensions/amp-bind/0.1/bind-impl.js:1613
↓ 3 callersMethodrepositionDevices_
* Recalculate the positions of the devices to keep them spaced and scaled evenly. * @private *
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:684
↓ 3 callersFunctionrequestAds
()
ads/google/ima/ima-video.js:630
↓ 3 callersFunctionrequestForBatchFetch
(element, url, replacement, refresh)
src/batched-json.js:85
↓ 3 callersFunctionrequestGithub
* @param {string} token * @param {string} path * @param {Object=} data * @param {Object=} options * @return {!Promise<Object>}
build-system/common/update-session-issues/index.js:120
↓ 3 callersFunctionresetAllElements
()
extensions/amp-consent/0.1/test-e2e/common.js:11
↓ 3 callersMethodresetAnimationStyles_
* Reset transition and transform styles * Set by the fixed layer, and us
extensions/amp-consent/0.1/consent-ui.js:754
↓ 3 callersMethodresetContentDimensions_
* Measures and resets the content dimensions, after the element * dimensions changes. * @return {!Promise} * @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:374
↓ 3 callersMethodresetIfNecessary_
* Removes any previously rendered children and displays placeholder, loading * indicator, etc. depending on the value of `reset-on-refresh` attribu
extensions/amp-list/0.1/amp-list.js:611
↓ 3 callersMethodresetPendingChangeSize
reset pending change sizes
src/service/resource.js:397
↓ 3 callersMethodresetScroll
@override
src/inabox/inabox-viewport.js:325
↓ 3 callersFunctionresetTokensToInstancesMap
()
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:2101
↓ 3 callersFunctionresize
* @param {!Element} container
3p/twitter.js:97
↓ 3 callersFunctionresizeCsa
* Helper function to resize the height of a CSA container and its child iframe * @param {!Element} container HTML element of the CSA container * @pa
ads/vendors/csa.js:376
↓ 3 callersMethodresizeSafeframe
* @param {number} height * @param {number} width * @param {string} messageType
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:552
↓ 3 callersMethodresized
* Resizes the content.
third_party/subscriptions-project/swg.js:2847
↓ 3 callersFunctionresolveArray
* @param {!CssContext} context * @param {boolean} normalize * @param {!Array<!CssNode>} array * @param {?Array<string>} dimensions * @return {?Arr
extensions/amp-animation/0.1/parsers/css-expr-ast.js:1390
↓ 3 callersMethodresolveIdent
* @param {*} input * @param {string|undefined} def * @return {string|undefined}
extensions/amp-animation/0.1/web-animations.js:1042
↓ 3 callersMethodresolveRelativeUrl
* Returns absolute URL resolved based on the relative URL and the base. * @param {string} relativeUrlString * @param {string|!Location} baseUrl
src/service/url-impl.js:101
↓ 3 callersFunctionresolveTestFromToken
(maskToken, ndxInitializer, loopNdx, quantifierRecurse)
third_party/inputmask/inputmask.js:850
↓ 3 callersFunctionrestoreAttributeValue
* * @param {HTMLElement} element The Element top operate on. * @param {string} attribute The name of the attribute. * @param {?string=} value The
src/core/dom/modal.js:140
↓ 3 callersMethodresume
()
extensions/amp-consent/0.1/consent-ui.js:369
↓ 3 callersMethodresumeLayout
* Resumes layout of the component. This will update the UI to the correct * state if there were changes since pausing layout.
extensions/amp-base-carousel/0.1/carousel.js:435
↓ 3 callersMethodrewind
* Rewinds the given story. * @param {string} storyUrl
src/amp-story-player/amp-story-player-impl.js:1533
↓ 3 callersFunctionrewriteAttributeValue
(tagName, attrName, attrValue)
src/url-rewrite.js:78
↓ 3 callersFunctionrn
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 3 callersMethodrotation
* @return {!Float32Array}
extensions/amp-story-360/0.1/amp-story-360.js:150
↓ 3 callersMethodrotation
(n, i, j, arg)
third_party/zuho/zuho.js:97
↓ 3 callersMethodrulesForTagAndProperty_
* Returns the property rules object for (tag, property), if it exists. * Returns null if binding is allowed without constraints. * Returns undef
extensions/amp-bind/0.1/bind-validator.js:176
↓ 3 callersMethodrun
* Run fn as a "chunk". * @param {function(?IdleDeadline)} fn * @param {number} priority
src/chunk.js:346
↓ 3 callersMethodrunAnimMutateSeries
* Runs the series of mutates until the mutator returns a false value. * @param {!Node} contextNode * @param {function(time, time, !VsyncStateDef
src/service/vsync-impl.js:342
↓ 3 callersMethodrunAuthorization
* Returns the promise that resolves when authorization call has completed. * Note that this promise never fails. * @param {boolean=} opt_disable
extensions/amp-access/0.1/amp-access-source.js:340
↓ 3 callersFunctionrunCandidates
(ampdoc, candidates)
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:438
↓ 3 callersFunctionrunNpmChecks
* Ensures that the package files in the given directory were generated with a * compatible version of npm and do not have any missing changes. Defaul
build-system/common/npm-checks.js:23
↓ 3 callersMethodrunQueryInBatches
* Queries the GitHub GraphQL API in batches. * @param {string} queryType * @param {Array<string>} queries * @return {Promise<Array<GraphQlQue
build-system/release-tagger/utils.js:57
↓ 3 callersFunctionrunReleaseJob
* Helper used by release related CI job scripts. * @param {string} jobName * @param {Function} workflow * @return {Promise<void>}
build-system/release-workflows/release-job.js:18
↓ 3 callersFunctionsafeLayoutRectFromDomRect
* @param {?} rect * @return {?import('./rect').LayoutRectDef}
src/core/dom/layout/intersection.js:95
↓ 3 callersMethodsanitize
* This is called by worker-dom on node creation, so all invocations are on * super-simple nodes like <p></p>. * * @param {!Node} node * @r
extensions/amp-script/0.1/amp-script.js:769
↓ 3 callersFunctionsanitizeFxTypes
(types)
extensions/amp-fx-collection/0.1/fx-type.js:215
↓ 3 callersFunctionsanitizeHtml
(html, doc)
src/sanitizer.js:67
↓ 3 callersFunctionscan
(ampdoc, opt_root)
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:470
↓ 3 callersMethodscheduleRender_
* Schedules a fetch result to be rendered in the near future. * @param {!Array|!JsonObject|undefined} data * @param {boolean=} opt_append * @
extensions/amp-list/0.1/amp-list.js:895
↓ 3 callersMethodscheduleView
* @param {time} timeToView * @return {!Promise}
extensions/amp-subscriptions/0.1/viewer-tracker.js:32
↓ 3 callersMethodscrollBack_
@private
extensions/amp-video-docking/0.1/amp-video-docking.js:1672
↓ 3 callersMethodscrollIntoView
@override
src/service/viewport/viewport-impl.js:451
↓ 3 callersMethodscrollLockHandler_
* Handles scrollLock requests from the viewer to change the scrollLock state. * @param {string} type Unused. * @param {*} payload True to disabl
extensions/amp-viewer-integration/0.1/touch-handler.js:196
↓ 3 callersFunctionse
(n,t,e)
third_party/d3/d3.js:2
↓ 3 callersMethodsend
(url)
src/service/real-time-config/real-time-config-impl.js:414
↓ 3 callersMethodsend
* Sends a message with the given topic, and data. * * @param {string} topic A string, but this must match the receiving end that * expects
extensions/amp-web-push/0.1/window-messenger.js:480
↓ 3 callersMethodsendElementIntersection_
* Sends 'intersection' message to ad/iframe with intersection change records * if this has been activated and we measured the layout box of the ifr
extensions/amp-ad/0.1/legacy-ad-intersection-observer-host.js:166
↓ 3 callersMethodsendEmbedInfo_
* @param {boolean} inViewport * @private
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:521
↓ 3 callersMethodsendMessageInternal_
* Sends the message to the viewer. * * @param {string} eventType * @param {?JsonObject|string|undefined} data * @param {boolean} cancelUns
src/service/viewer-impl.js:786
↓ 3 callersMethodsendMessage_
* Handles serializing and sending messages to the safeframe. * @param {!Object} payload * @param {string} serviceName * @private
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:443
↓ 3 callersMethodsendMessage_
* @param {!AmpViewerMessage} message * @private
extensions/amp-viewer-integration/0.1/messaging/messaging.js:384
↓ 3 callersFunctionsendRequestUsingIframe
(win, url)
extensions/amp-analytics/0.1/test/test-transport.js:374
↓ 3 callersMethodsendResponseError_
* @param {number} requestId * @param {string} messageName * @param {*} reason !Error most of time, string sometimes, * rarely. * @private
extensions/amp-viewer-integration/0.1/messaging/messaging.js:362
↓ 3 callersFunctionsendSetupMessage
* Sends the intitial connection message that sets up the * safeframe channel.
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-safeframe.js:81
↓ 3 callersFunctionserializeTargeting
( targeting, categoryExclusions, commonTargeting )
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:345
↓ 3 callersMethodsetActions
* Resets a node's actions with those defined in the given actions string. * @param {!Element} node * @param {string} actionsStr
src/service/action-impl.js:801
↓ 3 callersFunctionsetAllResourceState
(state)
test/unit/test-owners.js:66
↓ 3 callersFunctionsetAmpOptInCookie_
* Opts in to / out of the pre-release channels or a specific RTV by setting the * __Host-AMP_OPT_IN cookie. * @param {string} cookieState One of the
tools/experiments/experiments.js:281
↓ 3 callersFunctionsetButtonState
(button, enabled)
extensions/amp-carousel/0.1/build-dom.js:75
↓ 3 callersFunctionsetCheckValiditySupportedForTesting
(isSupported)
extensions/amp-form/0.1/form-validators.js:49
↓ 3 callersFunctionsetCidCookie
* Sets a new CID cookie for expire 1 year from now. * @param {!Window} win * @param {string} scope * @param {string} cookie
src/service/cid-impl.js:374
↓ 3 callersMethodsetControlsState
* Sets the previous and next button visual states. * @param {{prev: boolean, next: boolean}} param0
extensions/amp-carousel/0.1/carousel-controls.js:94
↓ 3 callersMethodsetCurrentPage
* Handles a page switch by resetting animations and goto counters on the * currently-active page and starting animations on the new page. * @par
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:209
↓ 3 callersFunctionsetData
* Set the xpath test id data param * @param {!HTMLElement} node * @param {number} value
build-system/tasks/e2e/driver/query-xpath.js:99
↓ 3 callersMethodsetDistance
* @param {number} distance The distance from the current page to the active * page.
extensions/amp-story/1.0/amp-story-page.js:1390
↓ 3 callersFunctionsetElementRect
(el, {height, left, top, width})
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-sra.js:80
↓ 3 callersMethodsetElementScrollTop_
* @param {!Element} element * @param {number} scrollTop
src/service/viewport/viewport-impl.js:599
↓ 3 callersMethodsetEnabled
@param {boolean} isEnabled
extensions/amp-story/1.0/pagination-buttons.js:126
↓ 3 callersFunctionsetEntry
(entry)
third_party/inputmask/inputmask.js:2425
↓ 3 callersMethodsetFuzzyTimestampValue_
@private
extensions/amp-timeago/0.1/amp-timeago.js:100
↓ 3 callersMethodsetInViewport
* Updates the inViewport state of the element. * @param {boolean} inViewport
src/service/resource.js:981
↓ 3 callersMethodsetIsReady
* Indicate that a cross-domain frame is ready to receive messages, and * send all messages that were previously queued for it. * @visibleForTest
extensions/amp-analytics/0.1/iframe-transport-message-queue.js:60
↓ 3 callersMethodsetLastFetchedPage
* @param {!Page} page
extensions/amp-next-page/1.0/service.js:453
↓ 3 callersFunctionsetLoggingPrefix
* Sets the logging prefix for the ongoing PR check job * @param {string} prefix
build-system/common/logging.js:31
↓ 3 callersFunctionsetNode
* @private * @description * Updates a specific htmlNode and does whatever it takes to convert it to another one. * * @param {Node} oldNode - The p
third_party/set-dom/set-dom.js:60
↓ 3 callersFunctionsetNode
* @private * @description * Updates a specific htmlNode and does whatever it takes to convert it to another one. * * @param {Node} oldNode - The p
third_party/set-dom/original.js:58
↓ 3 callersMethodsetOnPolicyChange
* Sets the handler that will be called when a consent change * has been fired. * @param {function()} callback
extensions/amp-consent/0.1/consent-policy-manager.js:236
↓ 3 callersMethodsetOnStateUpdated
@override
src/service/history-impl.js:516
↓ 3 callersFunctionsetOverflowStyle
(measurer, maxHeight, fontSize)
extensions/amp-fit-text/1.0/component.js:115
↓ 3 callersFunctionsetPreconnectFeaturesForTesting
(features)
src/preconnect.js:56
↓ 3 callersMethodsetReportReady
* Sets that the model needs to wait on extra report ready promise * after all visibility conditions have been met to call report handler * @para
extensions/amp-analytics/0.1/visibility-model.js:245
↓ 3 callersFunctionsetScopeSelectorSupportedForTesting
(val)
src/core/dom/css-selectors.js:15
↓ 3 callersMethodsetSeconds
* @param {number} value
third_party/subscriptions-project/swg.js:2522
↓ 3 callersMethodsetSession_
* Set the session in localStorage, updating * its access time if it did not exist before. * @param {string} type * @param {SessionInfoDef} se
extensions/amp-analytics/0.1/session-manager.js:267
↓ 3 callersMethodsetStatePromiseForTesting
* Wait for bindings to evaluate and apply for testing. Should * be called once for each event that changes bindings. * * @return {?Promise}
extensions/amp-bind/0.1/bind-impl.js:1754
↓ 3 callersMethodsetStateWithExpression
* Parses and evaluates an expression with a given scope and merges the * resulting object into current state. * @param {string} expression *
extensions/amp-bind/0.1/bind-impl.js:326
↓ 3 callersFunctionsetStyle
* Sets the CSS style of the specified element with optional units, e.g. "px". * @param {Element} element * @param {string} property * @param {?stri
third_party/subscriptions-project/swg.js:3600
↓ 3 callersFunctionsetStyles
* Sets the CSS styles of the specified element. The styles * a specified as a map from CSS property names to their values. * @param {!Element} eleme
third_party/subscriptions-project/swg.js:3619
↓ 3 callersMethodsetToastShown
* @param {boolean} value
third_party/subscriptions-project/swg.js:12849
↓ 3 callersMethodsetTransportConfig
* @param {!JsonObject} transportConfig
src/extension-analytics.js:140
↓ 3 callersFunctionsetUpShoppingData
()
extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-tag.js:74
↓ 3 callersFunctionsetUpVideoWithCaptions
()
extensions/amp-story-captions/0.1/test/test-amp-story-captions.js:48
↓ 3 callersMethodsetUrl
* @param {string} value
third_party/subscriptions-project/swg.js:611
↓ 3 callersMethodsetVisible_
* @param {boolean} visible * @private
extensions/amp-animation/0.1/amp-animation.js:348
↓ 3 callersFunctionsetup
* @param {Array<string>} externals * @param {object} remaps * @return {*}
build-system/tasks/remap-dependencies-plugin/test-remap-dependencies.js:52
↓ 3 callersFunctionsetup
(slotHeight, slotWidth, creativeHeight, creativeWidth)
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-safeframe.js:56
↓ 3 callersFunctionsetup
(embeded, userAgent, referrer)
extensions/amp-dynamic-css-classes/0.1/test/test-runtime-classes.js:29
← previousnext →4,701–4,800 of 18,703, ranked by callers