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
constructor
* @param {string} cacheName
build-system/common/transform-cache.js:18
Method
constructor
* @param {object} octokitRest * @param {object} octokitGraphQl
build-system/release-tagger/utils.js:20
Method
constructor
* @param {!Window} win The window that the instance is built inside.
3p/ampcontext.js:18
Method
constructor
* @param {!Window} win A window object. * @param {Window=} hostWindow The host window to send messages to. If not set * then we'll broadcast our
3p/iframe-messaging-client.js:22
Method
constructor
@param {!Window} win
3p/iframe-transport-client.js:19
Method
constructor
* @param {!Window} win * @param {!IframeMessagingClient} iframeMessagingClient * @param {string} creativeId The ID of the creative that the even
3p/iframe-transport-client.js:124
Method
constructor
* Creates an instance of GltfViewer. * @param {!JsonObject} options * @param {*} handlers
3p/3d-gltf/viewer.js:17
Method
constructor
* Creates an instance of AnimationLoop. * @param {!Function} task
3p/3d-gltf/animation-loop.js:6
Method
constructor
@param {!AmpElement} element
test/integration/test-video-manager.js:462
Method
constructor
(element, source)
test/unit/test-custom-element.js:44
Method
constructor
(manager)
test/unit/test-gesture.js:7
Method
constructor
(manager)
test/unit/test-gesture.js:13
Method
constructor
()
test/unit/test-service.js:60
Method
constructor
(callback)
test/unit/test-performance.js:816
Method
constructor
(arg)
test/unit/test-friendly-iframe-embed.js:1418
Method
constructor
(arg)
test/unit/test-friendly-iframe-embed.js:1431
Method
constructor
(callback, options)
test/unit/test-ini-load.js:95
Method
constructor
(callback, options)
test/unit/test-loading-indicator.js:36
Method
constructor
()
test/unit/test-fixed-layer.js:191
Method
constructor
(name, value)
test/unit/test-fixed-layer.js:206
Method
constructor
(element, source)
test/unit/test-custom-element-v1.js:64
Method
constructor
(callback)
test/unit/polyfills/test-resize-observer.js:11
Method
constructor
(callback, options)
test/unit/polyfills/test-intersection-observer.js:13
Method
constructor
(_unused, opts)
test/unit/polyfills/test-intersection-observer.js:81
Method
constructor
(callback, options)
test/unit/utils/test-display-observer.js:26
Method
constructor
(tagName)
test/unit/core/dom/test-propagate-attributes.js:4
Method
constructor
(callback)
test/unit/core/dom/layout/test-size-observer.js:25
Method
constructor
()
test/unit/builtins/test-amp-pixel.js:211
Method
constructor
* @param {string} type The gesture's string type. * @param {DATA} data The data of the gesture. * @param {time} time The time that the gesture h
src/gesture.js:27
Method
constructor
* @param {!Element} element * @param {boolean} shouldNotPreventDefault * @param {boolean} shouldStopPropagation
src/gesture.js:77
Method
constructor
* @param {string} type * @param {!Gestures} manager
src/gesture.js:589
Method
constructor
* @param {!Window} win
src/input.js:23
Method
constructor
()
src/custom-element.js:134
Method
constructor
@override
src/form-data-wrapper.js:54
Method
constructor
@override
src/form-data-wrapper.js:123
Method
constructor
@override
src/form-data-wrapper.js:182
Method
constructor
* Creates a new wrapper for a `FormData` object. * * If there's no native `FormData#entries`, chances are there are no native * methods to re
src/form-data-wrapper.js:244
Method
constructor
* @param {string} sourceComponent * @param {!./service/viewer-interface.ViewerInterface} viewer * @param {!./service/template-impl.Templates} te
src/ssr-template-helper.js:24
Method
constructor
* Creates a new Pass instance. * @param {!Window} win * @param {function()} handler Handler to be executed when pass is triggered. * @param {
src/pass.js:16
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:23
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:107
Method
constructor
* @param {string} type * @param {!./gesture.Gestures} manager * @param {boolean} horiz * @param {boolean} vert
src/gesture-recognizers.js:214
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:422
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:434
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:446
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:476
Method
constructor
* @param {!./gesture.Gestures} manager
src/gesture-recognizers.js:679
Method
constructor
* @param {function(?IdleDeadline)} fn
src/chunk.js:170
Method
constructor
* @param {function(?IdleDeadline)} fn * @param {!Window} win * @param {!Chunks} chunks
src/chunk.js:246
Method
constructor
* @param {!./service/ampdoc-impl.AmpDoc} ampDoc
src/chunk.js:290
Method
constructor
* @param {!Node} contextNode Context node. * @param {number} startX Start X coordinate. * @param {number} startY Start Y coordinate. * @param
src/motion.js:105
Method
constructor
* @param {!Window} win * @param {!./service/ampdoc-impl.AmpDocService} ampdocService * @param {!./service/extensions-impl.Extensions} extensions
src/multidoc-manager.js:39
Method
constructor
* @param {!Document} doc * @param {!./service/viewport/viewport-interface.ViewportInterface} viewport
src/pull-to-refresh.js:33
Method
constructor
* @param {!Window} win * @param {number} purgeTimeout
src/focus-history.js:17
Method
constructor
* @param {!Element} parent * @param {!JsonObject} config
src/extension-analytics.js:64
Method
constructor
@param {!AmpElement} parent
src/extension-analytics.js:126
Method
constructor
* @param {!Element} iframe The iframe. * @param {string} type Type of the subscription message. * @param {boolean} is3p set to true if the ifram
src/iframe-helper.js:443
Method
constructor
@param {!AmpElement} element
src/base-element.js:236
Method
constructor
* @param {!HTMLIFrameElement} iframe * @param {!FriendlyIframeSpec} spec * @param {!Promise} loadedPromise * @param {?./service/ampdoc-impl.A
src/friendly-iframe-embed.js:362
Method
constructor
* @param {!Element} element * @param {!Window} win
src/base-template.js:16
Method
constructor
@param {!Window} win
src/video-iframe-integration.js:70
Method
constructor
* @param {!Window} win
src/preconnect.js:64
Method
constructor
Constructor.
src/polyfills/abort-controller.js:4
Method
constructor
()
src/polyfills/abort-controller.js:37
Method
constructor
* @param {!XMLHttpRequest|!XMLHttpRequestDef} xhr
src/polyfills/fetch.js:112
Method
constructor
* @param {!XMLHttpRequest|!XMLHttpRequestDef} xhr
src/polyfills/fetch.js:217
Method
constructor
* Returns instance of Response. * @param {?ResponseBodyInit=} body * @param {!ResponseInit=} init
src/polyfills/fetch.js:245
Method
constructor
* @param {!Window} win * @param {!Registry} registry
src/polyfills/custom-elements.js:96
Method
constructor
* @param {!Window} win
src/polyfills/custom-elements.js:184
Method
constructor
@param {!ResizeObserverCallback} callback
src/polyfills/stubs/resize-observer-stub.js:80
Method
constructor
* @param {!IntersectionObserverCallback} callback * @param {!IntersectionObserverInit=} options
src/polyfills/stubs/intersection-observer-stub.js:160
Method
constructor
@param {!AmpElement} element
src/bento/components/bento-base-carousel/1.0/base-element.js:9
Method
constructor
@param {!AmpElement} element
src/bento/components/bento-lightbox/1.0/base-element.js:12
Method
constructor
@param {!AmpElement} element
src/bento/components/bento-lightbox-gallery/1.0/base-element.js:48
Method
constructor
(trigger: string)
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-inline.ts:10
Method
constructor
* @param {!../service/ampdoc-impl.AmpDoc} ampdoc * @param {function()} handler
src/utils/close-watcher-impl.js:20
Method
constructor
@param {!Window=} win
src/utils/dom-ancestor-visitor.js:29
Method
constructor
* @param {!VisitorCallbackTypeDef} callback * @param {number} maxAncestorsToVisit
src/utils/dom-ancestor-visitor.js:82
Method
constructor
* opt_suffix will be appended to error message to identify the type of the * error message. We can't rely on the error object to pass along the typ
src/utils/log.js:125
Method
constructor
* @param {!Node} contextNode * @param {!./service/vsync-impl.Vsync=} opt_vsync
src/utils/animation.js:45
Method
constructor
* @param {!./service/vsync-impl.Vsync} vsync * @param {!Node} contextNode * @param {!Array<!SegmentDef>} segments * @param {?./core/data-stru
src/utils/animation.js:135
Method
constructor
* @param {!AMP.BaseElement} baseElement * @param {!Element} iframe
src/utils/intersection-observer-3p-host.js:67
Method
constructor
* @param {!AmpDoc} ampdoc
src/utils/display-observer.js:106
Method
constructor
* @param {!Window} win
src/utils/dom-writer.js:65
Method
constructor
* @param {!Window} win
src/utils/dom-writer.js:213
Method
constructor
* @param {!Window} win * @param {(function(!Function):!Promise)=} opt_transferThrottleFunc
src/utils/dom-transform-stream.js:17
Method
constructor
* @param {!Window} win
src/web-worker/amp-worker.js:60
Method
constructor
* @param {Array<SourceDef>} sources
src/core/dom/srcset.js:97
Method
constructor
* @param {Window} win * @param {function():void} callback
src/core/dom/media-query-props.js:12
Method
constructor
* @param {Window} win * @param {function(Document):void} onChunk * @param {function(Document):void} onEnd
src/core/dom/stream/detached.js:9
Method
constructor
* @param {HTMLElement & IPausable} element
src/core/dom/video/pause-helper.js:10
Method
constructor
* @param {Window} win * @param {string} id * @package
src/core/data-structures/dom-based-weakref.js:15
Method
constructor
Constructor.
src/core/data-structures/promise.js:46
Method
constructor
* @param {Array<PromiseLike<T>>=} opt_promises
src/core/data-structures/promise.js:80
Method
constructor
* Creates an instance of PriorityQueue.
src/core/data-structures/priority-queue.js:9
Method
constructor
* Creates an instance of Signals.
src/core/data-structures/signals.js:15
Method
constructor
* Creates an instance of Observable.
src/core/data-structures/observable.js:12
Method
constructor
* Constructs a FSM using the bits defined in initialState as changeable * states. * @param {STATE} initialState
src/core/data-structures/finite-state-machine.js:11
Method
constructor
* @param {number} capacity
src/core/data-structures/lru-cache.js:10
Method
constructor
* @param {ContextNode<SubscribeCallback<DEP>>} contextNode * @param {SubscribeCallback<DEP>} func * @param {IContextProp<DEP, ?>[]} deps
src/core/context/subscriber.js:69
← previous
next →
13,901–14,000 of 18,703, ranked by callers