MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 3 callersMethodgetPaginationSlot_
* @param {!Element} parent * @return {?Element} * @private
extensions/amp-live-list/0.1/amp-live-list.js:919
↓ 3 callersFunctiongetPerformance
()
test/unit/test-performance.js:1195
↓ 3 callersFunctiongetPin
( pinDo, pinUrl, pinMedia, pinDescription, width = 20, height = 40 )
extensions/amp-pinterest/0.1/test/test-amp-pinterest.js:37
↓ 3 callersMethodgetPointX_
* Computes the curve's X coordinate at a point between 0 and 1. * @param {number} t The point on the curve to find. * @param {number} x0 X coord
src/core/data-structures/curve.js:129
↓ 3 callersFunctiongetPosition
(axis, alignment, el)
src/bento/components/bento-base-carousel/1.0/dimensions.js:79
↓ 3 callersFunctiongetPosition
(axis, alignment, el)
extensions/amp-base-carousel/0.1/dimensions.js:72
↓ 3 callersMethodgetPreconnects
* Called by the framework to give the element a chance to preconnect to * hosts and prefetch resources it is likely to need. May be called * mul
src/base-element.js:219
↓ 3 callersFunctiongetPrevArrow
(styles, controller)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:39
↓ 3 callersFunctiongetPrevArrowSlot
(el)
extensions/amp-stream-gallery/0.1/test/test-amp-stream-gallery.js:58
↓ 3 callersFunctiongetPropertyFromJsonString
* Converts the passed string into a JSON object (if possible) and returns the * value of the propertyName on that object. * @param {string} jsonStri
third_party/subscriptions-project/swg.js:4143
↓ 3 callersMethodgetQueryString
* Returns query string from current URL. * Tests can override this method to return different URLs. * @return {string}
third_party/subscriptions-project/swg-gaa.js:2787
↓ 3 callersMethodgetRafmtParam
* @return {number}
extensions/amp-ad-network-adsense-impl/0.1/responsive-state.js:368
↓ 3 callersFunctiongetRandomString64
(win)
src/service/cid-impl.js:709
↓ 3 callersFunctiongetReach
(attributes, opt_responsive)
extensions/amp-reach-player/0.1/test/test-amp-reach-player.js:18
↓ 3 callersMethodgetRef
* Get a git ref * @param {string} tag * @return {Promise<Object|undefined>}
build-system/release-tagger/utils.js:285
↓ 3 callersFunctiongetRelativeAliasMap
* Produces an alias map with paths relative to the provided root. * @param {string} rootDir * @param {'preact' | 'react'} buildFor * @return {!{[ke
build-system/babel-config/import-resolver.js:87
↓ 3 callersFunctiongetReplacePlugin
* Computes options for minify-replace and returns the plugin object. * * @param {!Object=} opt_overrides overrides for BUILD_CONSTANTS * @return {A
build-system/babel-config/helpers.js:33
↓ 3 callersMethodgetResolvedEntitlementFor
* Returns entitlement for a platform. * @param {string} platformKey * @return {!./entitlement.Entitlement} entitlement
extensions/amp-subscriptions/0.1/platform-store.js:261
↓ 3 callersMethodgetResource
* @return {!../../../src/service/resource.Resource} * @visibleForTesting
extensions/amp-ad/0.1/amp-ad-3p-impl.js:169
↓ 3 callersMethodgetRootClientRectAsync
@override
src/inabox/inabox-viewport.js:660
↓ 3 callersMethodgetRootMinOpacity
* Returns the root's, root's parent's and root's children's * lowest opacity value * @return {number} * @abstract
extensions/amp-analytics/0.1/visibility-manager.js:204
↓ 3 callersMethodgetScrollHeight
@override
src/service/viewport/viewport-impl.js:358
↓ 3 callersMethodgetScrollHeight
@override
src/inabox/inabox-viewport.js:200
↓ 3 callersMethodgetScrollWidth
@override
src/inabox/inabox-viewport.js:195
↓ 3 callersFunctiongetScroller
()
extensions/amp-inline-gallery/1.0/test/test-amp-inline-gallery.js:107
↓ 3 callersMethodgetScrollingElement
@override
src/service/viewport/viewport-impl.js:629
↓ 3 callersFunctiongetServicePromiseOrNull
(win, id)
src/service-helpers.js:191
↓ 3 callersFunctiongetServicePromiseOrNullInternal
* Returns a promise for service `id` if the service has been registered * on `holder`. * @param {!Object} holder * @param {string} id of the servic
src/service-helpers.js:455
↓ 3 callersMethodgetShowcaseStrategy_
* Returns Google's Showcase strategy for this article. * @private * @return {!Promise<!ShowcaseStrategy>}
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:546
↓ 3 callersMethodgetSizer_
* @return {?Element} * @private
src/custom-element.js:981
↓ 3 callersMethodgetSlideLengths_
* @return {!Array<number>}} An array of the lengths of the slides. * @private
extensions/amp-base-carousel/0.1/carousel.js:895
↓ 3 callersMethodgetSlot_
* @return {?Element} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:1734
↓ 3 callersMethodgetSrc_
@private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:230
↓ 3 callersFunctiongetStart
(axis, el)
src/bento/components/bento-base-carousel/1.0/dimensions.js:67
↓ 3 callersFunctiongetStart
(axis, el)
extensions/amp-base-carousel/0.1/dimensions.js:60
↓ 3 callersMethodgetState
* Returns a copy of the global state for a given field-based expression, * e.g. "foo.bar". * @param {string} expr * @return {*}
extensions/amp-bind/0.1/bind-impl.js:529
↓ 3 callersFunctiongetStaticDirs
* @param {string} rootDir * @return {string[]|undefined}
build-system/tasks/storybook/env/static-dirs.js:5
↓ 3 callersMethodgetSubscriberOrMember
* @return {?boolean}
third_party/subscriptions-project/swg.js:354
↓ 3 callersMethodgetSupportedScoreFactor
@override
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:846
↓ 3 callersMethodgetSwipeElementLength_
* Get the swipe element's width or height, depending on orientation of swipe. * @return {number} length in pixels
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:98
↓ 3 callersMethodgetSwipeElementLength_
* Get the swipe element's width or height, depending on orientation of swipe. * @return {number} length in pixels
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:98
↓ 3 callersMethodgetTargetFor_
* Returns the area's target when a video should be docked. * @param {!VideoOrBaseElementDef} video * @param {!RectDef=} opt_inlineRect * @ret
extensions/amp-video-docking/0.1/amp-video-docking.js:584
↓ 3 callersFunctiongetTaskSourceFilePath
* Returns a task's source file path after making sure it is either a valid JS * file or a valid dir. * @param {string} taskSourceFileName * @return
build-system/task-runner/amp-task-runner.js:137
↓ 3 callersMethodgetTcfPolicyVersion
* Get the tcf policy version of a policy. Return a promise that resolves * when the policy resolves. * @param {string} policyId * @return {!P
extensions/amp-consent/0.1/consent-policy-manager.js:321
↓ 3 callersFunctiongetTemplate
(element, attribute = 'template')
src/bento/util/template.js:8
↓ 3 callersMethodgetTemplateProxyUrl_
* Converts the canonical template URL to the CDN proxy URL. * @param {string} url * @return {string}
extensions/amp-a4a/0.1/amp-ad-template-helper.js:114
↓ 3 callersMethodgetTemplate_
* @param {!Array<!DateTemplateMapDef>} templates * @param {!moment} date * @return {?Element} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1679
↓ 3 callersFunctiongetTfcd
(impls)
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:158
↓ 3 callersFunctiongetTimeFromShadow
()
extensions/amp-timeago/1.0/test/test-amp-timeago.js:17
↓ 3 callersFunctiongetTokenizer
(opts)
third_party/inputmask/inputmask.date.extensions.js:69
↓ 3 callersFunctiongetTrackerKeyName
(eventType)
extensions/amp-analytics/0.1/events.js:199
↓ 3 callersFunctiongetTrackerTypesForParentType
(parentType)
extensions/amp-analytics/0.1/events.js:221
↓ 3 callersMethodgetType
* @return {AdvancementConfigType} A value indicating the type of advancement * config.
extensions/amp-story/1.0/page-advancement.js:112
↓ 3 callersMethodgetUpdateTime_
* @param {!Element} elem * @return {time} * @private
extensions/amp-live-list/0.1/amp-live-list.js:960
↓ 3 callersMethodgetUrlMacroAllowlist_
* For email documents, all URL macros are disallowed by default. * @return {Array<string>|undefined} The allowlist of substitutable AMP variables
src/service/variable-source.js:325
↓ 3 callersMethodgetUrlParams_
* Returns URL params - in its own method so we can stub it for testing. * @return {{[key: string]: string}} * @private
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:505
↓ 3 callersMethodgetUrlService_
* @return {!../../../src/service/url-impl.Url} * @private
extensions/amp-video/0.1/amp-video.js:1005
↓ 3 callersMethodgetValidJwtEntitlements_
* @param {string} raw * @param {boolean} requireNonExpired * @param {boolean=} isReadyToPay * @param {?string=} decryptedDocumentKey * @re
third_party/subscriptions-project/swg.js:12941
↓ 3 callersMethodgetVariants
* Returns a promise for the experiment variants. * @return {!Promise<!{[key: string]: ?string}>}
extensions/amp-experiment/0.1/variant.js:41
↓ 3 callersFunctiongetVerificationForm
()
extensions/amp-form/0.1/test/test-amp-form.js:130
↓ 3 callersFunctiongetViewportHeight
(win)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fade-in.js:135
↓ 3 callersFunctiongetViewportHeight
(win)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fly-in.js:142
↓ 3 callersMethodgetViewportMeta_
* @return {?HTMLMetaElement} * @private
src/service/viewport/viewport-impl.js:890
↓ 3 callersFunctiongetVisibilityHandlerCount
()
extensions/amp-analytics/0.1/test/test-visibility-manager.js:81
↓ 3 callersMethodgetVisibilityState
* Passthrough for ampdoc visibility state. Only to be used by viewer * integration. * @restricted * TODO(#22733): remove if no longer used by
src/service/viewer-impl.js:438
↓ 3 callersMethodgetVisibleValidationFor
* @param {!Element} input * @return {?Element}
extensions/amp-form/0.1/form-validators.js:397
↓ 3 callersFunctiongitBranchName
* Returns the name of the branch from which the PR originated. * @return {string}
build-system/common/git.js:132
↓ 3 callersFunctiongitMainBaseline
* Returns the baseline commit from the main branch, regardless of running * environment. * @return {string}
build-system/common/git.js:203
↓ 3 callersFunctiongitMergeBaseLocalMain
* Returns the merge base of the current branch off of the main branch when * running on a local workspace. * @return {string}
build-system/common/git.js:194
↓ 3 callersFunctiongithubFetch
* @param {string} path * @param {{[string: string]: string|Object}=} options * @return {!Promise<Object[]|Object>}
build-system/tasks/sweep-experiments/cleanup-branches.js:28
↓ 3 callersMethodgo
* Navigates stories given a number. * @param {number} storyDelta * @param {number=} pageDelta * @param {{animate: boolean?}} options
src/amp-story-player/amp-story-player-impl.js:1103
↓ 3 callersMethodgoToSlide
* Moves the Carousel to a given index. * @param {number} index * @param {{ * smoothScroll: (boolean|undefined), * actionSource: (!Acti
extensions/amp-base-carousel/0.1/amp-base-carousel.js:234
↓ 3 callersFunctionguaranteeSrcForSrcsetUnsupportedBrowsers
(img)
src/core/dom/img.js:6
↓ 3 callersFunctionh
(n)
third_party/d3/d3.js:1
↓ 3 callersFunctionh
(a,u,f)
third_party/inputmask/bundle.js:11
↓ 3 callersMethodhandleAction_
* @param {!../../../src/service/action-impl.ActionInvocation} invocation * @private
extensions/amp-accordion/0.1/amp-accordion.js:184
↓ 3 callersMethodhandleActivation_
@private
extensions/amp-social-share/0.1/amp-social-share.js:183
↓ 3 callersMethodhandleClick
* @param {!Element} anchor
extensions/amp-link-rewriter/0.1/link-rewriter.js:46
↓ 3 callersMethodhandleCommand_
* @param {string} cmd * @param {?Object} unusedPayload * @private
extensions/amp-subscriptions/0.1/local-subscription-platform-iframe.js:154
↓ 3 callersMethodhandleHide_
* Handles "hide" action. This is a very simple action where "display: none" * is applied to the target element. * @param {!./action-impl.ActionI
src/service/standard-actions-impl.js:449
↓ 3 callersMethodhandleMismatch_
* Called when we determine that MRAID isn't available.
extensions/amp-mraid/0.1/amp-mraid.js:163
↓ 3 callersMethodhandleNext
* Called on user interaction to proceed to the next position.
extensions/amp-carousel/0.1/carousel-controls.js:146
↓ 3 callersMethodhandleNexxMessage_
* @param {!Event} event * @private
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:207
↓ 3 callersMethodhandlePinch
* @param {!../../../src/gesture-recognizers.PinchDef} data * @return {!Promise} * @visibleForTesting
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:588
↓ 3 callersFunctionhandlePosition
(element, center, dimensions)
ads/vendors/ssp.js:58
↓ 3 callersMethodhandlePrev
* Called on user interaction to proceed to the previous position.
extensions/amp-carousel/0.1/carousel-controls.js:136
↓ 3 callersFunctionhandleResize
* Internal handler for calling requestResize * @param {!Window} global * @param {!Element} container * @param {number} height
ads/vendors/revcontent.js:93
↓ 3 callersMethodhandleScrollTo_
* Handles the `scrollTo` action where given an element, we smooth scroll to * it with the given animation duration. * @param {!./action-impl.Act
src/service/standard-actions-impl.js:400
↓ 3 callersMethodhandleSetDates_
* Set one, both, or neither date via AMP action. * @param {?moment} startDate * @param {?moment} endDate
extensions/amp-date-picker/0.1/amp-date-picker.js:710
↓ 3 callersMethodhandleSetPurpose_
* Handle the setting a purpose in the state manager. * Accpet all args with booleans as values. * @param {!../../../src/service/action-impl.Acti
extensions/amp-consent/0.1/amp-consent.js:581
↓ 3 callersMethodhandleSwipe
* @param {!../../../src/gesture-recognizers.SwipeDef} data * @return {!Promise} * @visibleForTesting
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:608
↓ 3 callersMethodhandleSwipe_
* Handles a swipe gesture, updating the current swipe to dismiss state. * @param {!SwipeDef} data * @param {Event|undefined} event
extensions/amp-sidebar/0.1/amp-sidebar.js:619
↓ 3 callersMethodhasActiveLiveLists_
* Checks if any of the registered amp-live-list components is active/ * * @return {boolean} * @private
extensions/amp-live-list/0.1/live-list-manager.js:121
↓ 3 callersMethodhasAllPurposeConsents
* Signifies that we collected all the purpose consents * from our source of truth (i.e locally stored or updated)
extensions/amp-consent/0.1/consent-state-manager.js:232
↓ 3 callersMethodhasDuration_
* @return {boolean} * @private
src/service/video-manager-impl.js:1494
↓ 3 callersFunctionhasNextNodeInDocumentOrder
(element, opt_stopNode)
src/core/dom/index.js:280
↓ 3 callersMethodhasNext_
* @return {boolean} * @private
extensions/amp-carousel/0.1/slidescroll.js:524
↓ 3 callersFunctionhasPrefix
* Determines if str begins with prefix. * @param {string} str * @param {string} prefix * @return {boolean}
validator/js/nodejs/index.js:21
↓ 3 callersMethodhasResolvableActionForTarget
* 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:524
↓ 3 callersMethodhasRoughlySameOrigin_
* Compares URLs to determine if they match once common subdomains are * removed. Everything else must match. * @param {string} first Origin to c
src/service/viewer-impl.js:400
← previousnext →4,301–4,400 of 18,703, ranked by callers