MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 5 callersFunctiongetMetaElements
(doc)
extensions/amp-addthis/0.1/addthis-utils/meta.js:6
↓ 5 callersFunctiongetMinuteMediaPlayer
(attributes)
extensions/amp-minute-media-player/0.1/test/test-amp-minute-media-player.js:29
↓ 5 callersFunctiongetMockIncompleteData
()
extensions/amp-story-interactive/0.1/test/helpers.js:71
↓ 5 callersFunctiongetMockOutOfBoundsData
()
extensions/amp-story-interactive/0.1/test/helpers.js:94
↓ 5 callersFunctiongetMockScrambledData
()
extensions/amp-story-interactive/0.1/test/helpers.js:39
↓ 5 callersMethodgetNamespace
* @return {?string}
extensions/amp-access/0.1/amp-access-source.js:131
↓ 5 callersFunctiongetObserver
* @param {!Element} target * @return {!DisplayObserver}
src/utils/display-observer.js:404
↓ 5 callersFunctiongetOrCreateAdCid
( ampDoc, clientIdScope, opt_clientIdCookieName, opt_timeout )
src/ad-cid.js:32
↓ 5 callersMethodgetPageIndex
* @param {!./amp-story-page.AmpStoryPage} desiredPage * @return {number} The index of the page.
extensions/amp-story/1.0/amp-story.js:2289
↓ 5 callersMethodgetPlatform
* Returns the platform for the given id * @param {string} platformKey * @return {!./subscription-platform.SubscriptionPlatform}
extensions/amp-subscriptions/0.1/platform-store.js:171
↓ 5 callersFunctiongetPublisherSpecifiedRefreshInterval
(element, unusedWin)
extensions/amp-a4a/0.1/refresh-manager.js:34
↓ 5 callersMethodgetPurposesConsent_
* Get the purpose consents that should be granted. * @return {Array<string>|undefined}
src/custom-element.js:1909
↓ 5 callersFunctiongetRegExps
(metricName)
ads/google/a4a/test/test-utils.js:275
↓ 5 callersMethodgetRelease
* Get a GitHub release by tag name * @param {string} tag * @return {Promise<Object|undefined>}
build-system/release-tagger/utils.js:129
↓ 5 callersFunctiongetRenderedSuggestions
()
extensions/amp-autocomplete/0.1/test/test-amp-autocomplete.js:59
↓ 5 callersFunctiongetRepeat
(spec)
extensions/amp-analytics/0.1/test/test-visibility-model.js:28
↓ 5 callersMethodgetResource
* @return {!../../../src/service/resource.Resource} * @visibleForTesting
extensions/amp-a4a/0.1/amp-a4a.js:570
↓ 5 callersMethodgetResourceForElementOptional
@override
src/service/resources-impl.js:285
↓ 5 callersFunctiongetRtvVersionForTesting
(win)
src/mode.js:101
↓ 5 callersMethodgetSafeframeNameAttr
* Returns the Safeframe specific name attributes that are needed for the * Safeframe creative to properly setup. * @return {!JsonObject}
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:208
↓ 5 callersFunctiongetScrollContainerByCarouselId
(id)
extensions/amp-base-carousel/0.1/test-e2e/test-default-attributes.js:22
↓ 5 callersMethodgetScrollingElement
@override
src/service/viewport/viewport-binding-natural.js:256
↓ 5 callersFunctiongetServicePromiseOrNullForDoc
(elementOrAmpDoc, id)
src/service-helpers.js:245
↓ 5 callersMethodgetSessionValue_
* * @param {string} vendorType * @param {!SESSION_VALUES} key * @return {!Promise<number>}
extensions/amp-analytics/0.1/variables.js:373
↓ 5 callersMethodgetSize
@override
src/inabox/inabox-viewport.js:180
↓ 5 callersMethodgetSku
* @return {?string}
third_party/subscriptions-project/swg.js:1437
↓ 5 callersFunctiongetSlides
(styles, controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:16
↓ 5 callersMethodgetSlotSize
* Returns the width and height of the slot as defined by the width and height * attributes, or the dimensions as computed by * getIntersectionEl
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1128
↓ 5 callersFunctiongetStoryAdMetaTags
(doc)
extensions/amp-story-auto-ads/0.1/story-ad-ui.js:69
↓ 5 callersFunctiongetStoryAttributeSrc
(element, attribute, warn)
extensions/amp-story/1.0/utils.js:240
↓ 5 callersFunctiongetStubbedImg
(attributes, layoutWidth)
test/unit/builtins/test-amp-img.js:618
↓ 5 callersFunctiongetStubbedImg
(attributes, layoutWidth)
test/unit/builtins/test-amp-img-v1.js:556
↓ 5 callersMethodgetTaskById
* Returns the task with the specified ID or null. * @param {string} taskId * @return {?TaskDef}
src/service/task-queue.js:70
↓ 5 callersFunctiongetTextColorForRGB
(rgb)
extensions/amp-story/1.0/utils.js:137
↓ 5 callersFunctiongetTimingDataSync
(win, startEvent, endEvent)
src/service/variable-source.js:120
↓ 5 callersMethodgetVariants
* Returns a promise for the experiment variants. * @return {!Promise<!{[key: string]: ?string}>}
extensions/amp-experiment/1.0/variant.js:41
↓ 5 callersFunctiongetWidgetOverload
(self)
extensions/amp-addthis/0.1/addthis-utils/get-widget-id-overloaded-with-json-for-anonymous-mode.js:42
↓ 5 callersFunctiongitCommitHash
* Returns the commit hash of the latest commit. * @return {string}
build-system/common/git.js:142
↓ 5 callersFunctionhandleCookieOptOutPostMessage
(win, event)
ads/google/a4a/cookie-utils.js:64
↓ 5 callersMethodhandleCopy_
* Handles the copy to clipboard action * @param {!./action-impl.ActionInvocation} invocation
src/service/standard-actions-impl.js:223
↓ 5 callersMethodhandleCustomElasticScroll_
* Handles custom elastic scroll (snap points polyfill). * @param {number} currentScrollLeft scrollLeft value of the slides container.
extensions/amp-carousel/0.1/slidescroll.js:596
↓ 5 callersMethodhas
* Returns whether key is cached. * * @param {number|string} key * @return {boolean}
src/core/data-structures/lru-cache.js:33
↓ 5 callersMethodhasBeenVisible
* Whether the AMP document has been ever visible before. Since the visibility * state of a document can be flipped back and forth we sometimes want
src/service/ampdoc-impl.js:755
↓ 5 callersFunctionhasDirtyBit
(consentInfo)
extensions/amp-consent/0.1/consent-info.js:137
↓ 5 callersFunctionhe
(e)
examples/amp-script/vue-todomvc.js:7
↓ 5 callersFunctionhelpersFactory
(env)
extensions/amp-skimlinks/0.1/test/helpers.js:9
↓ 5 callersMethodidentity
(n)
third_party/zuho/zuho.js:88
↓ 5 callersMethodidleRenderOutsideViewport
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:395
↓ 5 callersMethodiframeRenderHelper_
* Shared functionality for cross-domain iframe-based rendering methods. * @param {!JsonObject<string, string>} attributes The attributes of the ifr
extensions/amp-a4a/0.1/amp-a4a.js:2058
↓ 5 callersFunctionii
(n,t)
third_party/d3/d3.js:2
↓ 5 callersMethodimportUnwrapped
* @param {!Window} win * @param {string} extensionId * @param {string=} version * @param {boolean=} latest * @return {!Promise}
src/service/extensions-impl.js:284
↓ 5 callersMethodinNonAmpPreferenceExp
* Should only be called after XHR response headers have been processed and * postAdResponseExperimentFeatures is populated. * @return {boolean}
extensions/amp-a4a/0.1/amp-a4a.js:590
↓ 5 callersFunctionincrementMutationCount
()
examples/amp-script/amp-script-demo.js:7
↓ 5 callersMethodinit
* @param {!Promise<!Object>} variants * @package * @restricted
extensions/amp-experiment/1.0/variant.js:33
↓ 5 callersMethodinitializeLoadMoreElements_
* @return {!Promise} * @private
extensions/amp-list/0.1/amp-list.js:337
↓ 5 callersMethodinitializePages
@override
extensions/amp-story-auto-ads/0.1/algorithm-count-pages.js:44
↓ 5 callersMethodinitiateAdRequest
* This is the entry point into the ad promise chain. * * Calling this function will initiate the following sequence of events: ad * url const
extensions/amp-a4a/0.1/amp-a4a.js:684
↓ 5 callersMethodinitiateRefreshCycle
* Initiates the refresh cycle by initiating the visibility manager on the * element.
extensions/amp-a4a/0.1/refresh-manager.js:288
↓ 5 callersFunctioninsertAtStart
(root, element)
src/core/dom/index.js:147
↓ 5 callersFunctioninstall
(win)
src/polyfills/resize-observer.js:14
↓ 5 callersMethodinstallActionHandler
* Installs action handler for the specified element. The action handler is * responsible for checking invocation trust. * * For AMP elements,
src/service/action-impl.js:450
↓ 5 callersFunctioninstallCryptoService
(win)
src/service/crypto-impl.js:204
↓ 5 callersFunctioninstallGlobalSubmitListenerForDoc
(ampdoc)
src/document-submit.js:18
↓ 5 callersFunctioninvocation
(method, args = {})
extensions/amp-render/1.0/test/test-amp-render.js:55
↓ 5 callersFunctionio
(n)
third_party/d3/d3.js:3
↓ 5 callersFunctionir
(n,t)
third_party/d3/d3.js:2
↓ 5 callersMethodisActualPage_
* Checks if the amp-story-page for a given ID exists. * Note: the `this.pages_` array might not be defined yet. * @param {string} pageId * @r
extensions/amp-story/1.0/amp-story.js:1202
↓ 5 callersFunctionisAmpElement
(element)
src/core/dom/amp-element-helpers.js:12
↓ 5 callersMethodisBackgroundedAtStart
* Whether the visibility root has been created in the background mode. * @return {boolean} * @abstract
extensions/amp-analytics/0.1/visibility-manager.js:196
↓ 5 callersMethodisDeclaredSticky
* Whether the element is declared as sticky in any of the user's stylesheets. * Will include any matches, not necessarily currently sticky elements
src/service/fixed-layer.js:385
↓ 5 callersMethodisDismissed
* @protected * @return {*} TODO(#23582): Specify return type
extensions/amp-app-banner/0.1/amp-app-banner.js:108
↓ 5 callersMethodisDismissed
@override
extensions/amp-user-notification/0.1/amp-user-notification.js:402
↓ 5 callersMethodisEnabled
* @return {boolean}
extensions/amp-access/0.1/amp-access.js:276
↓ 5 callersFunctionisEnumValue
* Checks whether `s` is a valid value of `enumObj`. * * @param {!Object<T>} enumObj * @param {T} s * @return {boolean} * @template T
third_party/subscriptions-project/swg.js:7126
↓ 5 callersFunctionisFormDataWrapper
(o)
src/form-data-wrapper.js:33
↓ 5 callersMethodisInteractive
* Whether users can interact with the video such as pausing it. * Example of non-interactive videos include design background videos where * all
src/video-interface.js:54
↓ 5 callersMethodisLoaded
* @return {boolean}
extensions/amp-next-page/1.0/page.js:126
↓ 5 callersMethodisPerformanceTrackingOn
* Identifies if the viewer is able to track performance. If the document is * not embedded, there is no messaging channel, so no performance tracki
src/service/performance-impl.js:961
↓ 5 callersMethodisPreview
* Whether the AMP document currently being previewed. * @return {boolean}
src/service/ampdoc-impl.js:734
↓ 5 callersFunctionisRecursive
* Whether the property is recursive. * * @param {IContextProp<?, ?>} prop * @return {boolean}
src/core/context/values.js:687
↓ 5 callersMethodisStoryEligible
@override
extensions/amp-story-auto-ads/0.1/algorithm-count-pages.js:38
↓ 5 callersMethodisToolbarShown_
* Returns if the sidebar is currently in toolbar media query * @return {boolean} * @private
extensions/amp-sidebar/0.2/toolbar.js:91
↓ 5 callersMethodisToolbarShown_
* Returns if the sidebar is currently in toolbar media query * @return {boolean} * @private
extensions/amp-sidebar/0.1/toolbar.js:92
↓ 5 callersMethodisValidTime_
* Checks if time is a valid value. * * @param {time} time * @return {boolean} * @private
extensions/amp-live-list/0.1/amp-live-list.js:951
↓ 5 callersFunctionj
(n)
third_party/d3/d3.js:1
↓ 5 callersMethodjsonForPingback
* Returns json to be used for pingback. * * @return {!JsonObject}
extensions/amp-subscriptions/0.1/entitlement.js:89
↓ 5 callersMethodkeyDownHandler_
* Handles key presses on an accordion header to expand/collapse its content * or move focus to previous/next header. * @param {!Event} event key
extensions/amp-accordion/0.1/amp-accordion.js:566
↓ 5 callersFunctionkt
(n,t,e)
third_party/d3/d3.js:1
↓ 5 callersFunctionl
(e)
examples/amp-script/vue-todomvc.js:7
↓ 5 callersMethodlayoutAd_
* Layout ad, and display sticky-ad container after layout complete. * @return {!Promise} * @private
extensions/amp-sticky-ad/1.0/amp-sticky-ad.js:236
↓ 5 callersMethodlayoutCallback
@override
extensions/amp-truncate-text/0.1/amp-truncate-text.js:169
↓ 5 callersMethodlayoutCallback
@override
extensions/amp-facebook-comments/0.1/amp-facebook-comments.js:69
↓ 5 callersMethodlayoutPlayer
* @public
src/amp-story-player/amp-story-player-impl.js:739
↓ 5 callersMethodleaveOverlayMode
@override
src/inabox/inabox-viewport.js:316
↓ 5 callersFunctionlistenForOncePromise
(iframe, typeOfMessages, opt_is3P)
src/iframe-helper.js:321
↓ 5 callersMethodlisten_
* Listens for the specified event on the element. * @param {!EventTarget} element * @param {string} eventType * @param {function(!Event)} lis
extensions/amp-date-picker/0.1/amp-date-picker.js:1167
↓ 5 callersMethodloadPaymentData
* Request payment data when payment method is UPI * * @param {!PaymentDataRequest} paymentDataRequest Provides necessary * information to
third_party/subscriptions-project/swg.js:16986
↓ 5 callersMethodloadedOnce
* Returns a promise that is resolved when this resource is laid out * for the first time and the resource was loaded. Note that the resource * c
src/service/resource.js:959
↓ 5 callersFunctionlogOnSameLine
* Logs messages on the same line to indicate progress * @param {...string} messages
build-system/common/logging.js:57
↓ 5 callersFunctionmakeData
(id, isPercentage, percent)
extensions/amp-analytics/0.1/test/test-video-analytics.js:75
← previousnext →2,901–3,000 of 18,703, ranked by callers