Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ functions
Functions
18,703 in github.com/ampproject/amphtml
⨍
Functions
18,703
◇
Types & classes
2,331
↓ 2 callers
Function
Te
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
U
(e,t,n)
examples/amp-script/todomvc.ssr.js:2
↓ 2 callers
Function
U
(n,t)
third_party/d3/d3.js:1
↓ 2 callers
Function
U
(e,a)
third_party/react-dates/bundle.js:1
↓ 2 callers
Function
Ua
(a,b)
third_party/wgxpath/wgxpath.js:43
↓ 2 callers
Function
Ue
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Ue
(n)
third_party/d3/d3.js:2
↓ 2 callers
Function
Un
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
V
(t,n,a,r,o)
third_party/inputmask/bundle.js:11
↓ 2 callers
Function
Va
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Va
(a,b)
third_party/wgxpath/wgxpath.js:43
↓ 2 callers
Function
Vn
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Vr
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Wa
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Wi
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
X
(n,t,e)
third_party/d3/d3.js:1
↓ 2 callers
Function
Xa
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Xt
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Xt
(e)
third_party/react-dates/bundle.js:1
↓ 2 callers
Function
Ye
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Yi
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
Yt
(n,t,e,r)
third_party/d3/d3.js:1
↓ 2 callers
Function
Z
(t,n)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 2 callers
Function
Za
(e,a)
third_party/react-dates/bundle.js:1
↓ 2 callers
Function
Zt
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
_
(e,t,n,r,i,o)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
_a
(e)
third_party/react-dates/bundle.js:1
↓ 2 callers
Function
_i
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callers
Function
_isValid
(position, c, strict)
third_party/inputmask/inputmask.js:1302
↓ 2 callers
Function
_n
(n,t,e)
third_party/d3/d3.js:1
↓ 2 callers
Function
_s
(e)
third_party/react-dates/bundle.js:1
↓ 2 callers
Function
_setup
* Get PRs and label * @param {string} head * @param {string} base * @param {string} channel * @param {object} api * @return {Promise<Object>}
build-system/release-tagger/label-pull-requests.js:22
↓ 2 callers
Function
abortTimedJob
* Aborts the process after stopping the timer for a given job * @param {string} jobName * @param {number} startTime
build-system/pr-check/utils.js:164
↓ 2 callers
Method
acceptCancel
@override
src/gesture-recognizers.js:581
↓ 2 callers
Function
acceptPortResultData
* @param {!../components/activities.ActivityPortDef} port * @param {string} requireOrigin * @param {boolean} requireOriginVerified * @param {boolea
third_party/subscriptions-project/swg.js:2894
↓ 2 callers
Method
acceptResultAndVerify
* Accepts results from the caller and verifies origin. * @param {string} requireOrigin * @param {boolean} requireOriginVerified * @param {boo
third_party/subscriptions-project/swg.js:4014
↓ 2 callers
Method
action_
* @param {!Function} action * @return {!Promise} * @private
extensions/amp-subscriptions/0.1/dialog.js:104
↓ 2 callers
Function
activateChunkingForTesting
()
src/chunk.js:119
↓ 2 callers
Function
addAdiantUnit
* @param {string} hostname * @param {!Window} global * @param {!Object} data
ads/vendors/adblade.js:12
↓ 2 callers
Function
addAttributeAfterTimeout
( context, element, timeout, attributeName, attributeValue = '' )
extensions/amp-story-dev-tools/0.1/utils.js:38
↓ 2 callers
Function
addCssClassesToBody
* @param {!Element} body * @param {!Array<string>} classes
extensions/amp-dynamic-css-classes/0.1/amp-dynamic-css-classes.js:86
↓ 2 callers
Function
addCssJsEntry
* Adds an entry that maps a CSS file to a JS file * * @param {object} cssData * @param {string} cssBinaryName * @param {object} cssJsFileM
build-system/tasks/runtime-test/helpers-unit.js:51
↓ 2 callers
Function
addDataParamsToUrl
(url, element)
extensions/amp-video-iframe/0.1/amp-video-iframe.js:69
↓ 2 callers
Function
addDevModeParamsToUrl
* Parses entitlement dev mode params from the given hash fragment and adds it * to the given URL. * @param {!Location} location * @param {string} u
third_party/subscriptions-project/swg.js:13337
↓ 2 callers
Method
addDevice_
* @private * @param {string} deviceName
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:541
↓ 2 callers
Method
addDismissButton_
* Creates and append a close button. * @protected
extensions/amp-app-banner/0.1/amp-app-banner.js:57
↓ 2 callers
Method
addDragListeners_
* @param {!Element} element * @return {!Element} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:529
↓ 2 callers
Function
addDynamicCssClasses
* Adds CSS classes onto the HTML element. * @param {!../../../src/service/ampdoc-impl.AmpDoc} ampdoc * @param {!Array<string>} classes
extensions/amp-dynamic-css-classes/0.1/amp-dynamic-css-classes.js:74
↓ 2 callers
Method
addElementsToContainer_
* Adds template-rendered `elements` as children to `container`. * @param {!Array<!Node>} elements * @param {!Element} container * @private
extensions/amp-list/0.1/amp-list.js:560
↓ 2 callers
Function
addExpIdToElement
* Adds a single experimentID to an element iff it's a valid experiment ID. * No-ops if the experimentId is undefined. * * @param {string|undefined}
ads/google/a4a/traffic-experiments.js:133
↓ 2 callers
Function
addLabels
* Add label to PRs * @param {string} head * @param {string} base * @param {string} channel * @param {Object|undefined} octokitRest * @param {Obje
build-system/release-tagger/label-pull-requests.js:44
↓ 2 callers
Method
addOnEntitlementResolvedCallback
* This registers a callback which is called whenever a platform key is resolved * with an entitlement. * @param {function(!EntitlementChangeEven
extensions/amp-subscriptions/0.1/platform-store.js:217
↓ 2 callers
Method
addPage
(pageImpl)
extensions/amp-story-auto-ads/0.1/test/story-mock.js:16
↓ 2 callers
Function
addPureComment
@param {import('@babel/core').NodePath} path
build-system/babel-plugins/babel-plugin-deep-pure/index.js:53
↓ 2 callers
Method
addRebuffer_
* Increments the rebuffer time with the duration from the last `waiting` * event, and increments the rebuffers count. * @param {!MediaEntryDef}
extensions/amp-story/1.0/media-performance-metrics-service.js:305
↓ 2 callers
Method
addReplaceParamsIfMissing_
* Merges any replacement parameters into a given URL's query string, * preferring values set in the original query string. * @param {string} ori
src/service/url-replacements-impl.js:647
↓ 2 callers
Function
addTestElementsToDocument
(numberOfElements)
extensions/amp-experiment/1.0/test/test-apply-experiment.js:28
↓ 2 callers
Function
additionalDimensions
(win, viewportSize)
ads/google/a4a/utils.js:536
↓ 2 callers
Method
adjustContainerForLoadMoreButton_
* This function is called at layout time if the amp-list has the * load-more attribute. This increases the height of the amp-list by * the heigh
extensions/amp-list/0.1/amp-list.js:393
↓ 2 callers
Method
adjustForSwipePosition_
* Adjusts the UI elements for the current swipe position in a swipe to * dismiss gesture. This should be called in a mutate context. * @param {s
extensions/amp-lightbox-gallery/0.1/swipe-to-dismiss.js:225
↓ 2 callers
Method
adjustForSwipePosition_
* Adjusts the UI elements for the current swipe position in a swipe to * dismiss gesture. This should be called in a mutate context. * @param {s
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:240
↓ 2 callers
Method
adjustForSwipePosition_
* Adjusts the UI elements for the current swipe position in a swipe to * dismiss gesture. This should be called in a mutate context. * @param {s
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:240
↓ 2 callers
Method
adjustPadding
* Adjust the padding-bottom when resized to prevent overlaying on top of content
extensions/amp-ad/0.1/amp-ad-ui.js:282
↓ 2 callers
Function
adoptMultiDocDeps
* Adopt MultiDocManager dependencies * @param {!Window} global Global scope to adopt.
src/runtime.js:399
↓ 2 callers
Function
adoptServicesAndResources
* Adopt shared runtimes variables between both multi-doc and single-doc pages * @param {!Window} global Global scope to adopt.
src/runtime.js:373
↓ 2 callers
Function
adoptWithMultidocDeps
(global)
src/runtime.js:354
↓ 2 callers
Method
advancePos
* Advances the internal position by the characters in {code tokenText}. * This method is to be called only from within the parser. * @param {str
validator/js/engine/htmlparser.js:1060
↓ 2 callers
Function
ae
(n)
third_party/d3/d3.js:2
↓ 2 callers
Function
ae
(t)
third_party/inputmask/bundle.js:11
↓ 2 callers
Function
ai
(n)
third_party/d3/d3.js:2
↓ 2 callers
Function
alternate
(pos, c, strict, fromSetValid, rAltPos)
third_party/inputmask/inputmask.js:1216
↓ 2 callers
Function
ampAdSelector
(r)
ads/google/a4a/utils.js:224
↓ 2 callers
Function
ampdocInternal
* Returns the AmpDoc for the specified context node. * @param {!Node|!./service/ampdoc-impl.AmpDoc} nodeOrAmpDoc * @return {!./service/ampdoc-impl.A
src/service/index.js:43
↓ 2 callers
Function
ampdocServiceForInternal
* Returns the global instance of the `AmpDocService` service that can be * used to resolve an ampdoc for any node: either in the single-doc or * sha
src/service/index.js:32
↓ 2 callers
Method
analyticsEvent_
* @param {string} eventType * @private
extensions/amp-access/0.1/amp-access.js:293
↓ 2 callers
Method
analyticsEvent_
* Construct an analytics event and trigger it. * @param {string} eventType * @param {!{[key: string]: number}} vars A map of vars and their valu
extensions/amp-story-auto-ads/0.1/story-ad-page-manager.js:243
↓ 2 callers
Method
analyticsEvent_
* Construct an analytics event and trigger it. * @param {string} eventType * @param {!{[key: string]: number}} vars A map of vars and their valu
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:504
↓ 2 callers
Function
animate
* @param {!Element} element * @param {function():!Animation} prepare * @param {function()=} cleanup * @return {!UnlistenDef}
src/bento/components/bento-accordion/1.0/animations.js:95
↓ 2 callers
Method
animateCollapse_
* @param {!Element} section * @param {!ActionTrust_Enum} trust * @return {!Promise} * @private
extensions/amp-accordion/0.1/amp-accordion.js:458
↓ 2 callers
Method
animateFixedElements
* @param {number} paddingTop * @param {number} lastPaddingTop * @param {number} duration * @param {string} curve * @param {boolean} transi
src/service/fixed-layer.js:884
↓ 2 callers
Method
animateScrollIntoView
@override
src/service/viewport/viewport-impl.js:479
↓ 2 callers
Method
animateScrollToTop_
* @param {number} top * @private
extensions/amp-viewer-integration/0.1/highlight-handler.js:399
↓ 2 callers
Method
animateScrollWithinParent
@override
src/inabox/inabox-viewport.js:267
↓ 2 callers
Method
animate_
* Animates from current position to active components position. * @private
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:221
↓ 2 callers
Method
animate_
* @param {function():!Promise} callback * @return {!Promise} * @private
third_party/subscriptions-project/swg.js:12005
↓ 2 callers
Function
apiV2DoesMerchantSupportSpecifiedCardType
* @param {!IsReadyToPayRequest} isReadyToPayRequest * @param {Constants.AuthMethod} apiV2AuthMethod * * @return {boolean} true if the merchant supp
third_party/subscriptions-project/swg.js:16016
↓ 2 callers
Method
applyAnchorMutators_
* Apply anchor transformations. * @param {!Element} element * @param {!Event} e
src/service/navigation.js:394
↓ 2 callers
Method
applyAuthorizationAttrs_
* @param {!Element} element * @param {boolean} on * @return {!Promise} * @private
extensions/amp-access/0.1/amp-access.js:486
↓ 2 callers
Method
applyLinkers_
* Apply linkers to the given url. Linker params are appended if there * are matching linker configs. * * @param {string} url * @return {st
extensions/amp-analytics/0.1/linker-manager.js:241
↓ 2 callers
Method
applyMediaAttrs_
@private
src/custom-element.js:1045
↓ 2 callers
Function
applySimpleSelectorScope
(selector, scopeSelector)
third_party/webcomponentsjs/ShadowCSS.js:222
↓ 2 callers
Method
applyTracksToElement_
* Applies track tags to a specified element. This is done in a separate * method from the source tags, because we must wait for "loadedmetadata"
extensions/amp-story/1.0/sources.js:36
↓ 2 callers
Method
applyUnlayoutUI
* Apply UI for unlaid out ad: Hide fallback. * Note: No need to togglePlaceholder here, unlayout show it by default.
extensions/amp-ad/0.1/amp-ad-ui.js:175
↓ 2 callers
Method
apply_
* Applies expression results to elements in the document. * * @param {{[key: string]: BindExpressionResultDef}} results * @param {!ApplyOptio
extensions/amp-bind/0.1/bind-impl.js:1182
↓ 2 callers
Function
arrayOrderDistanceFn
* @param {!Array<!HTMLMediaElement>} elements * @return {function(!Element): number} The distance
extensions/amp-story/1.0/test/test-media-pool.js:60
↓ 2 callers
Function
assert
* @private * @description * Confirm that a value is truthy, throws an error message otherwise. * * @param {*} val - the val to test. * @param {st
third_party/set-dom/set-dom.js:324
↓ 2 callers
Function
assert
* Throws an error if the first argument isn't trueish. * * Supports argument substitution into the message via %s placeholders. * * Throws an erro
third_party/subscriptions-project/swg-gaa.js:271
↓ 2 callers
Function
assertActionForParser
* @param {string} s * @param {!Element} context * @param {?T} condition * @param {string=} opt_message * @return {T} * @template T * @private
src/service/action-impl.js:1174
↓ 2 callers
Function
assertConfig
(config)
extensions/amp-ad-exit/0.1/config.js:103
↓ 2 callers
Method
assertDatasourceExists_
* @private
extensions/amp-youtube/0.1/amp-youtube.js:353
← previous
next →
5,101–5,200 of 18,703, ranked by callers