MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 22 callersMethodgetRoot
* @return {!Element}
extensions/amp-subscriptions/0.1/dialog.js:70
↓ 22 callersFunctionincludes
(string, substring, start)
src/core/types/string/index.js:63
↓ 22 callersFunctioninit
(ratios = '0', margins = '0', runOnce = false)
extensions/amp-position-observer/0.1/test/test-amp-position-observer.js:22
↓ 22 callersMethodisBuilding
* Returns whether the resource is currently being built. * @return {boolean}
src/service/resource.js:305
↓ 22 callersFunctionisModelResolved
(model)
extensions/amp-analytics/0.1/test/test-visibility-manager.js:1142
↓ 22 callersFunctionmaybeTrackImpression
(win)
src/impression.js:58
↓ 22 callersMethodmutatePromise
* Runs `mutate` wrapped in a promise. * @param {function():undefined} mutator * @return {!Promise}
src/service/vsync-impl.js:226
↓ 22 callersFunctionn
(e)
third_party/react-dates/bundle.js:1
↓ 22 callersFunctionparseLength
(s)
src/core/dom/layout/index.js:135
↓ 22 callersMethodplaceAt_
* @param {!VideoOrBaseElementDef} video * @param {number} x * @param {number} y * @param {number} scale * @param {number} step in [0..1]
extensions/amp-video-docking/0.1/amp-video-docking.js:902
↓ 22 callersFunctionpostMessage
(iframe, type, object, targetOrigin, opt_is3P)
src/iframe-helper.js:353
↓ 22 callersFunctionrandomlySelectUnsetExperiments
(win, experiments)
src/experiments/index.js:299
↓ 22 callersMethodremove
* @param {string} key * @param {boolean=} useLocalStorage * @return {!Promise}
third_party/subscriptions-project/swg.js:18786
↓ 22 callersMethodsetAsync
* Sets an async value resolver for the variable with the specified name. * The value resolver may optionally take an extra parameter. * Can be c
src/service/variable-source.js:236
↓ 22 callersMethodsetProperty
* @param {!Node} node * @param {string} property * @param {string} value * @return {boolean}
extensions/amp-script/0.1/amp-script.js:842
↓ 22 callersMethodsortSources_
* Sorts the sources of the given video element by their bitrates such that * the sources closest matching the acceptable bitrate are in front. *
extensions/amp-video/0.1/flexible-bitrate.js:167
↓ 22 callersFunctionwaitForData
(component, callCount = 1)
extensions/amp-list/1.0/test/test-component.js:26
↓ 22 callersMethodwhenPolicyResolved
* Used to wait for policy to resolve; * @param {string} policyId * @return {!Promise<CONSENT_POLICY_STATE>}
extensions/amp-consent/0.1/consent-policy-manager.js:247
↓ 21 callersFunctiona
(n)
third_party/react-dates/bundle.js:1
↓ 21 callersFunctionba
(e,a,t,s)
third_party/react-dates/bundle.js:1
↓ 21 callersMethodbuildCallback
@override
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:95
↓ 21 callersFunctioncreateCarousel
* * @param {{ * slideCount: number, * loop: boolean, * forwards: boolean, * }} options
extensions/amp-base-carousel/0.1/test/test-carousel.js:59
↓ 21 callersFunctionforceExperimentBranch
(win, experimentName, branchId)
src/experiments/index.js:373
↓ 21 callersFunctiongetDataParamsFromAttributes
( element, opt_computeParamNameFunc, opt_paramPattern )
src/core/dom/index.js:252
↓ 21 callersMethodgetElementRect
* Returns the specified element's rectangle. * @param {string} unusedSelector * @param {?string} unusedSelectionMethod * @return {!../../../.
extensions/amp-animation/0.1/parsers/css-expr-ast.js:86
↓ 21 callersFunctiongetHistoryState
(win, stateName)
extensions/amp-story/1.0/history.js:45
↓ 21 callersFunctiongetImg
(attributes, children)
test/unit/builtins/test-amp-img.js:42
↓ 21 callersMethodgetRect
@override
src/inabox/inabox-viewport.js:213
↓ 21 callersMethodgetResourceForElement
@override
src/service/resources-impl.js:280
↓ 21 callersFunctionkeyframesCss
(name, css)
extensions/amp-animation/0.1/test/test-keyframes-extractor.js:30
↓ 21 callersMethodlistenElement
* Listens to the visibility events for the specified element and the given * visibility spec. The visibility tracking can be deferred until * `r
extensions/amp-analytics/0.1/visibility-manager.js:293
↓ 21 callersFunctionp
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 21 callersFunctionready
()
build-system/tasks/e2e/amp-driver.js:20
↓ 21 callersFunctionresetStyles
(element, properties)
src/core/dom/style.js:312
↓ 21 callersMethodresolveCss
* @param {*} input * @return {string} * @protected
extensions/amp-animation/0.1/web-animations.js:1014
↓ 21 callersFunctionrunChunks
(elementOrAmpDoc)
test/unit/test-runtime.js:37
↓ 21 callersFunctionrunVsync
()
test/unit/utils/test-animation.js:29
↓ 21 callersMethodscheduleLayoutOrPreload
@override
src/service/resources-impl.js:1537
↓ 21 callersMethodschedulePass
@override
src/service/resources-impl.js:515
↓ 21 callersFunctionsetGeoOverrideHash
(hashValue)
extensions/amp-geo/0.1/test/test-amp-geo.js:96
↓ 21 callersMethodsetReadyStateInternal
* Update the internal ready state. * * @param {!ReadyState_Enum} state * @param {*=} opt_failure * @protected * @final
src/custom-element.js:858
↓ 21 callersMethodsetScrollTop
@override
src/inabox/inabox-viewport.js:174
↓ 21 callersFunctionstringToBytes
(str)
src/core/types/string/bytes.js:43
↓ 21 callersMethodsubmit_
* Helper method that actual handles the different cases (post, get, xhr...). * @param {ActionTrust_Enum} trust * @param {?Event} event * @ret
extensions/amp-form/0.1/amp-form.js:582
↓ 21 callersFunctionsvg
* A tagged template literal helper to generate static SVG trees. * This must be used as a tagged template, ie * * ``` * const circle = svg`<circle
src/core/dom/static-template.js:54
↓ 21 callersFunctionutf8Decode
(bytes)
src/core/types/string/bytes.js:11
↓ 21 callersMethodwhenDocReady_
* Returns a promise that is resolved when the document is ready. * @return {!Promise} * @private
extensions/amp-live-list/0.1/live-list-manager.js:275
↓ 20 callersFunctionFr
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 20 callersFunctionS
(a,b)
third_party/wgxpath/wgxpath.js:55
↓ 20 callersFunction_defineProperty
(e,t,n)
third_party/react-dates/bundle.js:1
↓ 20 callersFunctionafterRenderPromise
(win = env_?.win)
testing/helpers/index.js:49
↓ 20 callersFunctionassertLength
(length)
src/core/dom/layout/index.js:157
↓ 20 callersMethodcount
* @param {string} type * @return {number}
testing/fake-dom.js:386
↓ 20 callersMethoderror
* @param {...*} var_args * @return {!Promise}
third_party/subscriptions-project/swg.js:13994
↓ 20 callersMethodexpectedError
* Reports an error message and marks with an expected property. If the * logging is disabled, the error is rethrown asynchronously. * @param {st
src/utils/log.js:283
↓ 20 callersFunctionfetchDocuments
( service, result = MOCK_NEXT_PAGE, urlOrNumber = 1 )
extensions/amp-next-page/1.0/test/test-amp-next-page.js:127
↓ 20 callersMethodforElementOptional
* @param {!Element} element * @return {Resource}
src/service/resource.js:95
↓ 20 callersFunctiongetAdPositions
(storyLength, numberOfAds)
extensions/amp-story-auto-ads/0.1/algorithm-predetermined.js:22
↓ 20 callersMethodgetEntitlements
@override
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:609
↓ 20 callersMethodgetExpr
* Returns a Regular expression that can be used to detect all the variables * in a template. * @param {!{[key: string]: *}=} opt_bindings * @
src/service/variable-source.js:265
↓ 20 callersFunctiongetFlexibleAdSlotData
(win, element)
extensions/amp-ad-network-doubleclick-impl/0.1/flexible-ad-slot-utils.js:108
↓ 20 callersFunctiongetFlexibleAdSlotData
(win, element)
extensions/amp-ad-network-valueimpression-impl/0.1/flexible-ad-slot-utils.js:108
↓ 20 callersFunctiongetScrollingElement
(styles, controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:24
↓ 20 callersFunctiongetSlides
(controller, opt_carouselId = '')
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:26
↓ 20 callersFunctiongetVideo
(rates, opt_types)
extensions/amp-video/0.1/test/test-flexible-bitrate.js:253
↓ 20 callersFunctiongetWinOrigin
(win)
src/url.js:57
↓ 20 callersFunctiongetYt
(attributes, opt_responsive, opt_beforeLayoutCallback)
extensions/amp-youtube/0.1/test/test-amp-youtube.js:36
↓ 20 callersFunctiongetjwplayer
(attributes)
extensions/amp-jwplayer/0.1/test/test-amp-jwplayer.js:24
↓ 20 callersFunctionhandler
()
test/unit/test-timer.js:24
↓ 20 callersFunctioninstallStylesAsPromise
* @param {!Document} doc * @param {string} cssText * @param {boolean} isRuntimeCss * @param {string=} opt_ext * @r
test/unit/test-style-installer.js:130
↓ 20 callersFunctioninvocation
(method, args = {})
extensions/amp-accordion/1.0/test/test-amp-accordion.js:82
↓ 20 callersMethodisActive
* Whether the element is currently considered to be active. * @return {boolean}
extensions/amp-script/0.1/user-activation-tracker.js:65
↓ 20 callersMethodisChrome
* Whether the current browser is a Chrome browser. * @return {boolean}
src/service/platform-impl.js:53
↓ 20 callersFunctionisMounted
(win, container)
extensions/amp-sidebar/1.0/test/test-amp-sidebar.js:26
↓ 20 callersFunctionisUserErrorMessage
(message)
src/core/error/message-helpers.js:36
↓ 20 callersFunctionlog
()
examples/pwa/pwa.js:3
↓ 20 callersFunctiono
(e)
examples/amp-script/vue-todomvc.js:7
↓ 20 callersFunctionobjectsEqualDeep
(o1, o2)
src/core/types/object/index.js:155
↓ 20 callersMethodobserve
* Adds the shadow tree to be observed by the polyfill. * * @param {!Node} tree
src/polyfills/custom-elements.js:479
↓ 20 callersMethodpause
* Calls element's pauseCallback callback.
src/service/resource.js:1022
↓ 20 callersMethodplaceAd
* @param {!JsonObject<string, string>} baseAttributes Any attributes to add to * injected <amp-ad>. Specific attributes will override defaults,
extensions/amp-auto-ads/0.1/placement.js:179
↓ 20 callersFunctionrealChildElements
(element)
src/core/dom/query.js:355
↓ 20 callersMethodrequestResize
* Send message to runtime requesting to resize ad to height and width. * This is not guaranteed to succeed. All this does is make the request.
3p/ampcontext.js:220
↓ 20 callersFunctionsetModalAsClosed
(element)
src/core/dom/modal.js:214
↓ 20 callersFunctionsetModalAsOpen
(element)
src/core/dom/modal.js:161
↓ 20 callersFunctionsetupStubs
(beacon, xhr)
extensions/amp-analytics/0.1/test/test-transport.js:541
↓ 20 callersFunctiontestHasRoughlySameOrigin
* Tests whether two URLs have the same origin according to our * simple heuristic. * @param {string} first The first URL. * @param {str
test/unit/test-viewer.js:1286
↓ 20 callersMethodtext
* Drains the response and returns a promise that resolves with the response * text. * @return {!Promise<string>}
third_party/subscriptions-project/swg.js:13657
↓ 20 callersMethodtoggleLoading
* @param {boolean} loading
extensions/amp-subscriptions/0.1/renderer.js:102
↓ 20 callersFunctionwaitForExpanded
(el, expanded)
extensions/amp-accordion/1.0/test/test-amp-accordion.js:23
↓ 20 callersMethodwhenReady
* Resolved when document has been fully constructed. * @return {!Promise}
third_party/subscriptions-project/config.js:157
↓ 20 callersMethodwin
@override
third_party/subscriptions-project/swg.js:19068
↓ 19 callersFunctionQa
(a,b)
third_party/wgxpath/wgxpath.js:42
↓ 19 callersFunctionT
(e,t)
third_party/inputmask/bundle.js:11
↓ 19 callersMethodactivities
@override
third_party/subscriptions-project/swg.js:19083
↓ 19 callersMethodbuildUrl
* @param {string} url * @param {boolean} useAuthData Allows `AUTH(field)` URL var substitutions. * @return {!Promise<string>}
extensions/amp-access/0.1/amp-access-source.js:294
↓ 19 callersFunctionc
()
third_party/d3/d3.js:1
↓ 19 callersFunctioncancellation
()
src/error-reporting.js:246
↓ 19 callersFunctionchildElementsByTag
(parent, tagName)
src/core/dom/query.js:319
↓ 19 callersMethodclose
Close the sidebar
extensions/amp-sidebar/1.0/component.type.js:44
← previousnext →701–800 of 18,703, ranked by callers