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
Method
clear
()
extensions/amp-date-picker/1.0/component.type.js:5
Method
clear
()
extensions/amp-date-picker/1.0/types.ts:57
Method
clear
()
testing/fake-dom.js:667
Method
clear
* Clears all of the entitlements state and cache.
third_party/subscriptions-project/swg.js:12503
Method
clear
@override
third_party/subscriptions-project/swg.js:19214
Function
clearActiveProductDataIfClosed_
* Clear active product data after the attachment closes so that content does not jump. * @private
extensions/amp-story-shopping/0.1/amp-story-shopping-attachment.js:188
Function
clearInterval
(interval)
test/unit/test-friendly-iframe-embed.js:962
Function
clearTooltip_
* Clears any attributes or handlers that may have been added to the tooltip, * but weren't used because the user dismissed the tooltip. * @priva
extensions/amp-story/1.0/amp-story-embedded-component.js:692
Function
clear_
()
extensions/amp-story/1.0/progress-bar.js:470
Function
clever
(global, data)
ads/vendors/clever.js:7
Method
click
* * @param {!ElementHandle<!WebElement>} handle * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:549
Function
clickButtonFunction
()
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:668
Method
clickFun
(event)
third_party/subscriptions-project/swg.js:8972
Function
clickio
(global, data)
ads/vendors/clickio.js:14
Method
clientRect
()
test/unit/polyfills/test-resize-observer.js:23
Method
clone
* @return {!Entitlements}
third_party/subscriptions-project/swg.js:4288
Method
clone
* @return {!Entitlement}
third_party/subscriptions-project/swg.js:4526
Method
clone
* @return {!SubscribeResponse}
third_party/subscriptions-project/swg.js:4787
Method
clone
* @return {!PurchaseData}
third_party/subscriptions-project/swg.js:4851
Method
clone
* @return {!DeferredAccountCreationResponse}
third_party/subscriptions-project/swg.js:4908
Method
clone
* Create a copy of the response and return it. * @return {!FetchResponse}
third_party/subscriptions-project/swg.js:13636
Function
cloneEntryForCrossOrigin
(entry)
src/utils/intersection-observer-3p-host.js:187
Function
cloneLayoutMarginsChangeDef
(marginsChange)
src/core/dom/layout/rect.js:272
Function
cloneNode
()
test/unit/test-fixed-layer.js:357
Method
close
@override
src/utils/dom-writer.js:126
Method
close
()
third_party/subscriptions-project/swg.js:7990
Method
close
* Closes the dialog. * @param {boolean=} animated * @return {!Promise}
third_party/subscriptions-project/swg.js:10973
Method
closeActionHandler_
* Handler when close action is triggered, will pop history state to close * the iframe. * @param {{container: !Element, iframe:!HTMLIFrameElemen
third_party/subscriptions-project/swg.js:16770
Function
closeMenu
()
src/bento/components/bento-mega-menu/1.0/component/useMegaMenu.tsx:22
Method
closeOnClick_
* Handles closing the lightbox when close is clicked. * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:500
Method
closeOnEnter_
* Handles closing the lightbox when the enter key is pressed. * Need it for i-amphtml-ad-close-header * @param {!Event} event * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:510
Method
closeOnEscape_
* @param {!Event} event * @private
src/utils/close-watcher-impl.js:106
Method
closeStickyAd_
* Close the sticky ad
extensions/amp-ad/0.1/amp-ad-ui.js:297
Function
close_
* Clears tooltip UI and updates store state to hidden. * @private
extensions/amp-story/1.0/amp-story-embedded-component.js:298
Function
close_
()
extensions/amp-story/1.0/amp-story-info-dialog.js:180
Method
closed
@override
src/utils/dom-writer.js:144
Method
closed
@override
src/utils/dom-writer.js:282
Function
closestNode
(node, callback)
src/core/dom/query.js:132
Function
co
(e)
examples/amp-script/vue-todomvc.js:7
Function
code
(ctx)
build-system/compile/json-schema/index.js:71
Function
cognativex
(global, data)
ads/vendors/cognativex.js:7
Method
collapse
* Collapses the element, and notifies its owner (if there is one) that the * element is no longer present.
src/custom-element.js:1776
Method
collapseAndReschedule
()
extensions/amp-lightbox/0.1/amp-lightbox.js:546
Method
collapseElement
* Collapses the element: ensures that it's `display:none`, notifies its * owner and updates the layout box. * @param {!Element} element
src/service/mutator-interface.js:59
Method
collapseElement
@override
src/inabox/inabox-mutator.js:55
Function
collapseFrameImpl
(win, iframe, onFinish, onMeasure)
ads/inabox/frame-overlay-helper.js:71
Method
collapsedCallback
* Called every time an owned AmpElement collapses itself. * @param {!AmpElement} element
src/custom-element.js:1786
Method
collapsedCallback
@override
extensions/amp-fx-flying-carpet/0.1/amp-fx-flying-carpet.js:213
Method
collectAttributes
({attributes, category})
third_party/subscriptions-project/swg.js:13255
Function
collectFailedFiles
(file, encoding, callback)
validator/js/gulpjs/index.js:122
Function
collectProps
* @return {number}
build-system/babel-plugins/babel-plugin-transform-fix-leading-comments/test/fixtures/transform/basic/output.js:9
Function
collectProps
* @return {number}
build-system/babel-plugins/babel-plugin-transform-fix-leading-comments/test/fixtures/transform/basic/input.js:9
Function
collectResults
(file, encoding, callback)
validator/js/gulpjs/index.js:71
Function
colombia
(global, data)
ads/vendors/colombia.js:7
Function
colombiafeed
(global, data)
ads/vendors/colombiafeed.js:7
Method
compareFunction
(linkRewriterA, linkRewriterB)
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter-manager.js:234
Method
complete
* Allows the receiving site to complete/acknowledge that it registered * the subscription purchase. The typical action would be to create an * a
third_party/subscriptions-project/swg.js:4827
Method
complete
* Allows the receiving site to complete/acknowledge that it registered * the subscription info. The typical action would be to create an * accou
third_party/subscriptions-project/swg.js:4943
Method
completeDeferredAccountCreation
@override
third_party/subscriptions-project/swg.js:19447
Function
composeEmbedUrl
(options)
extensions/amp-playbuzz/0.1/utils.js:121
Function
composeItemSrcUrl
(src, itemId)
extensions/amp-playbuzz/0.1/utils.js:161
Method
computeInMasterFrame
* Performs a potentially asynchronous task exactly once for all frames of a * given type and the provide the respective value to all frames. * @
3p/ampcontext-integration.js:133
Function
conative
(global, data)
ads/vendors/conative.js:7
Function
conditionValue
(value)
build-system/tasks/e2e/selenium-webdriver-controller.js:62
Function
configure
* Configure all tests. This may only be called once, since it is only read once * and writes after reading will not have any effect. * @param {!Desc
build-system/tasks/e2e/describes-e2e.js:68
Method
configurePending
* @param {!./deps.DepsDef} deps
third_party/subscriptions-project/swg.js:14143
Function
connatix
(global, data)
ads/vendors/connatix.js:10
Method
connect
@override
src/service/viewport/viewport-binding-natural.js:61
Method
connect
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:116
Method
connect
* Check origin, protocol and configuration and initialize controller. * @param {string} unusedOrigin * @param {string} unusedProtocl * @param
extensions/amp-access/0.1/iframe-api/access-controller.js:17
Method
connectedCallback
* Called when the element is first connected to the DOM. * * This callback is guarded by checks to see if the element is still * connec
src/custom-element.js:1148
Function
consoleLogger
(consoleMessage)
build-system/tasks/visual-diff/index.js:390
Function
constructor
@param {!AmpElement} element
extensions/amp-story-subscriptions/0.1/amp-story-subscriptions.js:39
Function
constructor
@param {!AmpElement} element
extensions/amp-story-shopping/0.1/amp-story-shopping-tag.js:43
Function
constructor
@param {!AmpElement} element
extensions/amp-story-shopping/0.1/amp-story-shopping-attachment.js:48
Function
constructor
* @param {!Window} win * @param {!Element} storyEl
extensions/amp-story/1.0/amp-story-embedded-component.js:154
Function
constructor
* @param {!Window} win * @param {!Element} storyEl
extensions/amp-story/1.0/progress-bar.js:74
Function
constructor
* @param {!Window} win * @param {!Element} parentEl Element where to append the component
extensions/amp-story/1.0/amp-story-info-dialog.js:40
Function
constructor
@param {!AmpElement} element
extensions/amp-story-page-attachment/0.1/amp-story-draggable-drawer.js:78
Function
constructor
@param {!AmpElement} element
extensions/amp-story-page-attachment/0.1/amp-story-page-attachment.js:73
Method
constructor
* @param {!Window} win
build-system/babel-plugins/babel-plugin-transform-annotation-to-extern/test/fixtures/extract-annotations/emit-typedefs/output.js:10
Method
constructor
* @param {!Window} win
build-system/babel-plugins/babel-plugin-transform-annotation-to-extern/test/fixtures/extract-annotations/emit-typedefs/input.js:16
Method
constructor
* @param {!Window} win
build-system/babel-plugins/babel-plugin-transform-annotation-to-extern/test/fixtures/extract-annotations/remove-typedefs/output.js:15
Method
constructor
* @param {!Window} win
build-system/babel-plugins/babel-plugin-transform-annotation-to-extern/test/fixtures/extract-annotations/remove-typedefs/input.js:21
Method
constructor
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/skip-nonamp-privates/input.js:2
Method
constructor
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/skip-nonamp-privates/output.mjs:2
Method
constructor
* @param {RuntimeTestConfig} config
build-system/tasks/integration.js:15
Method
constructor
* * @param {RuntimeTestConfig} config
build-system/tasks/unit.js:19
Method
constructor
@param {!AmpElement} element
build-system/tasks/make-extension/template/classic/extensions/amp-__component_name_hyphenated__/__component_version__/amp-__component_name_hyphenated__.js:8
Method
constructor
* Wrap the framework-specific element handle object. * @param {!T} element * @package
build-system/tasks/e2e/e2e-types.js:15
Method
constructor
* @param {!WebDriver} driver
build-system/tasks/e2e/selenium-webdriver-controller.js:81
Method
constructor
* @param {function} it * @param {object} env
build-system/tasks/e2e/describes-e2e.js:287
Method
constructor
@param {!TestSpec} spec
build-system/tasks/e2e/describes-e2e.js:564
Method
constructor
@param {!selenium.WebDriver} driver
build-system/tasks/e2e/network-logger.js:18
Method
constructor
* @param {Promise<TYPE|null>|function(function(?TYPE):void, function(*):void):void} executorOrPromise * @param {undefined|function(TYPE,function(TY
build-system/tasks/e2e/controller-promise.js:16
Method
constructor
* @param {import('mocha').Runner} runner * @param {import('mocha').MochaOptions} options
build-system/tasks/e2e/mocha-ci-reporter.js:10
Method
constructor
* @param {!*} controller
build-system/tasks/e2e/amp-driver.js:151
Method
constructor
* @param {string} testType
build-system/tasks/runtime-test/runtime-test-base.js:60
Method
constructor
* * @param {RuntimeTestConfig} config
build-system/tasks/runtime-test/runtime-test-base.js:300
Method
constructor
(initializer: () => T)
build-system/server/new-server/transforms/utilities/lazy.ts:5
← previous
next →
13,801–13,900 of 18,703, ranked by callers