MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 4 callersFunctiongetViewportHeight
(win)
test/integration/test-position-observer.js:202
↓ 4 callersFunctiongetVine
(vineId, opt_responsive)
extensions/amp-vine/0.1/test/test-amp-vine.js:18
↓ 4 callersFunctiongetVisibilityEventCount
()
test/unit/test-vsync.js:39
↓ 4 callersFunctiongetWaitFunction
* Simulate the WebDriver polling functionality to get the latest value * and mutate it with any `then` blocks that have been chained to the
test/e2e/test-controller-promise.js:255
↓ 4 callersFunctiongetWistiaEmbed
(mediaId)
extensions/amp-wistia-player/0.1/test/test-amp-wistia-player.js:19
↓ 4 callersFunctiongitCiMainBaseline
* Returns the main branch parent of the merge commit (current HEAD) during CI * builds. This is not the same as origin/<main branch> (a moving target
build-system/common/git.js:39
↓ 4 callersFunctiongitDiffNameOnlyMain
* Returns the list of files changed relative to the branch point off of the * main branch, one on each line. * @return {!Array<string>}
build-system/common/git.js:66
↓ 4 callersMethodgoToSlide
* Moves the Carousel to a given index. * @param {number} index
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:259
↓ 4 callersFunctiongroupAmpAdsByType
(ampdoc, type, groupFn)
ads/google/a4a/utils.js:217
↓ 4 callersFunctionha
(e)
third_party/react-dates/bundle.js:1
↓ 4 callersMethodhandleAction_
* Handler User action. Should call isReadyToHandleAction_ before. * * @param {string} action * @param {string=} consentString * @param {!C
extensions/amp-consent/0.1/amp-consent.js:464
↓ 4 callersMethodhandleActivePageChange_
* Respond to page navigation event. This method is not called for the first * page that is shown on load. * @param {number} pageIndex * @para
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:410
↓ 4 callersMethodhandleClear_
* Clear the values from the input fields and * trigger events with the empty values.
extensions/amp-date-picker/0.1/amp-date-picker.js:774
↓ 4 callersMethodhandleMessage_
* Bob sent me a message. I need to decide if it's a new request or * a response to a previous 'conversation' we were having. * @param {!Event} e
extensions/amp-viewer-integration/0.1/messaging/messaging.js:288
↓ 4 callersMethodhandleSubmitFailure_
* Transition the form the submit error state. * @param {*} error * @param {!JsonObject} json * @param {!ActionTrust_Enum} incomingTrust *
extensions/amp-form/0.1/amp-form.js:1050
↓ 4 callersFunctionhasCorrectSliderPosition
(sliderInfo, leftPos)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:998
↓ 4 callersMethodhasPrev_
* @return {boolean} * @private
extensions/amp-carousel/0.1/slidescroll.js:516
↓ 4 callersMethodhasSubscribeRequestCallback
* @return {boolean}
third_party/subscriptions-project/swg.js:9163
↓ 4 callersMethodhide
* Hides the graypane. * @return {!Promise|undefined}
third_party/subscriptions-project/swg.js:15867
↓ 4 callersMethodhideAllNavigationHint
* Hide all navigation hints.
extensions/amp-story/1.0/amp-story-hint.js:206
↓ 4 callersFunctionht
(n,t)
third_party/d3/d3.js:1
↓ 4 callersFunctionib
(a)
third_party/wgxpath/wgxpath.js:55
↓ 4 callersFunctionie
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 4 callersFunctionif
(!this.legacyOutlinkEl_)
extensions/amp-story-page-attachment/0.1/amp-story-page-attachment.js:423
↓ 4 callersMethodinit
* Initializes the image viewer to the target image element such as * "amp-img". The target image element may or may not yet have the img * eleme
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:238
↓ 4 callersMethodinit
* Initializes the players but does not change the state.
extensions/amp-animation/0.1/runners/animation-runner.js:30
↓ 4 callersMethodinitializeListeners_
@private
extensions/amp-story/1.0/amp-story.js:657
↓ 4 callersMethodinitializeLocalPlatforms_
* @param {!JsonObject} serviceConfig * @private
extensions/amp-subscriptions/0.1/amp-subscriptions.js:375
↓ 4 callersFunctioninjectStyleSheet
* Injects the provided styles in the HEAD section of the document. * @param {!../model/doc.Doc} doc The document object. * @param {string} styleText
third_party/subscriptions-project/swg-gaa.js:1232
↓ 4 callersMethodinputs
@return {!NodeList}
extensions/amp-form/0.1/form-validators.js:105
↓ 4 callersFunctioninsertTestDefinition
(mtoken, element, position)
third_party/inputmask/inputmask.js:276
↓ 4 callersFunctioninstallBuiltinElements
(win)
src/service/core-services.js:46
↓ 4 callersMethodinstallFieDoc
* Creates and installs the ampdoc for the fie root. * @param {string} url * @param {!Window} childWin * @param {!AmpDocOptions=} opt_options
src/service/ampdoc-impl.js:210
↓ 4 callersFunctioninstallHiddenObserverForDoc
(ampdoc)
src/service/hidden-observer-impl.js:95
↓ 4 callersFunctioninstallHistoryServiceForDoc
(ampdoc)
src/service/history-impl.js:1146
↓ 4 callersFunctioninstallPositionObserverServiceForDoc
(ampdoc)
src/service/position-observer/position-observer-impl.js:207
↓ 4 callersFunctioninstallRealTimeConfigServiceForDoc
(ampdoc)
src/service/real-time-config/real-time-config-impl.js:716
↓ 4 callersFunctioninstallResizeObserver
(global)
third_party/resize-observer-polyfill/ResizeObserver.install.js:1
↓ 4 callersFunctioninstallStub
(win)
src/polyfills/stubs/resize-observer-stub.js:30
↓ 4 callersFunctioninstallUrlReplacementsServiceForDoc
(ampdoc)
src/service/url-replacements-impl.js:1236
↓ 4 callersMethodinteractionNext
* Performs the next action (e.g. for a click from the next button). For a * carousel, this moves one carousel viewport forwards. For slides, this
extensions/amp-carousel/0.2/amp-carousel.js:291
↓ 4 callersFunctioninvocation
(method, args = {})
extensions/amp-stream-gallery/1.0/test/test-amp-stream-gallery.js:167
↓ 4 callersFunctionioCallback
* Call the registered callbacks for each element that has crossed the * viewport boundary. * * @param {Array<IntersectionObserverEntry>} entries
src/core/dom/layout/viewport-observer.js:112
↓ 4 callersMethodioCallback_
* Returns a function that will be invoked directly by the * IntersectionObserver implementation. It will implement the core logic of * the refre
extensions/amp-a4a/0.1/refresh-manager.js:235
↓ 4 callersFunctionisAnimationNone
(element, opt_isTimeBasedAnimation = true)
testing/helpers/service.js:123
↓ 4 callersFunctionisCdnProxy
(win)
ads/google/a4a/utils.js:927
↓ 4 callersMethodisDeclaredFixed
* Whether the element is declared as fixed in any of the user's stylesheets. * Will include any matches, not necessarily currently fixed elements.
src/service/fixed-layer.js:375
↓ 4 callersFunctionisDefined
* Whether the value is defined. * * This function only exists to avoid function allocation when calling * `Array.every()` and `Array.some()`. * *
src/core/context/values.js:778
↓ 4 callersMethodisDiscoverable
* @return {boolean} * @protected Used cross-binary.
src/core/context/node.js:299
↓ 4 callersFunctionisDisposable
(service)
src/service-helpers.js:488
↓ 4 callersFunctionisEsm
()
src/core/mode/esm.js:25
↓ 4 callersFunctionisExcludedDomain
(domain, skimOptions)
extensions/amp-skimlinks/0.1/utils.js:49
↓ 4 callersMethodisFree
* Returns true if the article is free. * @return {boolean}
extensions/amp-subscriptions/0.1/entitlement.js:131
↓ 4 callersFunctionisFunction
(object)
third_party/mustache/mustache.js:15
↓ 4 callersFunctionisFunction
* True if the value is a function. * @param {*} value * @return {boolean}
third_party/subscriptions-project/swg.js:7140
↓ 4 callersMethodisInNoSigningExp
* @visibleForTesting * @return {boolean}
extensions/amp-a4a/0.1/amp-a4a.js:952
↓ 4 callersFunctionisInViewportConsideringMargins
* @param {?PositionObserverEntryDef} entry * @param {!./fx-provider.FxElement} fxElement * @param {number=} opt_vh optional adjusted viewport height
extensions/amp-fx-collection/0.1/providers/amp-fx-presets.js:117
↓ 4 callersFunctionisInclusivelyAfterDay
(e,t)
third_party/react-dates/bundle.js:1
↓ 4 callersMethodisLandscapeSupported_
* Whether the story should support landscape orientation: landscape mobile, * or full bleed desktop UI. * @return {boolean} * @private
extensions/amp-story/1.0/amp-story.js:2021
↓ 4 callersMethodisLayoutSupported
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:418
↓ 4 callersMethodisLoaded
@return {boolean}
extensions/amp-story-auto-ads/0.1/story-ad-page.js:155
↓ 4 callersMethodisLoopingEligible
* Checks if a carousel is eligible to loop, regardless of the loop attribute. * @return {boolean}
extensions/amp-carousel/0.1/slidescroll.js:308
↓ 4 callersFunctionisMergeableObject
(e)
third_party/react-dates/bundle.js:1
↓ 4 callersFunctionisNum
* Tests whether a chacter is a number. * @param {string} c * @return {boolean}
src/service/action-impl.js:1401
↓ 4 callersFunctionisObject
(t)
third_party/react-dates/bundle.js:1
↓ 4 callersFunctionisOptedOutOfCid
(ampdoc)
src/service/cid-impl.js:357
↓ 4 callersFunctionisPaused
(elem)
extensions/amp-video/0.1/test-e2e/test-amp-video-analytics.js:16
↓ 4 callersMethodisPkcsAvailable
* Checks whether Web Cryptography is available, which is required for PKCS 1 * operations. SHA-384 operations do not need this because there's a po
src/service/crypto-impl.js:158
↓ 4 callersMethodisPrerenderSafe
* True if this platform can fetch entitlement safely in pre-render * without leaking information to the publisher or a 3rd party * @return {bool
extensions/amp-subscriptions/0.1/subscription-platform.js:48
↓ 4 callersFunctionisProd
()
src/core/mode/prod.js:10
↓ 4 callersFunctionisRtvMode
(serveMode)
build-system/server/app-utils.js:65
↓ 4 callersMethodisRunning
@return {boolean}
extensions/amp-analytics/0.1/events.js:1089
↓ 4 callersMethodisRunning
* @return {boolean} * @protected
extensions/amp-story/1.0/page-advancement.js:187
↓ 4 callersMethodisSafariOrIos_
* @private * @return {boolean}
extensions/amp-jwplayer/0.1/amp-jwplayer.js:579
↓ 4 callersFunctionisScreenReaderHidden
(element)
extensions/amp-carousel/0.2/test/test-type-slides.js:58
↓ 4 callersFunctionisScreenReaderHidden
* @param {Element} element * @returns {boolean}
extensions/amp-carousel/0.1/test/test-slidescroll.js:109
↓ 4 callersFunctionisScrollable
(element)
extensions/amp-carousel/0.1/build-dom.js:350
↓ 4 callersFunctionisServiceRegistered
* @param {!Object} holder Object holding the service instance. * @param {string} id of the service. * @return {boolean}
src/service-helpers.js:629
↓ 4 callersFunctionisShadowCssSupported
()
src/core/dom/web-components.js:51
↓ 4 callersFunctionisShellUrl
* @param {string} url * @return {boolean}
examples/pwa/pwa.js:365
↓ 4 callersFunctionisValidElement
(elem)
third_party/inputmask/inputmask.dependencyLib.js:32
↓ 4 callersMethodisValidElement
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:425
↓ 4 callersMethodisValidElement
@override
extensions/amp-ad-network-fake-impl/0.1/amp-ad-network-fake-impl.js:53
↓ 4 callersMethodisVisible_
* @param {!AmpElement|!VideoOrBaseElementDef} element * @param {number=} minRatio * @param {!RectDef=} opt_inlineRect * @return {boolean}
extensions/amp-video-docking/0.1/amp-video-docking.js:1204
↓ 4 callersMethodisWithinViewportRatio
* @param {number|boolean} multiplier * @param {ViewportRatioDef=} opt_viewportRatio * @return {boolean} whether multiplier given is within viewp
src/service/resource.js:778
↓ 4 callersFunctionkeyframesCssWithVendor
(name, css, prefix)
extensions/amp-animation/0.1/test/test-keyframes-extractor.js:39
↓ 4 callersFunctionkn
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionlastChildElement
(parent, callback)
src/core/dom/query.js:216
↓ 4 callersMethodlayoutCallback
@override
extensions/amp-fx-flying-carpet/0.1/amp-fx-flying-carpet.js:127
↓ 4 callersFunctionle
(e)
examples/amp-script/vue-todomvc.js:7
↓ 4 callersFunctionlinkerReaderServiceFor
(win)
extensions/amp-analytics/0.1/linker-reader.js:97
↓ 4 callersMethodlisten
* Starts Messenger in "listening" mode. In this mode, we listen as soon as * possible and expect a future postMessage() to establish a MessageChann
extensions/amp-web-push/0.1/window-messenger.js:104
↓ 4 callersMethodloadElementClass
* Returns the promise that will be resolved with the extension element's * class when the extension has been loaded. If necessary, adds the extensi
src/service/extensions-impl.js:316
↓ 4 callersMethodlogSwgEvent_
* @param {!AnalyticsEvent} eventType * @param {boolean=} isFromUserAction
third_party/subscriptions-project/swg.js:8921
↓ 4 callersMethodloginAnalyticsEvent_
* @param {string} type * @param {string} event * @private
extensions/amp-access/0.1/amp-access-source.js:515
↓ 4 callersMethodloginDone_
* @param {?string} result * @param {*=} opt_error * @private
extensions/amp-access/0.1/login-dialog.js:301
↓ 4 callersMethodloginWithUrl
* Runs the login flow opening the given url in the login window. * * @param {string} url * @param {string} eventLabel A label used for the an
extensions/amp-access/0.1/amp-access-source.js:438
↓ 4 callersFunctionmakeBodyVisibleRecovery
(doc)
src/style-installer.js:234
↓ 4 callersMethodmapFromTokensArray_
* Returns the given tokens array as a dictionary of key: token (str) and * value: number of occurrences. * @param {!Array<string>} tokens * @
extensions/amp-autocomplete/0.1/amp-autocomplete.js:903
↓ 4 callersMethodmapLinks_
* The API response returns unique links. Map those unique links to as many * urls in the anchorList as possible. Set the replacement url as a shop-
extensions/amp-smartlinks/0.1/linkmate.js:184
← previousnext →3,501–3,600 of 18,703, ranked by callers