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
Function
mads
(global, data)
ads/vendors/mads.js:7
Function
main
()
validator/js/webui/serve-standalone.go:161
Function
main
()
validator/js/webui/main/serve.go:71
Function
mainFunc
(name, spec, fn)
build-system/tasks/e2e/describes-e2e.js:513
Function
makeExtension
* @return {Promise<void>}
build-system/tasks/make-extension/index.js:353
Function
makeImgElWithBG
(attr)
extensions/amp-story-page-attachment/0.1/amp-story-open-page-attachment.js:199
Function
makeMethodMessage
* @param {string} method * @return {string}
src/bento/components/bento-vimeo/1.0/component.js:37
Function
makeMethodMessage
* @param {string} method * @return {!Object|string}
src/bento/components/bento-youtube/1.0/component.js:237
Function
makeMethodMessage
* @param {string} method * @return {string}
src/bento/components/bento-dailymotion/1.0/component.js:19
Function
makeMethodMessage
(method)
extensions/amp-video-iframe/1.0/amp-video-iframe.js:102
Function
makeRequest
(message, type, callback)
extensions/amp-intersection-observer-polyfill/0.1/test/test-cross-origin-observer.js:81
Method
makeVisible
()
src/service/viewer-impl.js:905
Function
manipulateOptions
(_opts, parserOpts)
build-system/babel-config/eslint-config.js:30
Function
manipulateOptions
(_opts, parserOpts)
build-system/babel-plugins/babel-plugin-transform-fix-leading-comments/index.js:11
Function
manipulateOptions
(_opts, parserOpts)
build-system/babel-plugins/babel-plugin-transform-json-import/index.js:82
Function
mantisDisplay
(global, data)
ads/vendors/mantis.js:7
Function
mantisRecommend
(global, data)
ads/vendors/mantis.js:30
Function
map
* @param {import('preact').ComponentChildren} children * @param {function(import('preact').ComponentChildren, number):R} fn * @return {Array<R>} *
src/preact/compat/internal.js:89
Function
marfeel
(global, data)
ads/vendors/marfeel.js:7
Function
markAsVisited
* Marks a lightbox candidate as visited as not to rescan on DOM update. * @param {!Element} candidate * @return {!Promise}
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:263
Function
markCalled
()
test/unit/test-chunk.js:593
Method
markManufacturedBody
@override
validator/js/engine/htmlparser_test.js:49
Function
markdownToc
* Entry point for the `amp markdown-toc` task. * @return {Promise<void>}
build-system/tasks/markdown-toc/index.js:158
Method
mask
* Apply the mask to the element.
extensions/amp-inputmask/0.1/mask-interface.js:17
Function
maskScope
(actionObj, maskset, opts)
third_party/inputmask/inputmask.js:742
Method
master
@return {!Window}
3p/ampcontext-integration.js:61
Function
matchMacro
* Applies the match function to the given string with the given regex * @param {string} string input to be replaced * @param {string} matchPattern s
extensions/amp-analytics/0.1/variables.js:149
Function
matches
()
extensions/amp-base-carousel/0.1/test/test-responsive-attributes.js:90
Function
mathml
(global, data)
3p/mathml.js:28
Method
maybeBuild
@override
build-system/tasks/integration.js:20
Method
maybeBuild
@override
build-system/tasks/unit.js:24
Method
maybeFillField
(field, name)
extensions/amp-form/0.1/amp-form.js:1356
Method
maybeGetMessageDeliverer
* @return {?function(string, (?JsonObject|string|undefined), boolean):(!Promise<*>|undefined)}
src/service/viewer-interface.js:168
Method
maybeGetMessageDeliverer
@override
src/inabox/inabox-viewer.js:124
Method
maybeGetMessagingOrigin
* Possibly return the messaging origin if set. This would be the origin * of the parent viewer. * @return {?string}
src/service/viewer-interface.js:99
Method
maybeGetMessagingOrigin
@override
src/inabox/inabox-viewer.js:83
Method
maybeHeightChanged
* Flag that the height could have been changed. * @package
src/service/resources-interface.js:153
Method
maybeHeightChanged
@override
src/inabox/inabox-resources.js:182
Method
maybeInitializeSessionManager_
* Maybe initializes Session Manager. * @return {!Promise}
extensions/amp-analytics/0.1/amp-analytics.js:278
Method
maybeInstall
()
extensions/amp-form/0.1/amp-form-textarea.js:39
Method
maybePerformNavigation_
* Performs a system navigation if it is determined that the specified event * was a click intended for navigation. * @param {!Event} event 'clic
extensions/amp-story/1.0/page-advancement.js:692
Method
maybeRefreshOnUpdate_
* Calls init_ again if options element has changed * @param {Event} unusedEvent * @private
extensions/amp-selector/0.1/amp-selector.js:266
Method
maybeSetSizing
(element)
extensions/amp-video-docking/0.1/amp-video-docking.js:954
Method
maybeUninstallPositionObserver_
* @protected
extensions/amp-position-observer/0.1/amp-position-observer.js:471
Method
maybeUpdateFragmentForCct
* Update the URL fragment with data needed to support custom tabs. This will * not clear query string parameters, but will clear the fragment.
src/service/viewer-interface.js:62
Method
maybeUpdateFragmentForCct
@override
src/inabox/inabox-viewer.js:55
Function
measure
(cb)
extensions/amp-instagram/0.1/test/test-amp-instagram.js:50
Function
measure
()
extensions/amp-fx-collection/0.1/providers/fx-provider.js:59
Function
measureBanner
* Measures banner layout rectangle and sets it on the state. * @param {!Object} state
extensions/amp-app-banner/0.1/amp-app-banner.js:544
Function
measureElement
(unused)
extensions/amp-form/0.1/test/test-amp-form-textarea.js:156
Method
measureElement
* Runs the specified measure, which is called in the "measure" vsync phase. * This is simply a proxy to the privileged vsync service. * * @pa
src/service/mutator-interface.js:68
Method
measureElement
@override
src/inabox/inabox-mutator.js:61
Function
measureElementStub
(measure)
testing/helpers/service.js:417
Function
measureMutateElement
(unusedElement, measurer, mutator)
extensions/amp-form/0.1/test/test-amp-form-textarea.js:77
Method
measureMutateElement
* Runs the specified mutation on the element and ensures that remeasures and * layouts performed for the affected elements. * * This method s
src/service/mutator-interface.js:105
Method
measureMutateElement
@override
src/service/mutator-impl.js:151
Method
measureNewPosition
()
extensions/amp-carousel/0.1/scrollable-carousel.js:192
Method
measureOverflowState
()
extensions/amp-lightbox-gallery/0.1/lightbox-caption.js:134
Function
measureTargetElement
* Measures the layout for the target element passed through state object. * @param {!Object} state * @private
extensions/amp-form/0.1/validation-bubble.js:121
Function
mediaad
(global, data)
ads/vendors/mediaad.js:7
Function
medianet
(global, data)
ads/vendors/medianet.js:33
Function
mediavine
(global, data)
ads/vendors/mediavine.js:7
Function
medyanet
(global, data)
ads/vendors/medyanet.js:9
Function
meg
(global, data)
ads/vendors/meg.js:7
Method
merge_
@private
src/utils/dom-writer.js:168
Method
method
()
build-system/babel-plugins/babel-plugin-transform-dev-methods/test/fixtures/transform-assertions/imported-both-usage/input.js:39
Method
method
()
build-system/babel-plugins/babel-plugin-transform-dev-methods/test/fixtures/transform-assertions/imported-both-usage/output.mjs:16
Method
method
()
build-system/babel-plugins/babel-plugin-transform-dev-methods/test/fixtures/transform-assertions/imported-dev-usage/input.js:34
Method
method
()
build-system/babel-plugins/babel-plugin-transform-dev-methods/test/fixtures/transform-assertions/imported-dev-usage/output.mjs:14
Method
method
()
build-system/babel-plugins/babel-plugin-transform-dev-methods/test/fixtures/transform-assertions/imported-user-usage/input.js:20
Method
method
()
build-system/babel-plugins/babel-plugin-transform-dev-methods/test/fixtures/transform-assertions/imported-user-usage/output.mjs:15
Function
method_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:3
Method
method_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:21
Method
method_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:38
Function
method_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:4
Method
method_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:32
Method
method_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:59
Function
mgid
(global, data)
ads/vendors/mgid.js:7
Function
mi
(n,t)
third_party/d3/d3.js:2
Function
microad
(global, data)
ads/vendors/microad.js:25
Function
minifyLocalesJsonReviver
* JSON reviver that converts {"string": "foo", ...} to just "foo". * This minifies the format of locale files. * @param {string} _ * @param {*} val
build-system/json-locales/index.js:9
Function
miximedia
(global, data)
ads/vendors/miximedia.js:7
Function
mixpo
(global, data)
ads/vendors/mixpo.js:7
Function
mn
(t,n)
third_party/d3-geo-projection/d3-geo-projection.js:1
Function
mnetHBHandle
* Handler for mnet.
ads/vendors/medianet.js:173
Function
mockClientIdFn
(str)
test/unit/url-expander/test-expander.js:121
Function
mockScriptLoader
()
test/unit/ads/test-unruly.js:16
Function
mockServiceGetter
(getterName, returnValue)
extensions/amp-skimlinks/0.1/test/helpers.js:32
Function
mockedDateNow
()
test/unit/core/dom/test-parse-date-attributes.js:77
Function
mockedDateNow
()
extensions/amp-date-countdown/1.0/test/test-amp-date-countdown.js:61
Function
mockedWarn
(output)
extensions/amp-date-countdown/1.0/test/test-component.js:57
Function
mockedWarn
(output)
extensions/amp-image-slider/1.0/test/test-amp-image-slider.js:102
Function
mockedWarn
(output)
extensions/amp-wordpress-embed/1.0/test/test-amp-wordpress-embed.js:94
Function
modified
()
build-system/babel-plugins/babel-plugin-jsx-style-object/test/fixtures/transform/transformed/input.mjs:28
Function
momagic
(global, data)
ads/vendors/momagic.js:7
Function
monetizer101
(global, data)
ads/vendors/monetizer101.js:7
Method
mountCallback
@override
src/bento/components/bento-lightbox-gallery/1.0/base-element.js:56
Method
mountCallback
@override
src/preact/base-element.js:472
Method
mountCallback
@override
src/builtins/amp-img/amp-img.js:308
Function
mox
(global, config)
ads/vendors/mox.js:7
← previous
next →
16,701–16,800 of 18,703, ranked by callers