MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 13 callersFunctione
(t,n)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 13 callersFunctionenableComputedStyle
(el)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:124
↓ 13 callersMethodenqueueMediaElementTask_
* @param {!PoolBoundElementDef} mediaEl The element for which the specified * task should be executed. * @param {!./media-tasks.MediaTask} t
extensions/amp-story/1.0/media-pool.js:1025
↓ 13 callersMethodentitlementsManager
@override
third_party/subscriptions-project/swg.js:19098
↓ 13 callersFunctionenv
(key)
src/config/urls.js:10
↓ 13 callersFunctionexecuteTest
(args)
test/unit/test-real-time-config.js:113
↓ 13 callersFunctionexecuteTest
* Tests SRA behavior by creating multiple doubleclick instances with the * following dimensions: networkId, number of instances, number of *
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-sra.js:544
↓ 13 callersFunctionexpectNoImagePixel
()
extensions/amp-analytics/0.1/test/test-transport.js:586
↓ 13 callersFunctionfeArgs
* @param {!Object<string, ?>} args * @return {!Object<string, ?>}
third_party/subscriptions-project/swg.js:5614
↓ 13 callersMethodfindAndRenderTemplate
* Discovers the template for the specified parent and renders it using the * supplied data. The template can be specified either via "template"
src/service/template-impl.js:139
↓ 13 callersFunctiong
(e)
examples/amp-script/vue-todomvc.js:7
↓ 13 callersMethodgetAdUrl
@override
extensions/amp-ad-network-smartadserver-impl/0.1/amp-ad-network-smartadserver-impl.js:92
↓ 13 callersMethodgetAffiliateUrl
* Creates the go.skimresources.com version of the anchor's url. * @param {?HTMLElement} anchor * @return {?string} * @public
extensions/amp-skimlinks/0.1/waypoint.js:41
↓ 13 callersFunctiongetAmpFacebook
(href, opt_embedAs, opt_locale)
extensions/amp-facebook/0.1/test/test-amp-facebook.js:34
↓ 13 callersFunctiongetBootstrapBaseUrl
( parentWindow, ampdoc, opt_strictForUnitTest )
src/3p-frame.js:220
↓ 13 callersFunctiongetBridPlayer
(attributes, opt_responsive, config, alias = false)
extensions/amp-brid-player/0.1/test/test-amp-brid-player.js:25
↓ 13 callersFunctiongetBufferTemplate
()
third_party/inputmask/inputmask.js:1136
↓ 13 callersFunctiongetCarousel
(controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:12
↓ 13 callersMethodgetConfig
* Validate and sanitize config. * @return {!JsonObject}
extensions/amp-story-auto-ads/0.1/story-ad-config.js:45
↓ 13 callersMethodgetDocumentElement
* @return {!Promise<!ElementHandle<!WebElement>>}
build-system/tasks/e2e/selenium-webdriver-controller.js:256
↓ 13 callersFunctiongetElementServiceForDoc
(element, id, extension, opt_element)
src/element-service.js:63
↓ 13 callersFunctiongetElementServiceIfAvailableForDoc
( element, id, extension, opt_element )
src/element-service.js:83
↓ 13 callersMethodgetLocalPlatform_
* Returns the local platform * @private * @return {!./subscription-platform.SubscriptionPlatform}
extensions/amp-subscriptions/0.1/platform-store.js:182
↓ 13 callersFunctiongetMultiSizeDimensions
( multiSizeDataStr, primaryWidth, primaryHeight, multiSizeValidation, isFluidPrimary = false )
ads/google/utils.js:41
↓ 13 callersFunctiongetPromiseObject
()
test/unit/core/data-structures/test-promise.js:4
↓ 13 callersMethodgetReadyPromise
* @param {string|undefined} waitForSpec * @param {Element=} opt_element * @return {?Promise} * @visibleForTesting
extensions/amp-analytics/0.1/events.js:1751
↓ 13 callersMethodgetResources
* Returns Resources manager. Only available after attachment. It throws * exception before the element is attached. * @return {!./service/re
src/custom-element.js:329
↓ 13 callersFunctiongetShare
(type, opt_endpoint, opt_params, opt_target)
extensions/amp-social-share/0.1/test/test-amp-social-share.js:59
↓ 13 callersFunctiongetViewportHeight
(win)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fade-in-scroll.js:188
↓ 13 callersFunctioni
(e,a)
third_party/react-dates/bundle.js:1
↓ 13 callersFunctioninstallDocumentInfoServiceForDoc
(nodeOrDoc)
src/service/document-info-impl.js:43
↓ 13 callersFunctionisConsentInfoStoredValueSame
(infoA, infoB, opt_isDirty)
extensions/amp-consent/0.1/consent-info.js:237
↓ 13 callersMethodisEdge
* Whether the current browser is an Edge browser. * @return {boolean}
src/service/platform-impl.js:85
↓ 13 callersMethodisEnabled
* Whether the viewer should render templates. A doc-level opt in as * trusted viewers must set this capability explicitly, as a security * measu
src/ssr-template-helper.js:41
↓ 13 callersFunctionisMask
(pos, strict)
third_party/inputmask/inputmask.js:1511
↓ 13 callersFunctionisSameDay
(e,t)
third_party/react-dates/bundle.js:1
↓ 13 callersMethodisStickyAd
* @return {boolean}
extensions/amp-ad/0.1/amp-ad-ui.js:219
↓ 13 callersFunctionisValid
(pos, c, strict, fromSetValid, fromAlternate, validateOnly)
third_party/inputmask/inputmask.js:1293
↓ 13 callersFunctionisWidgetId
(candidate)
extensions/amp-addthis/0.1/addthis-utils/mode.js:60
↓ 13 callersMethodlayoutCallback
@override
extensions/amp-video/0.1/amp-video.js:368
↓ 13 callersMethodlayoutCallback
@override
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:138
↓ 13 callersFunctionlayoutRectFromDomRect
(rect)
src/core/dom/layout/rect.js:101
↓ 13 callersFunctionmanageWin
(win)
3p/environment.js:31
↓ 13 callersMethodmaybeInstallUrlRewrite_
@private
extensions/amp-install-serviceworker/0.1/amp-install-serviceworker.js:130
↓ 13 callersMethodmodifyRtcConfigForConsentStateSettings
* Goes through the RTC config, and for any URL that we should not callout * as per the current consent state, deletes it from the RTC config. *
src/service/real-time-config/real-time-config-impl.js:258
↓ 13 callersMethodmutatedAttributesCallback
@override
extensions/amp-list/0.1/amp-list.js:487
↓ 13 callersMethodonLayoutChange
* Function called to check if we should show or hide the toolbar
extensions/amp-sidebar/0.2/toolbar.js:47
↓ 13 callersMethodonLayoutChange
* Function called to check if we should show or hide the toolbar
extensions/amp-sidebar/0.1/toolbar.js:47
↓ 13 callersMethodonTouchEnd
* The Gestures instance calls this method for the "touchend" event. * Somewhere within this touch series the recognizer has to call * {@link sig
src/gesture.js:694
↓ 13 callersMethodopen
Open the lightbox
src/bento/components/bento-lightbox/1.0/component.type.js:32
↓ 13 callersMethodopenView
* Opens the given view and removes existing view from the DOM if any. * @param {!./view.View} view * @return {!Promise}
third_party/subscriptions-project/swg.js:11094
↓ 13 callersFunctionpad
(val, len)
third_party/inputmask/inputmask.date.extensions.js:137
↓ 13 callersMethodparseFromJson
* @param {?JsonObject} json * @param {?string} rawData * @return {!Entitlement}
extensions/amp-subscriptions/0.1/entitlement.js:98
↓ 13 callersFunctionparseLayout
(s)
src/core/dom/layout/index.js:88
↓ 13 callersFunctionparseSrcset
(s)
src/core/dom/srcset.js:57
↓ 13 callersMethodpopulateAdUrlState
* Populate's block-level state for ad URL construction. * Sets initialSize_ , jsonTargeting, and adKey member fields. * @param {ConsentTupleDef}
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:753
↓ 13 callersFunctionq
(e,t)
third_party/inputmask/bundle.js:11
↓ 13 callersFunctionq
(a,b)
third_party/wgxpath/wgxpath.js:30
↓ 13 callersMethodrefresh
* Refreshes ad slot by fetching a new creative and rendering it. This leaves * the current creative displayed until the next one is ready. *
extensions/amp-a4a/0.1/amp-a4a.js:1263
↓ 13 callersMethodregister
* Function to register as a dependant of the AmpRecaptcha serivce. * Used to create/destroy recaptcha boostrap iframe. * @param {string} sitekey
extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js:88
↓ 13 callersMethodregisterConsentInstance
* Register and create a consent instance to manage state * @param {string} instanceId * @param {!Object} config
extensions/amp-consent/0.1/consent-state-manager.js:86
↓ 13 callersFunctionregisterElement
(win, name, implementationClass)
src/service/custom-element-registry.js:169
↓ 13 callersFunctionremoveSearch
(url)
src/url.js:444
↓ 13 callersMethodresetHref
* Resets the URL without firing any events or triggering a history * entry. * @param {string} href
testing/fake-dom.js:521
↓ 13 callersMethodresolveMillis
* @param {*} input * @param {number|undefined} def * @return {number|undefined}
extensions/amp-animation/0.1/web-animations.js:1051
↓ 13 callersMethodresume
* Calls element's resumeCallback callback.
src/service/resource.js:1036
↓ 13 callersMethodscheduleAsap
* @param {!AmpElement} target
src/service/scheduler.js:71
↓ 13 callersFunctionsetHistoryState
(win, stateName, value)
extensions/amp-story/1.0/history.js:26
↓ 13 callersMethodsetState_
* Adds proper classes for the state passed. * @param {!FormState} newState * @private
extensions/amp-form/0.1/amp-form.js:1230
↓ 13 callersMethodsetStorage
* @param {!StorageLocation} location * @param {?string} key * @param {?string} value * @return {!Promise}
extensions/amp-script/0.1/amp-script.js:888
↓ 13 callersFunctionswipeLeft
()
test/unit/test-amp-story-player.js:61
↓ 13 callersFunctiontestProtocolValid
(href, bool)
test/unit/test-url.js:625
↓ 13 callersFunctiontimeout
(ms)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fade-in-scroll.js:192
↓ 13 callersMethodtoggleFallback
()
extensions/amp-a4a/0.1/test/utils.js:22
↓ 13 callersMethodtoggleLoading
* Hides or shows the loading indicator. * @param {boolean} state * @param {boolean=} force * @public @final
src/base-element.js:804
↓ 13 callersMethodtoggleResults_
* Shows or hides the results container_. * @param {boolean} display * @private
extensions/amp-autocomplete/0.1/amp-autocomplete.js:932
↓ 13 callersMethodunsubscribe
* Adds the unsubscribe handler that will be called when this visibility * model is destroyed. * @param {!UnlistenDef} handler
extensions/amp-analytics/0.1/visibility-model.js:210
↓ 13 callersMethodupgraded
@override
src/service/resources-impl.js:492
↓ 13 callersMethodwasLaidOut
* This should be called from the `layoutCallback` of the AMP element that * constructed this manager.
extensions/amp-base-carousel/0.1/child-layout-manager.js:407
↓ 13 callersFunctionwhenSelectedAvailable
(parent, selector)
extensions/amp-onetap-google/0.1/test/test-amp-onetap-google.js:31
↓ 12 callersMethodDescriptor
Deprecated: Use UrlSpec.ProtoReflect.Descriptor instead.
validator/validator.pb.go:1400
↓ 12 callersFunctionDie
Prints error and exits with status 1. Args: msg: The error message to emit
validator/build.py:16
↓ 12 callersFunctionIr
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 12 callersFunctionRu
(n,t)
third_party/d3/d3.js:2
↓ 12 callersFunctionString
(snap)
extensions/amp-base-carousel/1.0/storybook/Basic.amp.js:141
↓ 12 callersFunctionX
(t,n,a)
third_party/inputmask/bundle.js:11
↓ 12 callersMethodaddToAllowlist
* Adds an action to the allowlist. * @param {string} tagOrTarget The tag or target to allowlist, e.g. * 'AMP-LIST', '*'. * @param {string
src/service/action-impl.js:572
↓ 12 callersMethodapi
* @return {API_TYPE} * @protected
src/preact/base-element.js:509
↓ 12 callersFunctionas
(e)
third_party/react-dates/bundle.js:1
↓ 12 callersMethodassertBoolean
* Throws an error if the first argument isn't a boolean. * * For more details see `assert`. * * @param {*} shouldBeBoolean * @param {!A
src/utils/log.js:488
↓ 12 callersFunctionassertLengthOrPercent
(length)
src/core/dom/layout/index.js:175
↓ 12 callersMethodassertSource_
* @param {string} src * @param {string} containerSrc * @param {string} sandbox * @return {string} * @private
extensions/amp-iframe/0.1/amp-iframe.js:133
↓ 12 callersFunctionasyncStringReplace
(str, regex, replacer)
src/core/types/string/index.js:154
↓ 12 callersMethodattemptChangeSize
@override
extensions/amp-a4a/0.1/amp-a4a.js:1443
↓ 12 callersFunctionbase64UrlEncodeFromString
(str)
src/core/types/string/base64.js:55
↓ 12 callersFunctionbezierCurve
(x1, y1, x2, y2)
src/core/data-structures/curve.js:23
↓ 12 callersMethodbuildCallback
@override
extensions/amp-next-page/0.1/amp-next-page.js:42
↓ 12 callersMethodcalcTaskScore_
* Calculates the task's score. A task with the lowest score will be dequeued * from the queue the first. * * There are three components of th
src/service/resources-impl.js:1399
↓ 12 callersFunctionchildElementByTag
(parent, tagName)
src/core/dom/query.js:308
↓ 12 callersFunctionchunk
(elementOrAmpDoc, fn, priority)
src/chunk.js:81
← previousnext →1,201–1,300 of 18,703, ranked by callers