MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 7 callersMethodrun
* Runs vsync task: measure followed by mutate. * * If state is not provided, the value passed to the measure and mutate * will be undefined.
src/service/vsync-impl.js:170
↓ 7 callersFunctions
(n)
third_party/d3/d3.js:1
↓ 7 callersMethodsaveBlob
* Saves the store blob for the specified origin and returns the promise * that's resolved when the operation completes. * @param {string} unused
src/service/storage-impl.js:306
↓ 7 callersMethodsaveGrantEntitlement_
* Checks and saves the entitlement for grant status * @param {!Entitlement} entitlement * @private
extensions/amp-subscriptions/0.1/platform-store.js:374
↓ 7 callersMethodsaveMeteringState
* Saves metering state for a given publication ID. * * @param {!MeteringStateDef} meteringState * @return {!Promise}
extensions/amp-subscriptions/0.1/metering.js:56
↓ 7 callersMethodscheduleDisplay_
* Returns a promise that attempt to show prompt UI * @param {boolean} isActionPromptTrigger
extensions/amp-consent/0.1/amp-consent.js:379
↓ 7 callersMethodscheduleRender_
@protected
src/preact/base-element.js:568
↓ 7 callersMethodscroll_
@private
src/inabox/inabox-viewport.js:374
↓ 7 callersFunctionsend
* @param {MessageType} type * @param {*} message
3p/amp-script-proxy-iframe.js:24
↓ 7 callersMethodsend
* @param {string} eventType * @param {?JsonObject|string|undefined} data * @param {boolean=} cancelUnsent
extensions/amp-story/1.0/amp-story-viewer-messaging-handler.js:124
↓ 7 callersMethodsendCommand_
* Sends a command to the player through postMessage. * @param {string} command * @param {*=} opt_arg * @private *
extensions/amp-brid-player/0.1/amp-brid-player.js:275
↓ 7 callersFunctionsendFakeMessage
(impl, iframe, command)
extensions/amp-3q-player/0.1/test/test-amp-3q-player.js:212
↓ 7 callersMethodsendHighlightState_
* @param {string} state * @param {JsonObject=} opt_params * @private
extensions/amp-viewer-integration/0.1/highlight-handler.js:205
↓ 7 callersMethodsendResizeResponse
* @param {boolean} success * @param {string} messageType
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:641
↓ 7 callersFunctionsetCookies
()
extensions/amp-a4a/0.1/test/test-amp-a4a-cookies.js:14
↓ 7 callersFunctionsetMacro
* Sets macro type. * @param {string} type
ads/vendors/medianet.js:78
↓ 7 callersMethodsetPlayState_
* @param {!WebAnimationPlayState} playState * @private
extensions/amp-animation/0.1/runners/native-web-animation-runner.js:226
↓ 7 callersMethodsetReady
* Sets whether this object is ready. Ready means that visibility is * ready to be calculated, e.g. because an element has been * sufficiently re
extensions/amp-analytics/0.1/visibility-model.js:235
↓ 7 callersFunctionsetRtcConfig
(rtcConfig)
test/unit/test-real-time-config.js:77
↓ 7 callersFunctionsetScrollDirection
(direction)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:116
↓ 7 callersFunctionsetStyles
(element, styles)
src/core/dom/transition.js:47
↓ 7 callersMethodsetVar
` * Adds a variable for a specific ad that can be used in all subsequent triggers. * @param {number} adIndex * @param {string} varName * @
extensions/amp-story-auto-ads/0.1/story-ad-analytics.js:83
↓ 7 callersMethodsetVisibility
* @param {VisibilityState_Enum} visibilityState
extensions/amp-next-page/1.0/page.js:146
↓ 7 callersFunctionsetupAMPCors
(win, input, init)
src/utils/xhr-utils.js:285
↓ 7 callersMethodsha384
* Returns the SHA-384 hash of the input string in a number array. * Input string cannot contain chars out of range [0,255]. * @param {string|!Ui
src/service/crypto-impl.js:61
↓ 7 callersMethodshouldUnblock
(purpose)
extensions/amp-consent/0.1/consent-policy-manager.js:356
↓ 7 callersMethodsignalReady
* The recognizer can call this method to communicate that it's ready to * start emitting the gesture. Optionally it can pass a zero, positive or
src/gesture.js:614
↓ 7 callersMethodskipFirefox
()
testing/test-config.js:60
↓ 7 callersMethodstopTracking_
* @param {number} index * @private
src/gesture.js:539
↓ 7 callersFunctionstubFetch
(url, headers, text, responseUrl)
extensions/amp-script/0.1/test/unit/test-amp-script.js:59
↓ 7 callersFunctionsupportBackDate
* @param {number} input * @return {number}
extensions/amp-date-countdown/1.0/component.js:235
↓ 7 callersMethodsupportBackDate_
* @param {number} input * @return {number} * @private
extensions/amp-date-countdown/0.1/amp-date-countdown.js:337
↓ 7 callersMethodswitchToWindow
* @param {string} handle * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:617
↓ 7 callersFunctiontargetFitsWithinPage
(dimensions)
extensions/amp-story/1.0/animation-presets-utils.js:69
↓ 7 callersFunctionte
()
examples/amp-script/vue-todomvc.js:7
↓ 7 callersFunctiontestHasRoughlyDifferentOrigin
* Tests whether two URLs have different origins according to our simple * heuristic. * @param {string} first The first URL. * @param {s
test/unit/test-viewer.js:1299
↓ 7 callersFunctiontestNotRewritten
()
extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js:701
↓ 7 callersMethodtickSinceVisible
* Tick time delta since the document has become visible. * @param {TickLabel_Enum} label The variable name as it will be reported. * @param {num
src/service/performance-impl.js:862
↓ 7 callersMethodtoggleVisibility
* Adds/removes [amp-story-visible] on FIE body so that animations can * respond accordingly.
extensions/amp-story-auto-ads/0.1/story-ad-page.js:181
↓ 7 callersMethodtransformSrc_
* Transforms the src attribute. When possible, it adds `#amp=1` fragment * to indicate that the iframe is running in AMP environment. * @param {
extensions/amp-iframe/0.1/amp-iframe.js:205
↓ 7 callersFunctiontryCallback
(callback, ...args)
src/core/error/index.js:84
↓ 7 callersMethodunlayoutCallback
()
test/unit/test-custom-element.js:72
↓ 7 callersMethodunlayoutCallback
()
test/unit/test-extension-analytics.js:424
↓ 7 callersMethodunlisten_
* Unlisten a listener and clear. If null, does nothing * @param {?UnlistenDef} handle * @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:464
↓ 7 callersFunctionunregisterIframe
* Unregister the specified iframe from the host script at the specified window. * Use this command to reset between tests so the host script stops ob
test/integration/test-amphtml-ads.js:515
↓ 7 callersMethodunwrapChildren
* Unwraps the root element and returns any children in an array. * Text node children are normalized inside a <div>. * @param {!Element} root
src/base-template.js:109
↓ 7 callersMethodupdateActiveItem_
* Given a delta between the current active item and the desired active item, * marks the desired active item as active. Loops to the beginning.
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1170
↓ 7 callersMethodupdateEvent
* Updates EventTimestamp for this session, * asynchronously as a callback to avoid duplicate writing, * when the session is retrieved or created
extensions/amp-analytics/0.1/session-manager.js:159
↓ 7 callersMethodupdateLayoutPriority
* Updates the priority of the resource. If there are tasks currently * scheduled, their priority is updated as well. * * This method can be c
src/base-element.js:311
↓ 7 callersMethodupdateOnPositionChange_
* @param {!VideoOrBaseElementDef} video * @param {!RectDef=} opt_inlineRect * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:648
↓ 7 callersMethodupdatePaddingTop
* Updates the viewer's padding-top position and recalculates offsets of * all elements. The padding update can be transient, in which case the *
src/service/fixed-layer.js:272
↓ 7 callersMethodupdatePanZoomBounds_
* Updates X/Y bounds based on the provided scale value. The min/max bounds * are calculated to allow full pan of the image regardless of the scale
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:460
↓ 7 callersMethoduserInteracted
* Returns whether the video was interacted with or not * @return {boolean}
src/service/video-manager-impl.js:984
↓ 7 callersFunctionvalidate
(data, schemaName = "complex")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-complex/output.mjs:1231
↓ 7 callersFunctionvalidateExperimentIds
(idList)
ads/google/a4a/traffic-experiments.js:119
↓ 7 callersFunctionvalues
(target)
src/polyfills/object-values.js:8
↓ 7 callersFunctionverifyArray
(actual, lower, upper)
ads/google/test/test-utils.js:21
↓ 7 callersFunctionverifyCachedContentIframeRender
* @param {!Element} element * @param {string} srcUrl * @param {boolean=} shouldSandbox
extensions/amp-a4a/0.1/test/test-amp-a4a.js:506
↓ 7 callersFunctionverifyElementsBuilt
(controller, builtMap)
extensions/amp-consent/0.1/test-e2e/common.js:45
↓ 7 callersFunctionverifyPromptsHidden
(controller, hiddenMap)
extensions/amp-consent/0.1/test-e2e/common.js:77
↓ 7 callersFunctionverifySelectorsInvisible
* Verifies that all CSS elements are as expected before taking a snapshot. * * @param {!puppeteer.Page} page a Puppeteer control browser tab/page.
build-system/tasks/visual-diff/verifiers.js:25
↓ 7 callersMethodvisitAncestorsStartingFrom
* @param {?Element} element
src/utils/dom-ancestor-visitor.js:63
↓ 7 callersMethodwaitFor
* Waits for another element to finish animating. * @param {string} id * @return {!Promise<void>}
extensions/amp-story/1.0/animation.js:881
↓ 7 callersFunctionwaitForRender
()
extensions/amp-image-slider/1.0/test/test-amp-image-slider.js:28
↓ 7 callersFunctionwaitForRender
(element)
extensions/amp-fit-text/1.0/test/test-amp-fit-text.js:24
↓ 7 callersFunctionwaitForRender
()
extensions/amp-twitter/1.0/test/test-amp-twitter.js:20
↓ 7 callersMethodwhenIniLoaded
* Returns the promise that will be resolved as soon as the elements within * the root have been loaded inside the first viewport of the root. *
extensions/amp-analytics/0.1/analytics-root.js:430
↓ 7 callersMethodwhenLoaded
* @return {!Promise} * @final
src/custom-element.js:779
↓ 7 callersMethodwhenReady
@override
third_party/subscriptions-project/swg.js:10711
↓ 7 callersMethodxhrSubmitPromiseForTesting
* Returns a promise that resolves when xhr submit finishes. The promise * will be null if xhr submit has not started. * @visibleForTesting *
extensions/amp-form/0.1/amp-form.js:1425
↓ 7 callersFunctionyr
(n,t)
third_party/d3/d3.js:2
↓ 7 callersFunctionzt
(e)
third_party/react-dates/bundle.js:1
↓ 6 callersFunction$e
(n)
third_party/d3/d3.js:2
↓ 6 callersFunction$t
(e)
third_party/react-dates/bundle.js:1
↓ 6 callersFunctionA
(e,t,n,a,r)
third_party/inputmask/bundle.js:11
↓ 6 callersFunctionBe
(n)
third_party/d3/d3.js:2
↓ 6 callersFunctionC
(a, b)
third_party/closure-library/sha384-generated.js:52
↓ 6 callersFunctionFileList
({basepath, fileSet, htmlEnvelopePrefix})
build-system/server/app-index/file-list.js:55
↓ 6 callersFunctionG
(e,t,n)
third_party/inputmask/bundle.js:11
↓ 6 callersFunctionHe
(e,a)
third_party/react-dates/bundle.js:1
↓ 6 callersFunctionIr
(n)
third_party/d3/d3.js:2
↓ 6 callersFunctionKi
(n,t)
third_party/d3/d3.js:2
↓ 6 callersFunctionM
(a,b)
third_party/wgxpath/wgxpath.js:43
↓ 6 callersFunctionMa
(e,a,t)
third_party/react-dates/bundle.js:1
↓ 6 callersMethodMessageIdForKey
Yields the message id for a key, registering a new one if needed. Args: message_key: an instance of MessageKey Returns: The messa
validator/validator_gen_js.py:156
↓ 6 callersFunctionN
(e,t)
third_party/react-dates/bundle.js:1
↓ 6 callersFunctionO
(a,b,c,d,e)
third_party/wgxpath/wgxpath.js:44
↓ 6 callersFunctionTs
(e)
third_party/react-dates/bundle.js:1
↓ 6 callersFunctionYd
(e)
third_party/react-dates/bundle.js:1
↓ 6 callersFunctionYi
(n)
third_party/d3/d3.js:2
↓ 6 callersFunction_typeof
(e)
third_party/inputmask/bundle.js:5
↓ 6 callersFunctiona
(e)
examples/amp-script/vue-todomvc.js:7
↓ 6 callersFunctiona
(e)
third_party/inputmask/bundle.js:5
↓ 6 callersFunctionacceptMockedMessages
(videoIframe)
extensions/amp-video-iframe/0.1/test/test-amp-video-iframe.js:70
↓ 6 callersMethodactivated_
* @param {!Event} event * @private
extensions/amp-script/0.1/user-activation-tracker.js:113
↓ 6 callersMethodaddAd
* @param {!Element} ad
extensions/amp-auto-ads/0.1/ad-tracker.js:69
↓ 6 callersMethodaddDefaultArguments
* Adds client version, publication, product and logging context information. * @param {?Object=} args * @return {!Object}
third_party/subscriptions-project/swg.js:6949
↓ 6 callersMethodaddGroup
* @param {string} name * @param {function(Node):boolean} match * @param {number} weight * @return {ContextNode<?>}
src/core/context/node.js:356
↓ 6 callersFunctionaddLink
(opt_content, opt_href)
test/unit/test-font-stylesheet-timeout.js:38
↓ 6 callersFunctionadoptShadowMode
(global)
src/runtime.js:414
← previousnext →2,301–2,400 of 18,703, ranked by callers