MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 19 callersMethodconsentStateChangeHandler_
* Handle initial consent instance value and following consent value change * @param {!ConsentInfoDef} info
extensions/amp-consent/0.1/consent-policy-manager.js:182
↓ 19 callersMethodcreateAdPage
* Creates a StoryAdPage, appends the element to DOM, and adds it to * parent story pages Array. * @return {!StoryAdPage}
extensions/amp-story-auto-ads/0.1/story-ad-page-manager.js:111
↓ 19 callersMethodcreateElement_
* @param {string} name * @return {!Element} * @private
extensions/amp-access-laterpay/0.2/laterpay-impl.js:309
↓ 19 callersMethodcreateSameUnits
@override
extensions/amp-animation/0.1/parsers/css-expr-ast.js:531
↓ 19 callersFunctioncreateShadowRoot
(hostElement)
src/shadow-embed.js:37
↓ 19 callersFunctioncreateVideoIframe
(attrs = {}, opt_size)
extensions/amp-video-iframe/0.1/test/test-amp-video-iframe.js:59
↓ 19 callersFunctiondebounce
(win, callback, minInterval)
src/core/types/function/index.js:92
↓ 19 callersFunctione
()
examples/amp-script/vue-todomvc.js:7
↓ 19 callersMethodexpandUrlSync
* Synchronously expands the provided URL by replacing all known variables * with their resolved values. Optional `opt_bindings` can be used to add
src/service/url-replacements-impl.js:895
↓ 19 callersFunctionfeUrl
* @param {string} url Relative URL, e.g. "/offersiframe". * @param {string=} prefix * @param {Object<string, string>=} params List of extra params t
third_party/subscriptions-project/swg.js:5577
↓ 19 callersFunctionfireIntersect
(intersectPercent)
extensions/amp-analytics/0.1/test/test-visibility-manager.js:1117
↓ 19 callersFunctiongetAutocomplete
( attributes, json, wantInlineData, formAutocompleteValue = null )
extensions/amp-autocomplete/0.1/test/test-amp-autocomplete-init.js:43
↓ 19 callersMethodgetEntry_
* Returns the entry in the video manager corresponding to the video or * element provided * @param {!../video-interface.VideoOrBaseElementDef|!E
src/service/video-manager-impl.js:308
↓ 19 callersFunctiongetItems
* @param {!Element} el * @return {!Array<!Element>}
extensions/amp-stream-gallery/0.1/test/test-amp-stream-gallery.js:102
↓ 19 callersFunctiongetLengthNumeral
(length)
src/core/dom/layout/index.js:201
↓ 19 callersFunctiongetLocalizationService
(element)
extensions/amp-story/1.0/amp-story-localization-service.js:22
↓ 19 callersFunctiongetManager
(effectiveType)
extensions/amp-video/0.1/test/test-flexible-bitrate.js:235
↓ 19 callersFunctiongetReplacements
(opt_options)
test/unit/test-url-replacements.js:42
↓ 19 callersMethodgetResolvedViewerUrl
@override
src/service/viewer-impl.js:544
↓ 19 callersMethodgetResource_
* Returns the resource of the element. * @return {!./service/resource.Resource} * @private
src/custom-element.js:1541
↓ 19 callersFunctiongetTest
(pos, tests)
third_party/inputmask/inputmask.js:832
↓ 19 callersMethodgetWin
@override
third_party/subscriptions-project/swg.js:10680
↓ 19 callersMethodhasBeenMeasured
* Checks if the current resource has been measured. * @return {boolean}
src/service/resource.js:577
↓ 19 callersFunctioninitLogConstructor
()
src/utils/log.js:521
↓ 19 callersFunctionjwkSet
(keys)
extensions/amp-a4a/0.1/test/test-signature-verifier.js:112
↓ 19 callersFunctionlocalSubscriptionPlatformFactory
( ampdoc, platformConfig, serviceAdapter )
extensions/amp-subscriptions/0.1/local-subscription-platform.js:11
↓ 19 callersFunctionmagnitude
(deltaX, deltaY)
src/core/math.js:106
↓ 19 callersMethodmatchMedia
* @param {string} mediaQuery * @return {boolean}
extensions/amp-animation/0.1/web-animations.js:905
↓ 19 callersMethodnavigateTo
* @param {string} path * @return {!Promise}
examples/pwa/pwa.js:128
↓ 19 callersFunctiononDocumentFormSubmit_
(e)
src/document-submit.js:36
↓ 19 callersMethodonScroll
@override
src/inabox/inabox-viewport.js:288
↓ 19 callersMethodopen
* Opens the notification toast. * @return {!Promise}
third_party/subscriptions-project/swg.js:11957
↓ 19 callersFunctionparseDateAttrs
(element)
test/unit/core/dom/test-parse-date-attributes.js:8
↓ 19 callersFunctionpopulateQuiz
( quiz, numOptions = 4, prompt = undefined, correctOption = 1 )
extensions/amp-story-interactive/0.1/test/helpers.js:180
↓ 19 callersFunctionpostAmpMessage
(data, source)
test/unit/core/3p/test-iframe-messaging-client.js:426
↓ 19 callersFunctionr
(e,n,t)
third_party/react-dates/bundle.js:1
↓ 19 callersMethodregister_
* TODO (micajuineho): If we add new synchronous macros, we * will need to split this method and getMacros into sync and * async version (current
extensions/amp-analytics/0.1/variables.js:386
↓ 19 callersFunctionremoveChildren
(parent)
src/core/dom/index.js:104
↓ 19 callersFunctionsendEvent
(event)
test/unit/test-gesture.js:66
↓ 19 callersFunctionsetInterval
()
test/unit/core/dom/test-dom.js:311
↓ 19 callersMethodstart
* Initalize any work needed to start polling. * @param {boolean=} opt_immediate execute current work instead of queueing * it in a timeout.
extensions/amp-live-list/0.1/poller.js:69
↓ 19 callersMethodstart
* Starts the `amp-subscriptions` extension. * @return {SubscriptionService}
extensions/amp-subscriptions/0.1/amp-subscriptions.js:132
↓ 19 callersMethodstartLayout
* Starts the layout of the resource. Returns the promise that will yield * once layout is complete. Only allowed to be called on a upgraded, built
src/service/resource.js:841
↓ 19 callersMethodsupports
* @param {string} query * @return {boolean}
extensions/amp-animation/0.1/web-animations.js:913
↓ 19 callersMethodswitchToFrame
* @param {!ElementHandle<!WebElement>} handle * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:625
↓ 19 callersMethodtoggle_
* Toggles section between expanded or collapsed. * @param {!Element} section * @param {!ActionTrust_Enum} trust * @param {(boolean|undefined)
extensions/amp-accordion/0.1/amp-accordion.js:291
↓ 19 callersMethodtrack
* The #track() method takes in a unique custom-event name, and the * corresponding request url (or an array of request urls). One can call * #tr
src/extension-analytics.js:160
↓ 19 callersMethodupdate
* Performs fixed/sticky actions. * 1. Updates `top` styling if necessary. * 2. On iOS/Iframe moves elements between fixed layer and BODY dependi
src/service/fixed-layer.js:396
↓ 19 callersFunctionvalidateAllowedTypes
(window, type, allowedTypes)
3p/integration-lib.js:228
↓ 19 callersFunctionverifyAdElement
(adElement)
extensions/amp-auto-ads/0.1/test/test-amp-auto-ads.js:177
↓ 19 callersFunctiony
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 18 callersFunctionC
()
examples/amp-script/vue-todomvc.js:7
↓ 18 callersFunctionI
(a)
third_party/wgxpath/wgxpath.js:43
↓ 18 callersFunctionJ
(a)
third_party/wgxpath/wgxpath.js:43
↓ 18 callersFunctionL
(a,b)
third_party/wgxpath/wgxpath.js:43
↓ 18 callersFunctionact
(callback)
extensions/amp-pan-zoom/1.0/test/test-component.js:591
↓ 18 callersMethodaddTrigger
* Adds a trigger with the specified config and listener. The config must * contain `on` property specifying the type of the event. * * Trigge
extensions/amp-analytics/0.1/analytics-group.js:66
↓ 18 callersFunctionafterRenderPromise
* @return {!Promise<undefined>} A Promise that resolves after the browser has * rendered.
extensions/amp-base-carousel/0.1/test/test-child-layout-manager.js:13
↓ 18 callersMethodanimate
* Creates and starts animation with a single segment. Returns AnimationPlayer * object that can be used to monitor or control animation. * *
src/utils/animation.js:34
↓ 18 callersMethodbuildCallback
@override
extensions/amp-story-education/0.1/amp-story-education.js:85
↓ 18 callersMethodbuildCallback
@override @return {!Promise|undefined}.
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:174
↓ 18 callersMethodbuildCallback
@override
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:103
↓ 18 callersFunctioncidServiceForDocForTesting
(ampdoc)
src/service/cid-impl.js:738
↓ 18 callersFunctionclearInterval
()
test/unit/core/dom/test-dom.js:314
↓ 18 callersMethodcollapse
* Collapses the element, setting it to `display: none`, and notifies its * owner (if there is one) through {@link collapsedCallback} that the eleme
src/base-element.js:847
↓ 18 callersFunctioncreateFixtureIframe
( fixture, initialIframeHeight, opt_beforeLoad )
testing/iframe.js:52
↓ 18 callersFunctioncreateVideo
()
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:48
↓ 18 callersFunctiond
(n,t)
third_party/react-dates/bundle.js:1
↓ 18 callersMethoddiscoverWork_
* Discovers work that needs to be done since the last pass. If viewport * has changed, it will try to build new elements, measure changed elements,
src/service/resources-impl.js:1048
↓ 18 callersFunctiondistance
(x1, y1, x2, y2)
src/core/math.js:118
↓ 18 callersFunctionelementByTag
(element, tagName)
src/core/dom/query.js:330
↓ 18 callersFunctionexpectNoXhr
()
extensions/amp-analytics/0.1/test/test-transport.js:576
↓ 18 callersFunctionfindIndex
(array, predicate)
src/core/types/array.js:95
↓ 18 callersMethodgetAmpAdMetadata
* * Throws {@code SyntaxError} if the metadata block delimiters are missing * or corrupted or if the metadata content doesn't parse as JSON.
extensions/amp-a4a/0.1/amp-a4a.js:2244
↓ 18 callersMethodgetDataForTemplate_
* @return {!EnhancedVariablesDef} * @private
extensions/amp-date-display/0.1/amp-date-display.js:156
↓ 18 callersMethodgetElement
* Gets the iframe element. * @return {!Element} * @abstract
third_party/subscriptions-project/swg.js:2835
↓ 18 callersFunctiongetHighestAvailableDomain
(win)
src/cookies.js:113
↓ 18 callersMethodgetIncrementalEngagedTime
* Get the incremental engaged time since the last push and reset it if asked. * @param {string} name * @param {boolean=} reset * @return {num
extensions/amp-analytics/0.1/activity-impl.js:349
↓ 18 callersMethodgetPlayingState
* Returns whether the video is paused or playing after the user interacted * with it or playing through autoplay * @return {!../video-interface.
src/service/video-manager-impl.js:959
↓ 18 callersFunctiongetScrollingElement
(controller)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:48
↓ 18 callersMethodhasCapability
* This is only used for a unit test. * @return {*} TODO(#23582): Specify return type
extensions/amp-viewer-integration/0.1/viewer-for-testing.js:145
↓ 18 callersMethodlistenRoot
* Listens to the visibility events on the root as the whole and the given * visibility spec. The visibility tracking can be deferred until * `re
extensions/amp-analytics/0.1/visibility-manager.js:271
↓ 18 callersFunctionlistener
(event)
examples/amphtml-ads/ads-tag-integration.js:32
↓ 18 callersFunctionmeasureIntersection
(el)
src/core/dom/layout/intersection.js:61
↓ 18 callersMethodmethod
* @param {string} name * @param {function()} callback
src/video-iframe-integration.js:116
↓ 18 callersMethodobserve
()
test/unit/polyfills/test-resize-observer.js:15
↓ 18 callersFunctiononBindReady
* @param {!Object} env * @param {!Bind} bind * @return {!Promise}
extensions/amp-bind/0.1/test/integration/test-bind-impl.js:89
↓ 18 callersFunctionopenLoginDialog
(ampdoc, urlOrPromise)
extensions/amp-access/0.1/login-dialog.js:39
↓ 18 callersMethodpause
* @override
test/integration/test-video-manager.js:535
↓ 18 callersMethodprocessMessage
* Process a single post message. * * A valid message has to be formatted as a string starting with "amp-". The * rest part should be a string
ads/inabox/inabox-messaging-host.js:114
↓ 18 callersFunctionprop
(el, name)
extensions/amp-base-carousel/1.0/test-e2e/test-vertical.js:24
↓ 18 callersFunctionpure
(v)
build-system/babel-plugins/babel-plugin-deep-pure/test/fixtures/transform/ignored-not-import/input.mjs:1
↓ 18 callersFunctionrediscover
(...nodesOrContextNodes)
test/unit/core/context/test-node-discover.js:95
↓ 18 callersMethodregisterCallback
* Register callback function for message with type messageType. * @param {string} messageType The type of the message. * @param {function(?JsonO
3p/iframe-messaging-client.js:105
↓ 18 callersFunctionresetSpies
()
extensions/amp-position-observer/0.1/test/test-amp-position-observer.js:45
↓ 18 callersFunctionrunCiJob
* Helper used by all CI job scripts. Runs the PR / push build workflow. * @param {string} jobName * @param {function} pushBuildWorkflow * @param {f
build-system/pr-check/ci-job.js:26
↓ 18 callersMethodscan
* @param {!WebAnimationDef|!Array<!WebAnimationDef>} spec * @return {boolean}
extensions/amp-animation/0.1/web-animations.js:83
↓ 18 callersMethodschedulePause
@override
src/service/owners-impl.js:59
↓ 18 callersMethodserviceEvent
* @param {!SubscriptionAnalyticsEvents|string} eventType * @param {string} platformKey * @param {!JsonObject=} opt_vars * @param {!JsonObject
extensions/amp-subscriptions/0.1/analytics.js:86
↓ 18 callersFunctionsetReportError
(fn)
src/utils/log.js:33
← previousnext →801–900 of 18,703, ranked by callers