MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 8 callersMethodfinish
()
extensions/amp-animation/0.1/test/test-web-animations.js:2096
↓ 8 callersMethodgenerateMetadata
* Creates a JSON metadata in which custom stylesheets, extensions * and runtime offsets are recorded. This is used by AMP4ADS at runtime * for e
extensions/amp-ad-network-fake-impl/0.1/amp-ad-metadata-transformer.js:40
↓ 8 callersFunctiongenerateSerializedAttributes
(opt_sentinel)
test/unit/test-amp-context.js:410
↓ 8 callersFunctiongenerateUrls
(numUrls, numMacroUrls)
test/unit/test-real-time-config.js:170
↓ 8 callersMethodgetAdUrl
@override
extensions/amp-ad-network-dianomi-impl/0.1/amp-ad-network-dianomi-impl.js:30
↓ 8 callersFunctiongetAmpAdTemplateHelper
(target)
extensions/amp-a4a/0.1/amp-ad-template-helper.js:133
↓ 8 callersFunctiongetAnalyticsService
(win, el)
extensions/amp-story/1.0/story-analytics.js:63
↓ 8 callersFunctiongetChildJsonConfig
(element)
src/core/dom/index.js:534
↓ 8 callersFunctiongetConsentMetadata
(element, policyId = 'default')
src/consent.js:65
↓ 8 callersMethodgetContext
* @return {!Object} The context object passed to validators and renderers.
extensions/amp-a4a/0.1/amp-ad-network-base.js:115
↓ 8 callersFunctiongetCryptoRandomBytesArray
(win, length)
src/core/types/string/bytes.js:94
↓ 8 callersMethodgetCurrentElement_
* @return {!LightboxElementMetadataDef} * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:666
↓ 8 callersMethodgetCurrentExtensionHolder_
* Returns the holder for the extension currently being registered. * @param {string=} opt_forName Used for logging only. * @return {!ExtensionHo
src/service/extensions-impl.js:559
↓ 8 callersMethodgetCurrentPolicyStatus
* Returns the current consent policy state * @return {CONSENT_POLICY_STATE}
extensions/amp-consent/0.1/consent-policy-manager.js:507
↓ 8 callersMethodgetEncryptedDocumentKey
* Returns encrypted document key if it exists. * This key is needed for requesting a different key * that decrypts locked content on the page.
extensions/amp-subscriptions/0.1/crypto-handler.js:67
↓ 8 callersMethodgetEngagedValue_
Gets the most recent engaged value
extensions/amp-analytics/0.1/session-manager.js:256
↓ 8 callersMethodgetEntitlementForThis
* Returns the first matching entitlement for the current product, * optionally also matching the specified source. * @param {string=} source
third_party/subscriptions-project/swg.js:4404
↓ 8 callersFunctiongetEvent
(name, target)
test/unit/utils/test-event-helper.js:20
↓ 8 callersMethodgetFormAsObject_
* Returns form data as an object. * @return {!JsonObject} * @private
extensions/amp-form/0.1/amp-form.js:1221
↓ 8 callersFunctiongetFormVerifier
(form, xhr)
extensions/amp-form/0.1/form-verifiers.js:34
↓ 8 callersMethodgetGrantEntitlement
* Returns the entitlement which unlocked the document * @return {!Promise<?Entitlement>}
extensions/amp-subscriptions/0.1/platform-store.js:391
↓ 8 callersFunctiongetHashParams
(opt_win)
src/core/types/string/url.js:53
↓ 8 callersFunctiongetIns
(itemSrc, params, opt_responsive, opt_beforeLayoutCallback)
extensions/amp-playbuzz/0.1/test/test-amp-playbuzz.js:43
↓ 8 callersMethodgetIntersectionObserver_
* @return {!IntersectionObserver} * @private
extensions/amp-analytics/0.1/visibility-manager.js:753
↓ 8 callersFunctiongetKaltura
(attributes, opt_responsive)
extensions/amp-kaltura-player/0.1/test/test-amp-kaltura-player.js:18
↓ 8 callersFunctiongetLoggingPrefix
* Returns the formatted logging prefix for the ongoing PR check job * @return {string}
build-system/common/logging.js:39
↓ 8 callersMethodgetMajorVersion
* Returns the major version of the browser. * @return {number}
src/service/platform-impl.js:129
↓ 8 callersMethodgetMetric
* Retrieve a promise for tick label, resolved with metric. Used by amp-analytics * * @param {TickLabel_Enum} label * @return {!Promise<time>}
src/service/performance-impl.js:971
↓ 8 callersFunctiongetOpacity
(win)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fade-in.js:130
↓ 8 callersMethodgetParent
* @return {?AmpDoc}
src/service/ampdoc-impl.js:327
↓ 8 callersMethodgetPendingChangeSize
* @return {!./resources-impl.SizeDef|undefined}
src/service/resource.js:404
↓ 8 callersFunctiongetRenderedData
()
extensions/amp-date-display/1.0/test/test-amp-date-display.js:33
↓ 8 callersMethodgetReplacementUrl
* Get the replacement url associated with the anchor. * @param {!HTMLElement} anchor * @return {?string} * @public
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter.js:68
↓ 8 callersMethodgetScrollManager
* Returns the Scroll Managet corresponding to this analytics root. * The Scroll Manager is created lazily as needed, and will handle * calling
extensions/amp-analytics/0.1/analytics-root.js:451
↓ 8 callersMethodgetSeconds
* @return {?number}
third_party/subscriptions-project/swg.js:2515
↓ 8 callersFunctiongetServeNpaPromise
(element)
ads/google/a4a/utils.js:1002
↓ 8 callersFunctiongetSessionId
()
extensions/amp-addthis/0.1/addthis-utils/session.js:4
↓ 8 callersMethodgetSortTime_
* @param {!Element} elem * @return {time} * @private
extensions/amp-live-list/0.1/amp-live-list.js:940
↓ 8 callersFunctiongetSupportedLanguageCode
(candidateLanguageCodes)
extensions/amp-story/1.0/amp-story-localization-service.js:78
↓ 8 callersFunctiongetSwgMode
* Check for swg.mode= in url fragemnet if it exists use it * otherwise use the default build mode. * @returns {Object}
third_party/subscriptions-project/swg.js:5532
↓ 8 callersFunctiongetTextContent
(element)
extensions/amp-truncate-text/0.1/test/test-amp-truncate-text.js:80
↓ 8 callersFunctiongetTiktok
(attrs = {})
extensions/amp-tiktok/0.1/test/test-amp-tiktok.js:61
↓ 8 callersMethodgetViewerUrl
* Returns the promise that will yield the viewer URL value. It's by default * the current page's URL. The trusted viewers are allowed to override t
src/service/viewer-impl.js:555
↓ 8 callersFunctiongetter
()
third_party/inputmask/inputmask.js:2516
↓ 8 callersMethodgoToSlide
* Moves the Carousel to a given index. * @param {number} index
extensions/amp-carousel/0.2/amp-carousel.js:281
↓ 8 callersMethodhalt
* Halts the motion. The motion promise will be rejected since the motion * has been interrupted.
src/motion.js:167
↓ 8 callersMethodhide_
* @protected * @return {*} TODO(#23582): Specify return type
extensions/amp-app-banner/0.1/amp-app-banner.js:137
↓ 8 callersFunctioni
(e)
examples/amp-script/vue-todomvc.js:7
↓ 8 callersFunctionincrementLoadingAds
(win, opt_loadingPromise)
extensions/amp-ad/0.1/concurrent-load.js:79
↓ 8 callersMethodinitializeConfig
* Parses service configuration and determines environment compatibility. * @param {!AmpWebPushConfig} configJson
extensions/amp-web-push/0.1/web-push-service.js:209
↓ 8 callersFunctioninsert
(iframe)
test/unit/test-iframe-helper.js:22
↓ 8 callersFunctioninstallTemplatesServiceForDoc
(ampdoc)
src/service/template-impl.js:343
↓ 8 callersFunctioninstallVariableServiceForTesting
(ampdoc)
extensions/amp-analytics/0.1/variables.js:548
↓ 8 callersFunctioninterceptEventListeners
(target)
testing/fake-dom.js:403
↓ 8 callersFunctionintersectionEntryToJson
(entry)
src/core/dom/layout/intersection.js:81
↓ 8 callersFunctionisAdPositionAllowed
(element, win)
src/ad-helper.js:42
↓ 8 callersFunctionisCachedByCdn
(element, opt_videoElement)
extensions/amp-video/0.1/amp-video.js:1072
↓ 8 callersFunctionisConnectedNode
(node)
src/core/dom/index.js:182
↓ 8 callersMethodisEnabled
@override
extensions/amp-live-list/0.1/amp-live-list.js:256
↓ 8 callersMethodisEnabled
* Indicates whether amp-auto-ads should be enabled on this pageview. * @param {!Window} unusedWin * @return {boolean} true if amp-auto-ads shoul
extensions/amp-auto-ads/0.1/ad-network-config.js:26
↓ 8 callersFunctionisInFie
(element)
src/iframe-helper.js:599
↓ 8 callersMethodisIndexOutofBounds_
* Checks if index is out of bounds. * @private * @param {number} index * @return {boolean}
src/amp-story-player/amp-story-player-impl.js:1955
↓ 8 callersMethodisKeyboardActive
* Whether the keyboard input is currently active. * @return {boolean}
src/input.js:143
↓ 8 callersFunctionisPrimitive
(e)
third_party/react-dates/bundle.js:1
↓ 8 callersMethodisProtocolValid
* Returns whether the URL has valid protocol. * Deep link protocol is valid, but not javascript etc. * @param {string|!Location} url * @retur
src/service/url-impl.js:71
↓ 8 callersMethodisSubscriber
* Returns true if the user is a subscriber. * @return {boolean}
extensions/amp-subscriptions/0.1/entitlement.js:123
↓ 8 callersMethodisSupported
* Returns true if the page is embedded in CCT and is served by a proxy. * @return {boolean}
src/service/cache-cid-api.js:54
↓ 8 callersMethodisTooNearAnAd
* Indicates if the given yPosition would be within the specifiec minDistance, * vertically, of an ad that the AdTracker is aware of. * @param {n
extensions/amp-auto-ads/0.1/ad-tracker.js:94
↓ 8 callersFunctionjoinFragments
(fragments, renderer = identity)
build-system/server/app-index/html.js:10
↓ 8 callersFunctionjsonConfiguration
(path)
build-system/babel-plugins/babel-plugin-transform-json-configuration/index.js:181
↓ 8 callersFunctionk
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 8 callersFunctionmakeChildIframeDocWrite
(win)
test/unit/test-3p-environment.js:231
↓ 8 callersMethodmarkCrossDomainIframeAsDone
* Called when a creative no longer needs its cross-domain iframe (for * instance, because the creative has been removed from the DOM). * Once al
extensions/amp-analytics/0.1/iframe-transport.js:225
↓ 8 callersFunctionmaybeCreateSlotElementLtwh
(left, top, width, height)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:1325
↓ 8 callersMethodmeasureRootElement_
* Gets the layout rectangle of the root element * @return {!Promise<!../../../src/layout-rect.LayoutRectDef>}
extensions/amp-analytics/0.1/scroll-manager.js:196
↓ 8 callersMethodmethod_
* @param {string} method * @private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:416
↓ 8 callersFunctionmockExternalMessages
(messageTemplates)
test/unit/utils/test-log.js:676
↓ 8 callersFunctionmockLoadedSignal
(element, isLoadedSuccessfully)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:95
↓ 8 callersFunctionmockSendXhrRequest
* @param {{width: number, height: number}} size * @param {boolean} isAmpCreative
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-amp-ad-network-doubleclick-impl.js:1523
↓ 8 callersFunctionmsg
* Gets a message for a given language code, from a map of messages. * @param {!Object<string, string>} map * @param {?string|?Element} languageCodeO
third_party/subscriptions-project/swg-gaa.js:938
↓ 8 callersMethodnext
* Navigates to the next page in the story. * @param {boolean=} isAutomaticAdvance Whether this navigation was caused * by an automatic advan
extensions/amp-story/1.0/amp-story-page.js:1598
↓ 8 callersMethodnormalizeBoundaries_
* Rounds the boundaries for scroll trigger to nearest * SCROLL_PRECISION_PERCENT and returns an object with normalized boundaries * as keys and
extensions/amp-analytics/0.1/events.js:786
↓ 8 callersMethodobserve
(element)
test/unit/test-ini-load.js:106
↓ 8 callersMethodobserve
@param {function(boolean)} handler Takes whether the element is shown.
extensions/amp-fx-collection/0.1/scroll-toggle.js:52
↓ 8 callersFunctionobserveBorderBoxSize
(element, callback)
src/core/dom/layout/size-observer.js:81
↓ 8 callersMethodonClick_
* A click (left or right) on an anchor has happened, * fire NA clicks if needed. * @param {!{linkRewriterId: ?string, anchor: !HTMLElement, clic
extensions/amp-skimlinks/0.1/amp-skimlinks.js:198
↓ 8 callersFunctiononDocumentReady
(doc, callback)
src/core/document/ready.js:30
↓ 8 callersMethodonEnd
* Sets the callback that will be called when the DOM has been fully * constructed. * @param {function()} unusedCallback
src/utils/dom-writer.js:48
↓ 8 callersMethodonLayoutMeasure
* @override
extensions/amp-ad/0.1/amp-ad-3p-impl.js:273
↓ 8 callersMethodonMessage
* @param {string} eventType * @param {function(!JsonObject)} handler * @return {!UnlistenDef}
extensions/amp-story/1.0/amp-story-viewer-messaging-handler.js:133
↓ 8 callersMethodonMouseDetected
* Registers an event handle in case if the mouse is detected. * @param {function(boolean)} handler * @param {boolean=} opt_fireImmediately *
src/input.js:132
↓ 8 callersMethodonPageScanned_
* Called only on the first page scan. * Make a fallback call to beacon if no links were founds on the page. * Send the impression tracking once
extensions/amp-skimlinks/0.1/amp-skimlinks.js:128
↓ 8 callersMethodonVariableUpdate
* Updates a variable with a new value * @param {string} name * @param {*} update
extensions/amp-story/1.0/variable-service.js:141
↓ 8 callersMethodopen
* Opens the dialog with the specified content. * @param {!Element} content * @param {boolean=} showCloseAction * @return {!Promise}
extensions/amp-subscriptions/0.1/dialog.js:87
↓ 8 callersMethodopen_
* Open the specified submenu. * @param {!Element} submenu * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:170
↓ 8 callersFunctionp
(e)
third_party/inputmask/bundle.js:5
↓ 8 callersFunctionparse
* @param {string} url * @return {!URL}
src/preact/utils/url.js:29
↓ 8 callersFunctionparseMessage
(message)
extensions/amp-viewer-integration/0.1/messaging/messaging.js:23
↓ 8 callersMethodparseOptions_
* Reads the element attributes prefixed with option- and returns them as a list. * eg: [ * {optionIndex: 0, text: 'Koala'}, * {opti
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:323
↓ 8 callersFunctionparseQueryString
* Parses and builds Object of URL query string. * @param {string} query The URL query string. * @return {!Object<string, string>}
third_party/subscriptions-project/swg.js:5359
← previousnext →1,901–2,000 of 18,703, ranked by callers