MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 26 callersMethodnorm
@override
extensions/amp-animation/0.1/parsers/css-expr-ast.js:541
↓ 26 callersMethodonTouchMove
* The Gestures instance calls this method for each "touchmove" event. If * the recognizer wants to continue receiving touch events in the series,
src/gesture.js:683
↓ 26 callersMethodparse
* Given a SAX-like `HtmlSaxHandler` parses a * `htmlText` and lets the `handler` know the structure while * visiting the nodes. If the provided
validator/js/engine/htmlparser.js:514
↓ 26 callersMethodpreloadExtension
* Returns the promise that will be resolved when the extension has been * loaded. If necessary, adds the extension script to the page. * @param
src/service/extensions-impl.js:214
↓ 26 callersFunctionr
(e)
examples/amp-script/vue-todomvc.js:7
↓ 26 callersMethodregister
* Registers the specified element to be usable by the media pool. Elements * should be registered as early as possible, in order to prevent them f
extensions/amp-story/1.0/media-pool.js:701
↓ 26 callersFunctionserializeQueryString
(params)
src/url.js:269
↓ 26 callersMethodtickDelta
* Tick a very specific value for the label. Use this method if you * measure the time it took to do something yourself. * @param {TickLabel_Enum
src/service/performance-impl.js:853
↓ 26 callersMethodurl
* Preconnects to a URL. Always also does a dns-prefetch because * browser support for that is better. * * It is safe to call this method duri
src/preconnect.js:118
↓ 26 callersMethodwait
(duration)
testing/helpers/service.js:242
↓ 26 callersMethodwhenReady
* Function to return a promise for when * it is finished delaying render, and is ready. * Implemented from RenderDelayingService * @return {!
extensions/amp-experiment/1.0/variant.js:51
↓ 25 callersFunctionallocateVariant
(ampdoc, experimentName, config)
extensions/amp-experiment/0.1/variant.js:64
↓ 25 callersFunctionarrayBinarySearch
* @param {!Array<number>} arr * @param {number} target * @param {BinarySearchStop=} stop * @param {BinarySearchPreference=} preference
extensions/amp-truncate-text/0.1/test/test-binary-search.js:17
↓ 25 callersFunctionassertConfig
(context, config, documentUrl)
extensions/amp-next-page/0.1/config.js:40
↓ 25 callersMethodbuildCallback
()
test/unit/test-custom-element.js:55
↓ 25 callersMethodclose
* Closes the toast. * @return {!Promise}
third_party/subscriptions-project/swg.js:12020
↓ 25 callersFunctioncreateElement
( content, {container = doc.body, height, layout = 'fixed', width} )
extensions/amp-truncate-text/0.1/test/test-amp-truncate-text.js:49
↓ 25 callersFunctioncreateFormDataWrapper
(win, opt_form)
src/form-data-wrapper.js:16
↓ 25 callersMethodcurrent
* The currently-being-upgraded custom element. * * When an already created (through the DOM parsing APIs, or innerHTML) * custom element node
src/polyfills/custom-elements.js:231
↓ 25 callersFunctionexpandTemplate
(template, getter, opt_maxIterations)
src/core/types/string/index.js:88
↓ 25 callersMethodfindElements
* This waits for elements to become available similar to Selenium's * until.js#elementsLocated * {@link https://github.com/SeleniumHQ/selenium/b
build-system/tasks/e2e/selenium-webdriver-controller.js:145
↓ 25 callersMethodgetLayoutRect
@override
src/inabox/inabox-viewport.js:227
↓ 25 callersMethodgetPublicationId
* @return {string}
third_party/subscriptions-project/config.js:297
↓ 25 callersMethodgetScopedCid
* @param {string} apiKey * @param {string} scope * @return {!Promise<?string>}
src/service/cid-api.js:62
↓ 25 callersFunctiongetShadowRoot
(hostElement)
test/unit/test-runtime.js:1939
↓ 25 callersFunctioninstallFriendlyIframeEmbed
( iframe, container, spec, opt_preinstallCallback // TODO(#22733): remove "window" argument. )
src/friendly-iframe-embed.js:136
↓ 25 callersMethodjson
* @return {!Object}
third_party/subscriptions-project/swg.js:4706
↓ 25 callersMethodlayoutCallback
@override
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:102
↓ 25 callersFunctionle
(e,a)
third_party/react-dates/bundle.js:1
↓ 25 callersMethodload
* Triggers the font load. Returns promise that will complete when loading * is considered to be complete. * @param {!FontConfigDef} fontConfig C
extensions/amp-font/0.1/fontloader.js:56
↓ 25 callersFunctionlogLocalDev
* Logs messages only during local development * @param {...string} messages
build-system/common/logging.js:47
↓ 25 callersMethodonBlur
* @param {!Event} unusedEvent
extensions/amp-form/0.1/form-validators.js:97
↓ 25 callersFunctionplaceElementLtwh
(ampEl, left, top, width, height)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:106
↓ 25 callersFunctionprop
(el, name)
extensions/amp-base-carousel/1.0/test-e2e/test-component.js:27
↓ 25 callersMethodresolvePlatform
* Resolves a platform in the store * @param {string} platformKey * @param {!./subscription-platform.SubscriptionPlatform} platform
extensions/amp-subscriptions/0.1/platform-store.js:99
↓ 25 callersFunctionrunSerializeTest
( fakeEntries, resourceTimingSpec, expectedResult )
extensions/amp-analytics/0.1/test/test-resource-timing.js:90
↓ 25 callersMethodscheduleLayout
@override
src/service/owners-impl.js:50
↓ 25 callersFunctionsetImportantStyles$1
* Sets the CSS styles of the specified element with !important. The styles * are specified as a map from CSS property names to their values. * @para
third_party/subscriptions-project/swg.js:3582
↓ 25 callersMethodverifyCreativeAndSignature
* Verifies that `signature` is the correct cryptographic signature for * `creative`, with the public key from the named signing service identified
extensions/amp-a4a/0.1/signature-verifier.js:200
↓ 24 callersFunctionT
(a)
third_party/wgxpath/wgxpath.js:55
↓ 24 callersFunctionaddQueryParam
* Adds a parameter to a query string. * @param {string} url * @param {string} param * @param {string} value * @return {string}
third_party/subscriptions-project/swg.js:5388
↓ 24 callersMethodauthorize
* Authorize document. * @return {!Promise<!JsonObject>}
extensions/amp-access/0.1/iframe-api/access-controller.js:23
↓ 24 callersMethodcalled
* Returns whether a particular URL specified by an earlier call to `getOnce` * was ever actually used for a GET request. * * @param {string}
extensions/amp-a4a/0.1/test/fetch-mock.js:76
↓ 24 callersMethodclosest
* Returns the closest available context node to the one specified. If the * `node` has the context node, it's returned unless `includeSelf` is set
src/core/context/node.js:88
↓ 24 callersFunctioncomplete
(str)
test/unit/test-chunk.js:51
↓ 24 callersFunctionel
(id)
test/unit/core/context/test-node-discover.js:45
↓ 24 callersMethodfireEvent
* Construct an analytics event and trigger it. * @param {!Element} element amp-story-page element containing ad. * @param {number} adIndex *
extensions/amp-story-auto-ads/0.1/story-ad-analytics.js:67
↓ 24 callersMethodget
@override
src/service/cid-impl.js:175
↓ 24 callersFunctiongetAmpSidebar
(options)
extensions/amp-sidebar/0.2/test/test-amp-sidebar.js:53
↓ 24 callersFunctiongetAttributeMutationDefaultStyle
(value)
extensions/amp-experiment/1.0/test/test-attribute-mutation.js:51
↓ 24 callersFunctiongetContentTransform
(wrapper)
extensions/amp-pan-zoom/1.0/test/test-component.js:21
↓ 24 callersFunctiongetDetail
(event)
src/utils/event-helper.js:72
↓ 24 callersFunctiongetFormAsObject
(form)
src/core/dom/form.js:29
↓ 24 callersFunctiongetSlide
(controller, n)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:32
↓ 24 callersFunctioninstallVideoManagerForDoc
(nodeOrDoc)
src/service/video-manager-impl.js:1617
↓ 24 callersMethodmaybeExpandLink
* Replaces values in the link of an anchor tag if * - the link opts into it (via data-amp-replace argument) * - the destination is the source or
src/service/url-replacements-impl.js:1060
↓ 24 callersFunctionn
(t,a)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 24 callersMethodnumberOfBindings
* The current number of bindings. * @return {number} * @visibleForTesting
extensions/amp-bind/0.1/bind-impl.js:637
↓ 24 callersFunctionobserveIntersections
(element, callback, opts)
src/core/dom/layout/viewport-observer.js:45
↓ 24 callersMethodopen
Open the sidebar
extensions/amp-sidebar/1.0/component.type.js:41
↓ 24 callersFunctionregularExtension
(fn, opt_rtvVersion)
test/unit/test-runtime.js:66
↓ 24 callersFunctionrequireExternal
(module)
src/module.js:10
↓ 24 callersFunctiont
()
third_party/react-dates/bundle.js:1
↓ 24 callersFunctionu
(e,i)
third_party/react-dates/bundle.js:1
↓ 24 callersMethodupdate
* @param {!JsonObject} action
extensions/amp-access-scroll/0.1/scroll-sheet.js:29
↓ 24 callersFunctionvalidateAllowedEmbeddingOrigins
(window, allowedHostnames)
3p/integration-lib.js:257
↓ 23 callersFunctionF
(a,b)
third_party/wgxpath/wgxpath.js:43
↓ 23 callersFunctionM
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 23 callersFunctioncaret
(input, begin, end, notranslate)
third_party/inputmask/inputmask.js:2201
↓ 23 callersFunctioncurrentBitrates
(video)
extensions/amp-video/0.1/test/test-flexible-bitrate.js:229
↓ 23 callersMethodevaluate
* Evaluate the given function * @param {function(): any} fn * @param {...*} args * @return {!Promise<*>}
build-system/tasks/e2e/selenium-webdriver-controller.js:596
↓ 23 callersMethodgetConsentInstanceInfo
* Get local consent instance state * @return {Promise<!ConsentInfoDef>}
extensions/amp-consent/0.1/consent-state-manager.js:186
↓ 23 callersMethodgetElements
* Searches for the element(s) that matches the selector * within the scope of the analytics root in relationship to * the specified context node
extensions/amp-analytics/0.1/analytics-root.js:328
↓ 23 callersFunctiongetGallery
({ attrs = {}, customArrows = false, slideCount = 5, width, } = {})
extensions/amp-stream-gallery/0.1/test/test-amp-stream-gallery.js:114
↓ 23 callersFunctiongetIframe
( parentWindow, parentElement, opt_type, opt_context, options = {} )
src/3p-frame.js:59
↓ 23 callersMethodgetPlaceholder
* Returns an optional placeholder element for this custom element. * @return {?Element} * @public @final
src/base-element.js:766
↓ 23 callersFunctiongetScrollContainer
* @param {!Element} el * @return {!Element}
extensions/amp-stream-gallery/0.1/test/test-amp-stream-gallery.js:110
↓ 23 callersMethodgetVsync
* @public * @return {!./service/vsync-impl.Vsync}
src/base-element.js:355
↓ 23 callersMethodgo
* Does all the work needed to proceed to next * desired direction. * @param {number} dir -1 or 1 * @param {boolean} animate * @param {bool
extensions/amp-carousel/0.1/slidescroll.js:370
↓ 23 callersFunctionie
(a,r,o,s)
third_party/inputmask/bundle.js:11
↓ 23 callersFunctionnext
*
3p/environment.js:198
↓ 23 callersMethodobserveIntersection
* Send message to runtime to start sending intersection messages. * @param {function(Array<Object>)} callback Function to call every time we *
3p/ampcontext.js:175
↓ 23 callersFunctionopen
(shouldAnimate = true)
extensions/amp-story-page-attachment/0.1/amp-story-page-attachment.js:469
↓ 23 callersFunctionrenderIframely
(params)
extensions/amp-iframely/0.1/test/test-amp-iframely.js:34
↓ 23 callersFunctionrunCheck
(cmd)
build-system/tasks/pr-check.js:26
↓ 23 callersMethodscrollBy
* @param {!ElementHandle<!WebElement>} handle * @param {!ScrollToOptionsDef=} opt_scrollToOptions * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:558
↓ 23 callersMethodsync
* This causes a synchronous handling of all the Mutation Observer's tracked * mutations. This does nothing until the mutation observer is actually
src/polyfills/custom-elements.js:491
↓ 23 callersFunctiontryResolve
(fn)
src/core/data-structures/promise.js:65
↓ 22 callersMethodattachShadowDocAsStream
* Implementation for `attachShadowDocAsStream` function. Attaches the shadow * doc and configures ampdoc for it. * @param {!Element} hostElement
src/multidoc-manager.js:261
↓ 22 callersFunctioncb
(el)
test/unit/core/dom/test-query.js:150
↓ 22 callersMethodexit
* @param {!../../../src/service/action-impl.ActionInvocation} invocation
extensions/amp-ad-exit/0.1/amp-ad-exit.js:103
↓ 22 callersMethodfire
* Fired when form is submitted. * @param {!FormSubmitEventDef} event
extensions/amp-form/0.1/form-submit-service.js:33
↓ 22 callersFunctionfoo
()
build-system/babel-plugins/babel-plugin-amp-mode-transformer/test/fixtures/transform-assertions/nomodule/input.js:8
↓ 22 callersMethodforElement
* Provides an AdvancementConfig object for the specified amp-story or * amp-story-page. * @param {!Window} win * @param {!Element} element
extensions/amp-story/1.0/page-advancement.js:240
↓ 22 callersMethodget
* Returns the existing context node or creates a new one. * * @param {Node} node * @return {ContextNode<?>}
src/core/context/node.js:51
↓ 22 callersFunctiongetAmpConsent
(doc, config)
extensions/amp-consent/0.1/test/test-amp-consent.js:1868
↓ 22 callersMethodgetConsentConfigPromise
* Read validate and return the config * @return {!Promise<!JsonObject>}
extensions/amp-consent/0.1/consent-config.js:54
↓ 22 callersFunctiongetImg
(attributes, children)
test/unit/builtins/test-amp-img-v1.js:44
↓ 22 callersMethodgetMetaByName
* Returns the value of an ampdoc's meta tag content for a given name, or * `null` if the meta tag does not exist. * @param {string} name * @r
src/service/ampdoc-impl.js:382
↓ 22 callersMethodgetReferrerUrl
@override
src/service/viewer-impl.js:570
← previousnext →601–700 of 18,703, ranked by callers