MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 4 callersFunctionmarkTextRangeList
(win, ranges)
extensions/amp-viewer-integration/0.1/findtext.js:284
↓ 4 callersFunctionmarkUnresolvedElements
(opt_extension)
src/custom-element.js:2229
↓ 4 callersFunctionmatcher
(expected)
extensions/amp-analytics/0.1/test/test-events.js:293
↓ 4 callersMethodmaybeBuild_
* @param {!AmpElement} target * @private
src/service/scheduler.js:263
↓ 4 callersMethodmaybeDestroyIframe_
* Remove the iframe and clean it up.
extensions/amp-a4a/0.1/amp-a4a.js:1507
↓ 4 callersMethodmaybeFetchNext
* @param {boolean=} force * @return {!Promise}
extensions/amp-next-page/1.0/service.js:272
↓ 4 callersMethodmaybeInitStickyAd
* Initialize sticky ad related features
extensions/amp-ad/0.1/amp-ad-ui.js:226
↓ 4 callersFunctionmaybeSetCookieFromAdResponse
(win, fetchResponse)
ads/google/a4a/cookie-utils.js:27
↓ 4 callersFunctionmeasureDisplay
(target)
src/utils/display-observer.js:65
↓ 4 callersFunctionmergeExtensionsMetadata
(extensions, customElementExtensions)
extensions/amp-a4a/0.1/amp-ad-utils.js:160
↓ 4 callersFunctionmockAllCriteriaMet
(isMet)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:56
↓ 4 callersFunctionmockLdJsonSchemaTypes
(type)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:63
↓ 4 callersFunctionmockOrientation
(orientation)
test/unit/test-video-rotate-to-fullscreen.js:25
↓ 4 callersMethodmonitorChildren_
* @param {boolean} observe Whether or not the parent element is laid out.
extensions/amp-base-carousel/0.1/child-layout-manager.js:354
↓ 4 callersFunctionmount
* Dispatches a mount event for the given node and children. * * @param {Node} node - the node to mount. * @return {node}
third_party/set-dom/original.js:271
↓ 4 callersMethodmount
* Add element to doc and promote to fixed layer. * @protected *
extensions/amp-access-scroll/0.1/scroll-component.js:65
↓ 4 callersFunctionmu
(n,t,e,r,i)
third_party/d3/d3.js:2
↓ 4 callersMethodmutateElement
* @param {function():undefined} cb
src/preact/bento-ce.js:50
↓ 4 callersMethodmutateElementSkipRemeasure
* Runs the specified mutation on the element. Will not cause remeasurements. * Only use this function when the mutations will not affect any resour
src/base-element.js:984
↓ 4 callersMethodmutatedAttributesCallback
@override
extensions/amp-selector/0.1/amp-selector.js:168
↓ 4 callersMethodmutatedAttributesCallback
@override
extensions/amp-carousel/0.1/slidescroll.js:313
↓ 4 callersMethodmute
Sends a message muting the current story.
src/amp-story-player/amp-story-player-impl.js:892
↓ 4 callersMethodnavigateToAmpUrl
* Requests A2A navigation to the given destination. If the viewer does * not support this operation, does nothing. * The URL is assumed to be in
src/service/navigation.js:287
↓ 4 callersFunctionnewPage
* Opens a new browser tab, resizes its viewport, and returns a Page handler. * * @param {!puppeteer.Browser} browser a Puppeteer controlled browser.
build-system/tasks/visual-diff/browser.js:75
↓ 4 callersMethodnextNode
* Finds the next node in document order, if it exists. Returns that node, or null if it doesn't exist. * Updates currentNode, if it exists, else cu
extensions/amp-bind/0.1/bind-impl.js:1831
↓ 4 callersFunctionnextTick
()
extensions/amp-story-audio-sticker/0.1/test/test-amp-story-audio-sticker.js:32
↓ 4 callersMethodnext_
* Navigates to the next story in the player. * @private
src/amp-story-player/amp-story-player-impl.js:1049
↓ 4 callersFunctionnn
(t,n,a,r,e,o,i,h)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 4 callersFunctionnonSensitiveDataPostMessage
(type, opt_object)
3p/messaging.js:11
↓ 4 callersMethodnoop
()
src/service/resources-impl.js:1677
↓ 4 callersFunctionnotifyIfChanged
* @param {!Array<function(boolean)>} callbacks * @param {!Element} target * @param {boolean} newDisplay * @param {boolean} oldDisplay
src/utils/display-observer.js:491
↓ 4 callersFunctionnotifyIntersection
(rootMargin, isIntersecting)
extensions/amp-a4a/0.1/test/test-amp-a4a-within-viewport.js:59
↓ 4 callersFunctionnr
(n,t,e,r)
third_party/d3/d3.js:2
↓ 4 callersFunctiono
(e)
examples/amp-script/todomvc.ssr.js:2
↓ 4 callersFunctiono
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 4 callersFunctionoa
(e,a)
third_party/react-dates/bundle.js:1
↓ 4 callersMethodobserveHiddenMutations
* Begin observing changes to the hidden attribute. * @visibleForTesting
src/service/fixed-layer.js:226
↓ 4 callersMethodonBroadcast
@override
src/service/viewer-impl.js:856
↓ 4 callersMethodonKeyboardStateChanged
* Registers an event handle for changes in the keyboard input. * @param {function(boolean)} handler * @param {boolean=} opt_fireImmediately *
src/input.js:153
↓ 4 callersMethodonMouseMove_
* @param {!Event} e * @return {!Promise|undefined} * @private
src/input.js:221
↓ 4 callersMethodonMove_
* Performs a one-step or an animated motion (panning). * @param {number} deltaX * @param {number} deltaY * @param {boolean} animate * @pri
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:508
↓ 4 callersMethodonPlatformResolves
* Calls a callback for when a platform is resolved. * @param {string} platformKey * @param {!Function} callback
extensions/amp-subscriptions/0.1/platform-store.js:153
↓ 4 callersMethodonResize_
@private
extensions/amp-animation/0.1/amp-animation.js:364
↓ 4 callersMethodonResult
* Registers the callback for the result of the activity opened with the * specified `requestId` (see the `open()` method). The callback is a * f
third_party/subscriptions-project/swg.js:7071
↓ 4 callersMethodonScroll
@override
src/service/viewport/viewport-impl.js:642
↓ 4 callersMethodonTriggerEvent
* Adds the event handler that will be called when all visibility conditions * have been met. * @param {function()} handler
extensions/amp-analytics/0.1/visibility-model.js:219
↓ 4 callersMethodonZoomInc_
* Performs a one-step zoom action. * @param {number} centerClientX * @param {number} centerClientY * @param {number} deltaX * @param {numb
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:565
↓ 4 callersFunctionoptOutOfCid
(ampdoc)
src/service/cid-impl.js:337
↓ 4 callersFunctionot
(e,a)
third_party/react-dates/bundle.js:1
↓ 4 callersMethodoverlaps
* Whether the element's layout box overlaps with the specified rect. * @param {!../layout-rect.LayoutRectDef} rect * @return {boolean}
src/service/resource.js:658
↓ 4 callersMethodpadStart_
* @param {number} input * @return {string} * @private
extensions/amp-date-countdown/0.1/amp-date-countdown.js:322
↓ 4 callersFunctionparse
* creates a uri from the string form. The parser is relaxed, so special * characters that aren't escaped but don't cause ambiguities will not cause
third_party/caja/html-sanitizer.js:35
↓ 4 callersMethodparseEntitlements
* The JSON must either contain a "signedEntitlements" with JWT, or * "entitlements" field with plain JSON object. * @param {!Object} json * @
third_party/subscriptions-project/swg.js:12884
↓ 4 callersFunctionparseFragment
(fragment)
3p/integration-lib.js:306
↓ 4 callersFunctionparseJson
* Simple wrapper around JSON.parse that casts the return value * to JsonObject. * Create a new wrapper if an array return value is desired. * @para
third_party/subscriptions-project/swg.js:4112
↓ 4 callersMethodpause
@override
extensions/amp-video-iframe/0.1/amp-video-iframe.js:446
↓ 4 callersMethodpause
* @override
extensions/amp-video/0.1/amp-video.js:877
↓ 4 callersMethodpause
()
extensions/amp-animation/0.1/test/test-web-animations.js:2089
↓ 4 callersMethodplay
* Makes the current story play its content/auto-advance * @public
src/amp-story-player/amp-story-player-impl.js:346
↓ 4 callersMethodpointerMoveX_
* Move slider based on given pointer x position * Do NOT wrap this in mutateElement! * @param {number} pointerX * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:632
↓ 4 callersFunctionpostMessageToWindows
(iframe, targets, type, object, opt_is3P)
src/iframe-helper.js:374
↓ 4 callersFunctionpostMessageWhenAvailable
(iframe, message)
src/iframe-video.js:141
↓ 4 callersMethodpostMessage_
* Posts a message to the iframe. * @param {string} action * @private
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:144
↓ 4 callersMethodpostbackError_
* Switches to the error mode. Close button will be shown. * @param {*} error * @private
extensions/amp-access/0.1/amp-login-done-dialog.js:220
↓ 4 callersMethodpre_
* @param {string} url * @param {string} rel * @param {?string=} as * @private
third_party/subscriptions-project/swg.js:17860
↓ 4 callersMethodprefetch
* @param {string} url
third_party/subscriptions-project/swg.js:17842
↓ 4 callersMethodpreinstallEmbed
* Preinstalls built-ins and legacy elements in the emebedded ampdoc. * @param {!./ampdoc-impl.AmpDoc} ampdoc * @param {!Array<{extensionId: stri
src/service/extensions-impl.js:456
↓ 4 callersFunctionprop
(el, name)
extensions/amp-base-carousel/1.0/test-e2e/test-non-looping.js:23
↓ 4 callersFunctionprop
(el, name)
extensions/amp-base-carousel/0.1/test-e2e/test-non-looping.js:19
↓ 4 callersFunctionprovideVisibilityManager
(rootNode)
extensions/amp-analytics/0.1/visibility-manager.js:50
↓ 4 callersFunctionpseudo
* @param {!CssNode} n * @return {string}
extensions/amp-animation/0.1/test/test-css-expr-parser.js:21
↓ 4 callersFunctionpt
(e,a,t,s)
third_party/react-dates/bundle.js:1
↓ 4 callersMethodpushState
* @param {?Object} state * @param {?string} title * @param {?string} url * @param {boolean=} opt_fireEvent
testing/fake-dom.js:587
↓ 4 callersFunctionqueryAmpAdAniviewSelector
(myDoc)
extensions/amp-apester-media/0.1/test/test-amp-apester-monetization.js:23
↓ 4 callersFunctionqueryAmpAdBladeSelector
(myDoc)
extensions/amp-apester-media/0.1/test/test-amp-apester-monetization.js:21
↓ 4 callersFunctionqueryStringHasFreshGaaParams
* Returns true if the query string contains fresh Google Article Access (GAA) params. * @param {string} queryString * @param {boolean} allowAllAcces
third_party/subscriptions-project/swg.js:12334
↓ 4 callersMethodraf_
* @param {function()} cb * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:639
↓ 4 callersFunctionreadableRemovalId
* @param {string} id * @param {{percentage: number, previousHistory: Array}} workItem * @return {string}
build-system/tasks/sweep-experiments/index.js:185
↓ 4 callersFunctionrect
(el)
extensions/amp-base-carousel/0.1/test-e2e/test-vertical.js:23
↓ 4 callersMethodregister
* Register relevant data with the configuration manager and prepare * request/response cycle between frames. * @param {{ * pubId: string,
extensions/amp-addthis/0.1/config-manager.js:193
↓ 4 callersMethodregisterEventListener
* @overrides
third_party/subscriptions-project/swg.js:7252
↓ 4 callersMethodregisterLinkRewriter
* Create and configure a new LinkRewriter on the page. * @param {string} linkRewriterId - A unique id used to identify the link rewriter. * @par
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter-manager.js:89
↓ 4 callersMethodremove
* Removes the Regwall. * @nocollapse
third_party/subscriptions-project/swg-gaa.js:2004
↓ 4 callersFunctionremoveAllWebPushConfigElements
()
extensions/amp-web-push/0.1/test/test-web-push-config.js:57
↓ 4 callersFunctionremoveCookie
(cookieName)
test/unit/test-cid-api.js:16
↓ 4 callersFunctionremoveDocumentVisibilityChangeListener
(doc, handler)
src/core/document/visibility.js:61
↓ 4 callersMethodremoveGesture
* Unsubscribes all handlers from the given gesture recognizer. Returns * true if anything was done. Returns false if there were no handlers * re
src/gesture.js:196
↓ 4 callersFunctionrenamePrivate
* Adds trailing AMP_PRIVATE_ suffix to private identifiers. * @param {string} field * @return {function(*,*):void}
build-system/babel-plugins/babel-plugin-transform-rename-privates/index.js:17
↓ 4 callersMethodrender
* To be implemented by subclasses. * @param {!JsonObject|string} unusedData * @return {!Element} * @abstract
src/base-template.js:52
↓ 4 callersMethodrenderAmpCreative_
* Render a validated AMP creative directly in the parent page. * @param {!CreativeMetaDataDef} creativeMetaData Metadata required to render *
extensions/amp-a4a/0.1/amp-a4a.js:1917
↓ 4 callersFunctionrenderMeasurement
(container, label, count)
testing/amp-performance-extension/measure.js:4
↓ 4 callersMethodrenderNonAmpCreative
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1216
↓ 4 callersMethodrenderTemplate
* Render the follow button * @param {JsonObject} count Optional Pin count for the source URL * @return {Element}
extensions/amp-pinterest/0.1/save-button.js:126
↓ 4 callersMethodrenderTemplateAsString
* Renders the specified template element using the supplied data. * @param {!Element} templateElement * @param {!JsonObject} data * @return {
src/service/template-impl.js:88
↓ 4 callersFunctionrenderTwice
(first, second)
extensions/amp-list/0.1/test/test-amp-list.js:681
↓ 4 callersMethodreplaceStateForTarget
* Helper method to handle navigation to a local target, e.g. When a user * clicks an anchor link to a local hash - <a href="#section1">Go to sectio
src/service/history-impl.js:164
↓ 4 callersMethodrequestClose
* Signals to the close watcher to close the modal. * See `CloseWatcher.requestClose`.
src/utils/close-watcher-impl.js:72
↓ 4 callersMethodrequestFullscreen
(api)
src/bento/components/bento-video/1.0/video-base-element.js:22
↓ 4 callersMethodrequestOnce
* Make a one time event listening request. * Will unlisten after response is received. * * @param {string} requestType The type of the reques
3p/iframe-messaging-client.js:89
↓ 4 callersFunctionrequestResizeInternal
* Helper function to call requestResize * @param {!Window} global * @param {!Element} container * @param {number} height
ads/vendors/csa.js:288
← previousnext →3,601–3,700 of 18,703, ranked by callers