MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 9 callersMethodgetConsentPolicy_
* Get the consent policy to follow. * @return {?string}
src/custom-element.js:1885
↓ 9 callersFunctiongetCsiAmpAnalyticsVariables
(analyticsTrigger, a4a, qqid)
ads/google/a4a/utils.js:640
↓ 9 callersMethodgetDockedVideo_
* @return {!VideoOrBaseElementDef} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:573
↓ 9 callersFunctiongetDocumentVisibilityState
(doc)
src/core/document/visibility.js:8
↓ 9 callersFunctiongetElement
(attributes, opt_responsive, opt_beforeLayoutCallback)
extensions/amp-byside-content/0.1/test/test-amp-byside-content.js:23
↓ 9 callersFunctiongetElementServiceIfAvailable
( win, id, extension, version, opt_element )
src/element-service.js:29
↓ 9 callersFunctiongetExistingServiceOrNull
(win, id)
src/service-helpers.js:176
↓ 9 callersFunctiongetFakeTouchEvent
(type)
extensions/amp-viewer-integration/0.1/test/test-touch-handler.js:4
↓ 9 callersMethodgetFallback
()
extensions/amp-a4a/0.1/test/utils.js:18
↓ 9 callersFunctiongetForm
(doc, isCustomValidations = false)
extensions/amp-form/0.1/test/test-form-validators.js:32
↓ 9 callersMethodgetFrameData
* Gets the FrameData associated with a particular cross-domain frame type. * @param {string} type The type attribute of the amp-analytics tag *
extensions/amp-analytics/0.1/iframe-transport.js:294
↓ 9 callersFunctiongetLengthUnits
(length)
src/core/dom/layout/index.js:189
↓ 9 callersMethodgetLoadMoreButton
* @return {!Element}
extensions/amp-list/0.1/service/load-more-service.js:91
↓ 9 callersMethodgetMacros
* @param {!Element} element * @return {!JsonObject} contains all registered macros
extensions/amp-analytics/0.1/variables.js:305
↓ 9 callersMethodgetName_
* @return {string} Returns a string to identify this tag. May not be unique * if the element id is not unique. * @private
extensions/amp-analytics/0.1/amp-analytics.js:836
↓ 9 callersFunctiongetNextArrow
(controller)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:64
↓ 9 callersFunctiongetOutput
* Computes the output for a test from its transform and input. * * @param {string} transform * @param {string} input * @return {Promise<string>}
build-system/tasks/server-tests.js:107
↓ 9 callersMethodgetPlatformKey
@override
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:726
↓ 9 callersFunctiongetPrevArrow
(controller)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:60
↓ 9 callersFunctiongetProxyServingType
(url)
src/url.js:409
↓ 9 callersFunctiongetReadyIframeCmpConsentUi
()
extensions/amp-consent/0.1/test/test-consent-ui.js:106
↓ 9 callersFunctiongetRecaptchaInput
(config = ampRecaptchaInputAttributes)
extensions/amp-recaptcha-input/0.1/test/test-amp-recaptcha-input.js:28
↓ 9 callersMethodgetReceiver
* Returns the element identified by a receiver id if it exists in the * invocation origin document and has a classList. If not found, returns null.
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:423
↓ 9 callersFunctiongetSCPlayer
(mediaid, isPlaylist, opt_attrs)
extensions/amp-soundcloud/0.1/test/test-amp-soundcloud.js:23
↓ 9 callersFunctiongetSchedulerForDoc
(ampdoc)
src/service/scheduler.js:302
↓ 9 callersMethodgetScrollLeft
@override
src/inabox/inabox-viewport.js:169
↓ 9 callersFunctiongetSlideWrappers
(el)
extensions/amp-carousel/0.2/test/test-type-slides.js:52
↓ 9 callersFunctiongetSlidesFromShadow
()
extensions/amp-base-carousel/1.0/test/test-amp-base-carousel.js:47
↓ 9 callersMethodgetStartTime
* The start time from which all visibility events and times are measured. * @return {number} * @abstract
extensions/amp-analytics/0.1/visibility-manager.js:182
↓ 9 callersFunctiongetVendorJsPropertyName
(style, camelCase, opt_bypassCache)
src/core/dom/style.js:75
↓ 9 callersFunctiongetViewportHeight
(win)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-parallax.js:128
↓ 9 callersFunctiongetViqeo
(params)
extensions/amp-viqeo-player/0.1/test/test-amp-viqeo-player.js:171
↓ 9 callersMethodhandleClick_
* Handle clicks on the element. * @private
extensions/amp-social-share/0.1/amp-social-share.js:178
↓ 9 callersMethodhandleClick_
* Handle the click event * @param {!Event} event * @return {boolean|undefined}
extensions/amp-standalone/0.1/amp-standalone.js:45
↓ 9 callersMethodhandleCommand_
* @param {string|undefined} rsvpId * @param {string} cmd * @param {?Object} payload * @return {*} * @private
extensions/amp-access/0.1/iframe-api/messenger.js:225
↓ 9 callersMethodhasDescendantsOf
* Returns `true` if the specified element contains any of the elements in * the history. * @param {!Element} element * @return {boolean}
src/focus-history.js:126
↓ 9 callersMethodhasOwner
* Whether the resource has an owner. * @return {boolean}
src/service/resource.js:262
↓ 9 callersMethodhasResolvableAction
* Checks if the given element's registered action resolves to at least one * existing element by id or a global target (e.g. "AMP"). * @param {!
src/service/action-impl.js:504
↓ 9 callersFunctionids
(array)
test/unit/test-extension-script.js:446
↓ 9 callersFunctioninit
()
extensions/amp-orientation-observer/0.1/test/test-amp-orientation-observer.js:15
↓ 9 callersFunctioninstall
(win)
src/polyfills/intersection-observer.js:19
↓ 9 callersMethodinstallExtensionsInEmbed
* Install extensions in the child window (friendly iframe). The pre-install * callback, if specified, is executed after polyfills have been configu
src/friendly-iframe-embed.js:717
↓ 9 callersFunctioninstallRuntimeServices
(global)
src/service/core-services.js:57
↓ 9 callersFunctioninstallSessionServiceForTesting
(ampdoc)
extensions/amp-analytics/0.1/session-manager.js:354
↓ 9 callersMethodisAndroid
* Whether the current platform is an Android device. * @return {boolean}
src/service/platform-impl.js:23
↓ 9 callersMethodisAtEnd
* @return {boolean} True if the carousel is not looping, and is at the * start, false otherwise.
extensions/amp-base-carousel/0.1/carousel.js:903
↓ 9 callersFunctionisCancelError
* Whether the specified error is an AbortError type. * See https://heycam.github.io/webidl/#aborterror. * @param {*} error * @return {boolean}
third_party/subscriptions-project/swg.js:3810
↓ 9 callersFunctionisDisabled
(element)
src/core/dom/form.js:132
↓ 9 callersFunctionisDocumentHidden
(doc)
src/core/document/visibility.js:39
↓ 9 callersFunctionisExperimentOn
(win, experimentId)
src/experiments/index.js:60
↓ 9 callersFunctionisPubId
(candidate)
extensions/amp-addthis/0.1/addthis-utils/mode.js:52
↓ 9 callersFunctionisPullRequestBuild
* Returns true if this is a PR build. * @return {boolean}
build-system/common/ci.js:65
↓ 9 callersMethodisSecure
* Returns `true` if the URL is secure: either HTTPS or localhost (for * testing). * @param {string} url * @return {boolean}
src/service/url-impl.js:144
↓ 9 callersFunctionisSelectedEndDate
(wrapper, date)
extensions/amp-date-picker/1.0/test/test-helpers.js:25
↓ 9 callersFunctionisString
(s)
src/core/types/string/index.js:204
↓ 9 callersMethodisUrlSimilarForQueryParams
* Compares if two URLs are identical except for a subset of the query * parameters. The second URL (that is being tested) must have the same subset
extensions/amp-web-push/0.1/web-push-service.js:426
↓ 9 callersFunctionji
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 9 callersMethodlayoutCallback
@override
extensions/amp-analytics/0.1/amp-analytics.js:150
↓ 9 callersMethodlayoutCallback
@override
extensions/amp-carousel/0.1/slidescroll.js:458
↓ 9 callersFunctionlayoutShoppingImplAndAttachmentChildImpl
()
extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-attachment.js:161
↓ 9 callersMethodlistenWhenEnabled_
* @param {!Element} element * @param {string} eventType * @param {function()} callback * @return {!UnlistenDef} * @private
extensions/amp-video-docking/0.1/controls.js:356
↓ 9 callersMethodloadBlob
* Returns the promise that yields the store blob for the specified origin. * @param {string} unusedOrigin * @return {!Promise<?string>}
src/service/storage-impl.js:297
↓ 9 callersMethodloadMeteringState
* Loads metering state for a given publication ID. * * @return {!Promise<?MeteringStateDef>}
extensions/amp-subscriptions/0.1/metering.js:92
↓ 9 callersFunctionloaded
(element)
extensions/amp-social-share/0.1/test/test-amp-social-share.js:81
↓ 9 callersFunctionlog
(logger, tagName, attribName, oldValue, newValue)
third_party/caja/html-sanitizer.js:2223
↓ 9 callersFunctionlogEvent
* Logs Showcase events. * @param {{ * analyticsEvent: (AnalyticsEvent|undefined), * showcaseEvent: (ShowcaseEvent|undefined), * isFromUserAc
third_party/subscriptions-project/swg-gaa.js:2759
↓ 9 callersMethodlogEvent
* @overrides * @param {!../api/client-event-manager-api.ClientEvent} event * @param {(!../api/client-event-manager-api.ClientEventParams|undefin
third_party/subscriptions-project/swg.js:7274
↓ 9 callersFunctionlogSeparator_
* Prints a separator line so logs are easy to read.
build-system/tasks/release/index.js:149
↓ 9 callersMethodlooksLikeTrackingIframe_
* @return {boolean} * @private
extensions/amp-iframe/0.1/amp-iframe.js:312
↓ 9 callersFunctionmakeElementWithConfig
(config)
extensions/amp-ad-exit/0.1/test/test-amp-ad-exit.js:142
↓ 9 callersFunctionmakeInteractive
(interactiveId, answered = false)
extensions/amp-story/1.0/test/test-amp-story-store-service.js:176
↓ 9 callersMethodmaybeRewriteLink
* Notify the LinkRewriteService that a click has happened on an anchor. * This is the chance for one of the registered LinkRewriter to rewrite the
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter-manager.js:125
↓ 9 callersFunctionmaybeToEsmName
* @param {string} name * @return {string}
build-system/tasks/helpers.js:201
↓ 9 callersFunctionmemo
(obj, prop, factory)
src/core/types/object/index.js:189
↓ 9 callersFunctionmockMode
(options)
test/unit/3p/test-3p-frame.js:30
↓ 9 callersMethodmutateElement
* Runs the specified mutation on the element and ensures that remeasures and * layouts are performed for the affected elements. * * This meth
src/base-element.js:949
↓ 9 callersMethodnext
* Moves forward by the current advance count. * @param {!ActionSource=} actionSource
extensions/amp-base-carousel/0.1/carousel.js:345
↓ 9 callersMethodonHeaderPicked_
* Handles accordion header activation, through clicks or enter/space presses. * @param {!Event} event 'click' or 'keydown' event. * @private
extensions/amp-accordion/0.1/amp-accordion.js:526
↓ 9 callersMethodonSubmitSuccess
* Processes dirtiness state when the form submission succeeds. This clears * the "submitting" state and the form's overall dirtiness.
extensions/amp-form/0.1/form-dirtiness.js:76
↓ 9 callersMethodopenChannelAndStart_
* @param {!../../../src/service/viewer-interface.ViewerInterface} viewer * @param {!../../../src/service/ampdoc-impl.AmpDoc} ampdoc * @param {st
extensions/amp-viewer-integration/0.1/amp-viewer-integration.js:170
↓ 9 callersFunctionoriginMatches
(event, iframe, host)
src/iframe-video.js:30
↓ 9 callersMethodoverflowCallback
* Informs the element that it's either overflown or not. * @param {boolean} overflown * @param {number|undefined} requestedHeight * @param {n
src/service/resource.js:375
↓ 9 callersFunctionparseDate
( value: string, dateFormat: string = ISO_8601, locale: Locale = DEFAULT_LOCALE )
extensions/amp-date-picker/1.0/parsers.ts:184
↓ 9 callersMethodpingback
* Pingback document view. * @return {!Promise}
extensions/amp-access/0.1/iframe-api/access-controller.js:29
↓ 9 callersFunctionplayVideo
()
ads/google/ima/ima-video.js:1120
↓ 9 callersMethodpostbackOrRedirect_
* Tries to postback the response message or redirect URL. * @return {!Promise} * @private
extensions/amp-access/0.1/amp-login-done-dialog.js:35
↓ 9 callersMethodpreprocessPercentages_
* Preprocess the percentages for display. * * @param {!Array<!InteractiveOptionType>} optionsData * @return {Array<number>} * @protected
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:572
↓ 9 callersMethodpromiseErrorHandler_
* Handles uncaught errors within promise flow. * @param {*} error * @param {boolean=} opt_ignoreStack * @private
extensions/amp-a4a/0.1/amp-a4a.js:1313
↓ 9 callersMethodregisterHandler
* Registers a method that will handle requests sent to the specified * message name. * @param {string} messageName The name of the message to ha
extensions/amp-viewer-integration/0.1/messaging/messaging.js:263
↓ 9 callersMethodrender
(fast)
third_party/zuho/zuho.js:209
↓ 9 callersFunctionrenderHook
* Similar to @testing-library/react-hooks, except works with Enzyme. * * Renders a hook. * Anything that should trigger a render should be wrapped
extensions/amp-pan-zoom/1.0/test/test-component.js:580
↓ 9 callersMethodrenderResults_
* Render the given data into item elements in the given container element. * @param {!Array<!JsonObject|string>} filteredData * @param {!Element
extensions/amp-autocomplete/0.1/amp-autocomplete.js:732
↓ 9 callersMethodrequestChangeSize
@override
src/service/mutator-impl.js:66
↓ 9 callersFunctionresetScheduledElementForTesting
(win, elementName)
src/service/custom-element-registry.js:222
↓ 9 callersMethodrun
* Sets up message listeners for messages from the AMP page and service * worker. * * @param {?string} allowedOrigin For testing purposes only
extensions/amp-web-push/0.1/amp-web-push-helper-frame.js:388
↓ 9 callersMethodselectApplicablePlatform_
* Returns most qualified platform. Qualification of a platform is based on * weight. Every platform starts with weight 0 and evaluated against *
extensions/amp-subscriptions/0.1/platform-store.js:529
↓ 9 callersMethodsendCommand_
* Sends a command to the player through postMessage. * @param {string} command * @param {boolean} opt_arg * @private
extensions/amp-dailymotion/0.1/amp-dailymotion.js:224
↓ 9 callersFunctionsendFakeInfoDeliveryMessage
(yt, iframe, info)
extensions/amp-youtube/0.1/test/test-amp-youtube.js:402
↓ 9 callersMethodsetContainer
* Adds the observer for the specified container. The first observer to * find an intersection will trigger the element's mount. * * @param {!
src/service/scheduler.js:131
↓ 9 callersFunctionsetCurrentTime
(video, currentTimeSeconds)
test/unit/test-video-analytics-percentage-tracker.js:43
← previousnext →1,701–1,800 of 18,703, ranked by callers