MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 48 callersFunctionC
(e,a,t,s)
third_party/react-dates/bundle.js:1
↓ 48 callersFunctionaddConfigElement
(opt_elementName, opt_type, opt_textContent)
extensions/amp-geo/0.1/test/test-amp-geo.js:100
↓ 48 callersFunctionassertHttpsUrl
( urlString, elementContext, sourceName = 'source' )
src/url.js:311
↓ 48 callersMethodcloneNode
()
test/unit/test-fixed-layer.js:211
↓ 48 callersFunctionconfig
(spec)
extensions/amp-analytics/0.1/test/test-visibility-model.js:24
↓ 48 callersFunctiongetSelector
(options)
extensions/amp-selector/0.1/test/test-amp-selector.js:38
↓ 48 callersFunctionh
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 48 callersMethodisBuilt
* Returns whether the resource has been fully built. * @return {boolean}
src/service/resource.js:297
↓ 48 callersMethodisRunning
* @return {boolean}
extensions/amp-live-list/0.1/poller.js:60
↓ 48 callersMethodupperName
* Upper-case tag name * @return {string}
validator/js/engine/htmlparser-interface.js:260
↓ 47 callersMethodbuildCallback
@override
extensions/amp-geo/0.1/amp-geo.js:125
↓ 47 callersFunctioncreateAmpElement
(options = {})
test/unit/test-scheduler.js:54
↓ 47 callersMethodupdate
* Update the media elements and call the first iteration of media element to blur. * @param {!Element} pageElement
extensions/amp-story/1.0/background-blur.js:80
↓ 46 callersFunctioncreateAmpIframe
( env, opt_attributes, opt_top, opt_height, opt_translateY, opt_container
extensions/amp-iframe/0.1/test/test-amp-iframe.js:112
↓ 46 callersFunctioncreateTask
* Helper that creates the tasks in AMP's toolchain based on the invocation: * - For `amp --help`, load all task descriptions so a list can be printed
build-system/task-runner/amp-task-runner.js:211
↓ 46 callersMethodgetHeadNode
* Returns the head node. It's either an element or a shadow root. * @return {!Element|!ShadowRoot} * @abstract
src/service/ampdoc-impl.js:475
↓ 46 callersMethodgetScrollTop
@override
src/inabox/inabox-viewport.js:164
↓ 46 callersFunctiongetVideo
( attributes, children, opt_beforeLayoutCallback, opt_noLayout )
extensions/amp-video/0.1/test/test-amp-video.js:43
↓ 46 callersMethodtimeoutPromise
* Returns a promise that will fail after the specified delay. Optionally, * this method can take opt_racePromise parameter. In this case, the *
src/service/timer-impl.js:126
↓ 46 callersMethodupdate
()
extensions/amp-live-list/0.1/test/test-live-list-manager.js:68
↓ 46 callersMethodverifyRequest
(url, referrerPolicy, attributionSrc)
testing/helpers/service.js:383
↓ 46 callersMethodwaitForElementLayout
* @param {string} selector * @param {number=} timeout * @return {!Promise}
testing/helpers/service.js:318
↓ 45 callersMethodaddTransition
* Adds a transition callback that will be called when the oldState * transitions to the newState. * @param {STATE} oldState * @param {STATE}
src/core/data-structures/finite-state-machine.js:33
↓ 45 callersMethodgetPlayState
* @return {!WebAnimationPlayState}
extensions/amp-animation/0.1/runners/animation-runner.js:19
↓ 45 callersMethodinstallExtensionForDoc
* Returns the promise that will be resolved when the extension has been * loaded. If necessary, adds the extension script to the page. * @param
src/service/extensions-impl.js:231
↓ 45 callersMethodisUpgraded
* Whether the element has been upgraded yet. Always returns false when * the element has not yet been added to DOM. After the element has been
src/custom-element.js:347
↓ 45 callersMethodreverse
* Reverses playback direction, stopping at the start of the animation. * If the animation is finished or unplayed, it will play from end to * be
third_party/web-animations-externs/web_animations.js:58
↓ 45 callersMethodset
* Set the storage value along with the current timestamp. * When opt_isUpdated is true, timestamp will be the creation timestamp, * the stored v
src/service/storage-impl.js:237
↓ 44 callersFunctioncreateFromServer
* @param {!Array<number>} childAttrs * @param {!Element=} opt_pagination * @return {!Element<!Element>}
extensions/amp-live-list/0.1/test/test-amp-live-list.js:80
↓ 44 callersFunctionfile_validator_proto_rawDescGZIP
()
validator/validator.pb.go:5300
↓ 44 callersMethodgetAdUrl
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:279
↓ 44 callersFunctiongetService
(win, id)
src/service-helpers.js:139
↓ 44 callersMethodremove
* @param {string} type * @param {function(!Event)} handler * @param {(boolean|!Object)=} captureOrOpts
testing/fake-dom.js:360
↓ 44 callersFunctionsetupForAdTesting
* Sets up testing by loading iframe within which test runs. * @param {FixtureInterface} fixture
extensions/amp-a4a/0.1/test/test-amp-a4a.js:324
↓ 43 callersFunctionapplyStaticLayout
(element)
src/core/static-layout.js:100
↓ 43 callersFunctionclamp
(val, min, max)
src/core/math.js:81
↓ 43 callersMethoddelete
@override
src/form-data-wrapper.js:161
↓ 43 callersMethodhandleSubmitEvent_
* Note on stopImmediatePropagation usage here, it is important to emulate * native browser submit event blocking. Otherwise any other submit listen
extensions/amp-form/0.1/amp-form.js:560
↓ 43 callersMethodinvoke
* Executes an `AMP.setState()` or `AMP.pushState()` action. * @param {!../../../src/service/action-impl.ActionInvocation} invocation * @return {
extensions/amp-bind/0.1/bind-impl.js:271
↓ 43 callersMethodisIos
* Whether the current platform is an iOS device. * @return {boolean}
src/service/platform-impl.js:31
↓ 43 callersMethodisPending
* Whether or not a pass is currently pending. * @return {boolean}
src/pass.js:47
↓ 43 callersFunctionreplaceUrls
* @param {string} mode * @param {string} html * @param {string=} hostName * @return {string}
build-system/server/app-utils.js:135
↓ 43 callersFunctionrunTest
(availableWidth, expectedWidth, expectedHeight)
ads/google/a4a/shared/test/test-content-recommendation.js:9
↓ 43 callersMethodtype
* @param {!ElementHandle<!WebElement>} handle * @param {string|Key} keys * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:284
↓ 43 callersMethodwithdraw
* Returns a Promise that resolves when the request of given ID is deposited. * The returned promise resolves to an JsonObject contains the request
testing/helpers/service.js:200
↓ 42 callersFunctioncreateRequestHandler
(request, spy)
extensions/amp-analytics/0.1/test/test-requests.js:42
↓ 42 callersMethodenqueue
* Enqueues the task. If the task is already in the queue, the error is * thrown. * @param {!TaskDef} task
src/service/task-queue.js:79
↓ 42 callersFunctiongetAdNetworkConfig
(type, autoAmpAdsElement)
extensions/amp-auto-ads/0.1/ad-network-config.js:73
↓ 42 callersFunctiongetUserNotification
(attrs = {})
extensions/amp-user-notification/0.1/test/test-amp-user-notification.js:63
↓ 42 callersMethodisEmbedded
@override
src/service/viewer-impl.js:340
↓ 42 callersFunctionl
(n)
third_party/react-dates/bundle.js:1
↓ 42 callersMethodmutateWork_
* Performs pre-discovery mutates. * @private
src/service/resources-impl.js:712
↓ 42 callersFunctions
(n)
third_party/react-dates/bundle.js:1
↓ 42 callersFunctiontest
(s, expected)
test/unit/core/dom/test-srcset.js:10
↓ 42 callersFunctionunlisten
()
extensions/amp-analytics/0.1/test/test-analytics-group.js:58
↓ 42 callersMethodupdateCounters_
* @param {number} visibility * @return {boolean} true * @private
extensions/amp-analytics/0.1/visibility-model.js:381
↓ 41 callersMethodaddElement
* Adds the element directly into the fixed/sticky layer, bypassing discovery. * @param {!Element} element * @param {boolean=} opt_forceTransfer
src/service/fixed-layer.js:323
↓ 41 callersMethodbuild
* Requests the resource's element to be built. See {@link AmpElement.build} * for details. * @return {?Promise}
src/service/resource.js:323
↓ 41 callersMethodbuild
* Builds the hint layer DOM.
extensions/amp-story/1.0/amp-story-hint.js:104
↓ 41 callersMethodeventManager
* This one exists as an internal helper so SwG logging doesn't require a promise. * @return {!ClientEventManager}
third_party/subscriptions-project/swg.js:19498
↓ 41 callersMethodgetElementCssValue
* @param {!ElementHandle} handle * @param {string} styleProperty * @return {!Promise<string>} styleProperty
build-system/tasks/e2e/selenium-webdriver-controller.js:402
↓ 41 callersMethodgetFirstVisibleTime
* Returns the time when the document has become visible for the first time. * If document has not yet become visible, the returned value is `null`.
src/service/ampdoc-impl.js:706
↓ 41 callersFunctioninstallDocService
(win, isSingleDoc, opt_initParams)
src/service/ampdoc-impl.js:1100
↓ 41 callersMethodset
* Sets the property's input value. This is analogous to a CSS specified * value. Several values for the same property can be set on a node - one
src/core/context/values.js:95
↓ 41 callersFunctionsetSuperClass
(clazz, superClazz)
src/preact/amp-base-element.js:131
↓ 41 callersMethodupdate
* Runs the calculation cycle.
extensions/amp-analytics/0.1/visibility-model.js:261
↓ 41 callersFunctionwaitForAmpIframeLayoutPromise
(doc, ampIframe)
extensions/amp-iframe/0.1/test/test-amp-iframe.js:104
↓ 40 callersMethodfetch
* @param {string} input URL * @param {?FetchInitDef} init Fetch options object. * @return {!Promise<!FetchResponse>}
third_party/subscriptions-project/swg.js:13435
↓ 40 callersFunctionforwardRef
(Component)
src/preact/compat/internal.js:43
↓ 40 callersFunctiongetFakeWindow
()
test/unit/test-url-replacements.js:109
↓ 40 callersFunctioninstallPlatformService
(window)
src/service/platform-impl.js:200
↓ 40 callersFunctionisFiniteNumber
(value)
src/core/types/index.js:23
↓ 40 callersMethodlayoutCallback
()
test/unit/test-custom-element.js:61
↓ 40 callersMethodload
* Creates a hidden iframe for logging and appends it to the top level * document.
third_party/subscriptions-project/swg.js:15380
↓ 40 callersFunctionloadPromise
(eleOrWindow)
src/utils/event-helper.js:156
↓ 40 callersMethoduninstall
* Remove the inpumask service and controllers.
extensions/amp-inputmask/0.1/amp-inputmask.js:47
↓ 39 callersMethodcompileCallback
@override
extensions/amp-mustache/0.2/amp-mustache.js:42
↓ 39 callersMethodgetNextSlideIndex_
* Gets the slideIndex of the potential next slide based on the * current scrollLeft. * @param {number} currentScrollLeft scrollLeft value of
extensions/amp-carousel/0.1/slidescroll.js:663
↓ 39 callersMethodgetPlatformKey
* Returns the platform key. * @return {string}
extensions/amp-subscriptions/0.1/subscription-platform.js:12
↓ 39 callersMethodgetState
* Returns the calculated state of visibility. * @param {time} startTime * @return {!JsonObject}
extensions/amp-analytics/0.1/visibility-model.js:270
↓ 39 callersMethodgetUrl
* Returns the URL for depositing a request. * * @param {number|string|undefined} requestId * @returns {string}
testing/helpers/service.js:185
↓ 39 callersMethodhas
* @param {string} name * @return {boolean}
third_party/subscriptions-project/swg.js:13708
↓ 39 callersFunctionk
(e)
third_party/react-dates/bundle.js:1
↓ 39 callersMethodlogSwgEvent
* Creates an event with the arguments provided and calls logEvent. * @param {!AnalyticsEvent} eventType * @param {?boolean=} isFromUserAction
third_party/subscriptions-project/swg.js:7303
↓ 39 callersFunctionmakeClickEvent
( time = 0, x = 0, y = 0, target = win.document.body )
extensions/amp-ad-exit/0.1/test/test-amp-ad-exit.js:127
↓ 39 callersFunctionmatches
(el, selector)
src/core/dom/query.js:91
↓ 39 callersMethodregisterExtension
* Register and process the specified extension. The factory is called * immediately, which in turn is expected to register elements, templates,
src/service/extensions-impl.js:129
↓ 39 callersFunctionsleep
(ms)
examples/visual-tests/amphtml-ads/static.js:4
↓ 39 callersMethodwaitForBodyOpen
* Returns a promise that will be resolved when the ampdoc's body is * available. * @return {!Promise<!Element>}
src/service/ampdoc-impl.js:502
↓ 38 callersMethodcallbacks
@override
third_party/subscriptions-project/swg.js:19103
↓ 38 callersFunctionexpectFetchAndRender
* @param {!Array|!Object} fetched * @param {!Array<!Element>} rendered * @param {Object=} opts * @return {!Promise}
extensions/amp-list/0.1/test/test-amp-list.js:140
↓ 38 callersMethodgetVisibility_
* @return {number} * @private
extensions/amp-analytics/0.1/visibility-model.js:254
↓ 38 callersFunctionlogWithoutTimestamp
* Logs messages without a timestamp * @param {...string} messages
build-system/common/logging.js:80
↓ 38 callersFunctiono
(i,f)
third_party/react-dates/bundle.js:1
↓ 38 callersMethodrender
@override
extensions/amp-mustache/0.2/amp-mustache.js:111
↓ 38 callersMethodstring
(x)
extensions/amp-3d-gltf/0.1/amp-3d-gltf.js:107
↓ 38 callersFunctionwaitForSelected
(el, selected)
extensions/amp-selector/1.0/test/test-amp-selector.js:23
↓ 37 callersMethodclear
()
extensions/amp-date-picker/1.0/types.ts:63
↓ 37 callersFunctionclickAnchor
(url)
extensions/amp-analytics/0.1/test/test-linker-manager.js:826
↓ 37 callersFunctioncompare
(externalCidScope, compareValue)
test/unit/test-cid.js:765
← previousnext →301–400 of 18,703, ranked by callers