MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 5 callersFunctionsetupElementFunctions
(div)
test/unit/3p/test-3p-frame.js:68
↓ 5 callersMethodsetupElement_
* This method records the potentially fixed or sticky element. One of a more * critical functions - it records all selectors that may apply "fixed"
src/service/fixed-layer.js:652
↓ 5 callersFunctionsetupInput
(win, input, init)
src/utils/xhr-utils.js:238
↓ 5 callersFunctionsetupJsonFetchInit
(init)
src/utils/xhr-utils.js:302
↓ 5 callersFunctionsetupSingletonMutationObserver
(opt_cb = () => {})
test/unit/test-hidden-observer.js:14
↓ 5 callersFunctionshowControls
(opt_adsForce)
ads/google/ima/ima-video.js:1331
↓ 5 callersMethodsignalEmit
* The recognizer can call this method to emit the gestures while in the * "emitting" state. Recognizer can only call this method if it has * pre
src/gesture.js:647
↓ 5 callersMethodsignalEnd
* The recognizer can call this method to communicate that it's done * emitting the gestures. It will return to the waiting state. Recognizer * c
src/gesture.js:636
↓ 5 callersFunctionsigningServiceError
* Report an error caused by a signing service. Since signing services currently * don't have their own error logging URLs, we just send everything to
extensions/amp-a4a/0.1/signature-verifier.js:403
↓ 5 callersFunctionsleep
* Returns a Promise that resolves after the specified number of milliseconds. * @param {number} ms * @return {Promise<void>}
build-system/tasks/visual-diff/helpers.js:28
↓ 5 callersFunctionsleep
(ms)
extensions/amp-analytics/0.1/test-e2e/test-browser-event.js:16
↓ 5 callersFunctionsn
(n,t,e)
third_party/d3/d3.js:1
↓ 5 callersMethodsolveYValueFromXValue
* Computes the y coordinate of a point on the curve given its x coordinate. * @param {number} xVal The x coordinate of the point on the curve. *
src/core/data-structures/curve.js:46
↓ 5 callersMethodssr
* Proxies xhr and template rendering to the viewer. * Returns the renderable response, for use with applySsrOrCsrTemplate. * @param {!Element} e
src/ssr-template-helper.js:79
↓ 5 callersFunctionst
(e)
examples/amp-script/vue-todomvc.js:7
↓ 5 callersMethodstart
* Starts the animation and returns the AnimationPlayer object that can be * used to monitor and control the animation. * * @param {!Timestamp
src/utils/animation.js:106
↓ 5 callersFunctionstartServer
* Launches a server and waits for it to fully start up * * @param {?Object} connectOptions * @param {?Object} serverOptions * @param {?Object} mod
build-system/tasks/serve.js:96
↓ 5 callersFunctionstartTimer
* Starts a timer to measure the execution time of the given job / command. * @param {string} jobNameOrCmd * @return {DOMHighResTimeStamp}
build-system/pr-check/utils.js:128
↓ 5 callersMethodstorage
@override
third_party/subscriptions-project/swg.js:19108
↓ 5 callersFunctionstringifyViewportMeta
(params)
src/service/viewport/viewport-impl.js:1135
↓ 5 callersFunctionstubBuild
(resource)
test/unit/test-resources.js:1392
↓ 5 callersFunctionstubPostMessage
(videoIframe)
extensions/amp-video-iframe/0.1/test/test-amp-video-iframe.js:89
↓ 5 callersFunctionstubValidationMessage
(input)
extensions/amp-form/0.1/test/test-form-verifiers.js:8
↓ 5 callersMethodsubscribe
* Adds a subscriber for the specified property. If the property has not * yet been tracked, the tracking is started. If the used value is * alre
src/core/context/values.js:187
↓ 5 callersFunctionswipeDown
()
test/unit/test-amp-story-player.js:47
↓ 5 callersFunctiontapNavigationUntil
(pageIndex)
extensions/amp-story/1.0/test/test-amp-story.js:1434
↓ 5 callersFunctiontest
* Tests trust determination by referrer. * @param {string} referrer URL under test. * @param {boolean} toBeTrusted The expected outcome.
test/unit/test-impression.js:465
↓ 5 callersFunctiontest
(url, targetDomain, opt_allowProxyOrigin)
test/unit/test-cookies.js:145
↓ 5 callersFunctiontestAmpComponents
()
test/integration/test-amphtml-ads.js:424
↓ 5 callersFunctiontestSuiteIos
()
extensions/amp-app-banner/0.1/test/test-amp-app-banner.js:141
↓ 5 callersMethodtoday
(offset?: number)
extensions/amp-date-picker/1.0/types.ts:58
↓ 5 callersFunctiontranslate
(transitionX, opt_transitionY)
src/core/dom/transition.js:80
↓ 5 callersMethodtriggerEvent_
* Triggers event given name * @param {string} name * @param {!Element} section * @param {!ActionTrust_Enum} trust
extensions/amp-accordion/0.1/amp-accordion.js:277
↓ 5 callersMethodtriggerLoginRequest
* @param {!../api/subscriptions.LoginRequest} request * @return {boolean} Whether the callback has been found.
third_party/subscriptions-project/swg.js:9086
↓ 5 callersFunctiontrimEnd
(str)
src/core/types/string/index.js:125
↓ 5 callersFunctionui
(n,t)
third_party/d3/d3.js:2
↓ 5 callersMethoduniform
* Returns a uniform hash of the input string as a float number in the range * of [0, 1). * Input string cannot contain chars out of range [0,255
src/service/crypto-impl.js:122
↓ 5 callersFunctionunits
* Coerces a number into a string with units. * @param {number|string} value * @param {function(number):string} fn * @return {string}
src/core/dom/style.js:237
↓ 5 callersFunctionunobserveBorderBoxSize
(element, callback)
src/core/dom/layout/size-observer.js:90
↓ 5 callersMethodupdateBoxRect_
* @param {?../layout-rect.LayoutRectDef|undefined} positionRect * @private
src/inabox/inabox-viewport.js:615
↓ 5 callersMethodupdateDimensions
* @param {number} width * @param {number} height
3p/ampcontext-integration.js:84
↓ 5 callersMethodupdateEngagedForSessions_
Sets the engaged session value for all sessions and persists.
extensions/amp-analytics/0.1/session-manager.js:126
↓ 5 callersMethodupdateFragment
* Update the page url fragment * @param {string} fragment * @return {!Promise}
src/service/history-impl.js:188
↓ 5 callersMethodupdateGeometry_
* Sends a geometry update message into the safeframe. * @private
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:351
↓ 5 callersMethodupdateSlides
* Lets the scrollable know that the slides have changed. This is needed for * various internal calculations. * @param {!Array<!Element>} slides
extensions/amp-base-carousel/0.1/carousel.js:600
↓ 5 callersMethodupdateUi_
* Updates the UI of the <amp-base-carousel> itself, but not the internal * implementation. * @private
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:669
↓ 5 callersFunctionupgradePolyfill
(win, installer)
src/polyfills/stubs/resize-observer-stub.js:43
↓ 5 callersFunctionur
(n,t)
third_party/d3/d3.js:2
↓ 5 callersFunctionuseDatePickerContext
()
extensions/amp-date-picker/1.0/component/use-date-picker-context.tsx:216
↓ 5 callersFunctionuseLoading
(loadingProp?: Loading_Enum | string)
src/preact/context.tsx:88
↓ 5 callersMethodusesLoading
* Subclasses can override this method to indicate that an element can load * network resources. * * Such elements can have their `ensureLoade
src/base-element.js:174
↓ 5 callersFunctionv
(a)
third_party/closure-library/sha384-generated.js:28
↓ 5 callersFunctionvalidateParentOrigin
(window, parentLocation)
3p/integration-lib.js:205
↓ 5 callersFunctionve
(e)
examples/amp-script/vue-todomvc.js:7
↓ 5 callersFunctionverifyClockHandRect
(controller, rect)
extensions/amp-position-observer/0.1/test-e2e/test-target-id.js:60
↓ 5 callersFunctionverifyClockHandRect
(controller, rect)
extensions/amp-position-observer/0.1/test-e2e/test-scrollbound-animation.js:60
↓ 5 callersMethodvideoVisibilityChanged_
* Called when visibility of a video changes. * @private
src/service/video-manager-impl.js:764
↓ 5 callersFunctionw
(n)
third_party/d3/d3.js:1
↓ 5 callersFunctionwaitForAllScannedToBeResolved
()
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:420
↓ 5 callersFunctionwaitForCarouselLayout
()
test/integration/test-amp-carousel.js:18
↓ 5 callersMethodwaitForHandshakeFromDocument
* Waits for handshake from iframe and initializes messaging. * * Requires the `origin` viewer parameter to be specified. * @param {!Window} s
extensions/amp-viewer-integration/0.1/messaging/messaging.js:151
↓ 5 callersFunctionwaitForJsInIframe
(opt_ranJs = 1, opt_timeout = 300)
extensions/amp-iframe/0.1/test/test-amp-iframe.js:93
↓ 5 callersFunctionwaitForMutation
(element, callback)
test/unit/preact/test-base-element-mapping.js:50
↓ 5 callersFunctionwaitForNextBodyChunk
()
test/unit/utils/test-dom-writer.js:34
↓ 5 callersFunctionwaitForRender
()
extensions/amp-facebook/1.0/test/test-amp-facebook-like.js:23
↓ 5 callersFunctionwe
(n,t)
third_party/d3/d3.js:2
↓ 5 callersMethodwhenMounted
* Returns the promise that's resolved when the element has been mounted. If * the mount fails, the resulting promise is rejected. * @return
src/custom-element.js:771
↓ 5 callersMethodwhenReady_
* @param {function():!Promise<RESULT>} callback * @return {!Promise<RESULT>} * @template RESULT * @private
src/service/history-impl.js:671
↓ 5 callersMethodwithVars
* @param {?{[key: string]: *}} vars * @param {function():T} callback * @return {T} * @template T * @protected
extensions/amp-animation/0.1/web-animations.js:1001
↓ 5 callersMethodwith_
* Resolves common parameters of an animation: target, timing and vars. * @param {!WebAnimationDef} spec * @param {function()} callback * @pri
extensions/amp-animation/0.1/web-animations.js:581
↓ 5 callersFunctionwriteDiffOrFail
* Diffs a file against new content. * If `argv.fix` is true, the file is written with the new content, otherwise * errors out. * @param {string} ca
build-system/common/diff.js:39
↓ 5 callersFunctionwriteFriendlyFrame
* Write the HTML page into the provided iframe then add it to the document.
test/integration/test-amphtml-ads.js:493
↓ 5 callersFunctionwriteSafeFrame
* Write the HTML page into the provided iframe, turn it into a safe frame * then add it to the document.
test/integration/test-amphtml-ads.js:503
↓ 5 callersFunctionx
(n,t)
third_party/d3/d3.js:1
↓ 5 callersFunctiony
(e,t,r)
third_party/inputmask/bundle.js:5
↓ 5 callersFunctiony
(n,t)
third_party/react-dates/bundle.js:1
↓ 4 callersFunction$
(e,t,r,i)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunction$i
(n)
third_party/d3/d3.js:2
↓ 4 callersFunctionA
(n)
third_party/d3/d3.js:1
↓ 4 callersFunctionA
(a, b)
third_party/closure-library/sha384-generated.js:71
↓ 4 callersFunctionAu
(n,t)
third_party/d3/d3.js:2
↓ 4 callersFunctionB
(a,b,c,d,e)
third_party/wgxpath/wgxpath.js:38
↓ 4 callersFunctionCb
(a)
third_party/wgxpath/wgxpath.js:67
↓ 4 callersFunctionCn
(n,t,e,r)
third_party/d3/d3.js:1
↓ 4 callersFunctionD
(e)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionD
(e,t)
third_party/inputmask/bundle.js:11
↓ 4 callersFunctionDe
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionDn
()
third_party/d3/d3.js:1
↓ 4 callersFunctionE
(e,t,n,o,r)
examples/amp-script/todomvc.ssr.js:2
↓ 4 callersFunctionEa
(a,b)
third_party/wgxpath/wgxpath.js:37
↓ 4 callersFunctionFunction
(node)
build-system/eslint-rules/no-function-async.js:5
↓ 4 callersFunctionGa
(e)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionGt
(n,t)
third_party/d3/d3.js:1
↓ 4 callersFunctionHe
(e,t,n,r,i)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionHn
(e)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionI
(e,a)
third_party/react-dates/bundle.js:1
↓ 4 callersMethodInternString
Interns strings to eliminate duplicates and to refer to them as numbers. Args: a_string: the string to be interned Returns: The s
validator/validator_gen_js.py:132
↓ 4 callersFunctionM
(e,t)
third_party/inputmask/bundle.js:11
↓ 4 callersMethodMessageReferenceForKey
A message reference is the variable name used in validator-generated.js. Args: message_key: an instance of MessageKey Returns: Th
validator/validator_gen_js.py:173
↓ 4 callersFunctionN
(n)
third_party/d3/d3.js:1
← previousnext →3,101–3,200 of 18,703, ranked by callers