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
getUpgradeDelayMs
* Time delay imposed by baseElement upgradeCallback. If no * upgradeCallback specified or not yet executed, delay is 0. * @return {number}
src/custom-element.js:400
Method
getUrl
* Returns the base URL for the embedded document. * @return {string}
src/friendly-iframe-embed.js:424
Method
getUrl
@override
src/service/ampdoc-impl.js:818
Method
getUrl
@override
src/service/ampdoc-impl.js:906
Method
getUrl
@override
src/service/ampdoc-impl.js:1021
Method
getUrl
* @return {?string}
third_party/subscriptions-project/swg.js:604
Method
getUrlPath
* @return {?string}
third_party/subscriptions-project/swg.js:1748
Method
getUsedEntitlement
* @return {?EntitlementJwt}
third_party/subscriptions-project/swg.js:1157
Method
getUserEmail
* @return {?string}
third_party/subscriptions-project/swg.js:989
Method
getUserInputForUpdate
(inputEl: InputElement)
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-single.ts:12
Method
getUserInputForUpdate
* Display suggestions based on the partial string following the trigger * in the input element value.
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-inline.ts:62
Method
getUserInputForUpdate
* The value to use as the partial user input when generating autocomplete suggestions * @param {!HTMLInputElement} unusedInputEl * @return {stri
extensions/amp-autocomplete/0.1/autocomplete-binding-def.js:20
Method
getUserInputForUpdate
* Display suggestions based on the partial string following the trigger * in the input element value. * @param {!HTMLInputElement} unusedInputEl
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:96
Method
getUserInputForUpdate
* The user input for generating suggestions is the full entry in the input element so far. * @param {?HTMLInputElement} inputEl * @return {strin
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:54
Method
getUserInputForUpdateWithSelection
* Replace the user input matched in the input element value with the * selected item value from the autocomplete suggestions. * @param {string}
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:111
Method
getUserInputForUpdateWithSelection
* Returns the full selection. * @param {string} selection * @param {!HTMLInputElement} unusedInputEl * @param {string} unusedInput * @retu
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:65
Method
getUtmCampaign
* @return {?string}
third_party/subscriptions-project/swg.js:520
Method
getUtmMedium
* @return {?string}
third_party/subscriptions-project/swg.js:534
Method
getUtmSource
* @return {?string}
third_party/subscriptions-project/swg.js:506
Method
getValue
* Get the value of the masked element. * @return {string}
extensions/amp-inputmask/0.1/mask-interface.js:23
Method
getValue
* Function to return the recaptcha token. * Will be an override of AMP.AsyncInput * @override * @return {!Promise<string>}
extensions/amp-recaptcha-input/0.1/amp-recaptcha-input.js:127
Function
getValueFunction
* Returns a method that resolves the numbers 0 through 6. * @return {function():!Promise<number>}
test/e2e/test-controller-promise.js:208
Method
getVar
@override
extensions/amp-animation/0.1/web-animations.js:1145
Function
getVariableRequest
* @param {*} _req require('express').Request * @param {*} res require('express').Response
build-system/server/variable-substitution.js:117
Function
getVideoStateProperty
()
test/unit/test-url-replacements.js:812
Method
getViewerOrigin
* Returns the promise that resolves to URL representing the origin of the * viewer. If the document is not embedded or if a viewer origin can't be
src/service/viewer-interface.js:130
Method
getViewerOrigin
@override
src/inabox/inabox-viewer.js:103
Function
getViewportRect
()
test/unit/inabox/test-inabox-messaging-host.js:250
Method
getViewportSize
@override
extensions/amp-animation/0.1/web-animations.js:1181
Function
getVisibleDays
(e,t,o,n)
third_party/react-dates/bundle.js:1
Method
getWidth
* Returns the width of the viewport. * @return {number}
src/service/viewport/viewport-interface.js:81
Method
getWin
* @return {!Window}
third_party/subscriptions-project/config.js:119
Method
getWin
@override
third_party/subscriptions-project/config.js:189
Function
getWindow
(elem)
third_party/inputmask/inputmask.dependencyLib.js:49
Function
getZindex
* Entry point for amp get-zindex * @return {Promise<void>}
build-system/tasks/get-zindex/index.js:144
Method
getter
(root)
build-system/tasks/e2e/selenium-webdriver-controller.js:247
Function
getter_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:4
Method
getter_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:22
Method
getter_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:39
Function
getter_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:6
Method
getter_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:34
Method
getter_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:61
Function
gi
(n)
third_party/d3/d3.js:2
Function
giraff
(global, data)
ads/vendors/giraff.js:7
Function
gitDiffPath
* Returns the diffs for given path based on the given commit * @param {string} path * @param {string} commit * @return {string}
build-system/common/git.js:216
Function
github
(global, data)
3p/github.js:26
Function
gl
()
third_party/d3/d3.js:4
Function
glomex
(global, data)
ads/vendors/glomex.js:7
Function
gltfViewer
(global)
3p/3d-gltf/index.js:44
Function
gmossp
(global, data)
ads/vendors/gmossp.js:9
Function
gn
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
Method
goCallback
* Used by amp-lightbox-gallery * * Does all the work needed to proceed to next * desired direction. * @param {number} dir -1 or 1
extensions/amp-base-carousel/0.1/amp-base-carousel.js:654
Method
goCallback
* Used by amp-lightbox-gallery * * Does all the work needed to proceed to next * desired direction. * @param {number} dir -1 or 1 * @pa
extensions/amp-carousel/0.1/scrollable-carousel.js:424
Method
gotoAndPause
* The gotoAndPause action. A gotoAndPause is a gotoAndPlay followed by an * (almost) immediate pause. * @param {string} id Receiver id. * @pa
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:364
Method
gotoAndPlay
* The gotoAndPlay action. * @param {string} id Receiver id. * @param {string} label The name of the label animation to go to.
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:348
Method
gotoAndPlayNTimes
* The gotoAndPlayNTimes action. * @param {string} id Receiver id. * @param {string} label The name of the label animation to go to. * @param
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:390
Function
gs
(e,a,t,s)
third_party/react-dates/bundle.js:1
Function
gt
(e,t,n,r,i)
examples/amp-script/vue-todomvc.js:7
Function
gu
(n)
third_party/d3/d3.js:2
Function
gumgum
(global, data)
ads/vendors/gumgum.js:9
Function
ha
(t,n)
third_party/d3-geo-projection/d3-geo-projection.js:1
Method
halt
* Halts the animation. Depending on the opt_dir value, the following actions * can be performed: * 0: No action. The state will be as at the mom
src/utils/animation.js:232
Method
handleAddThisMessage
* Handles messages posted from amp-addthis iframes, ensuring the correct * origin, etc. * @param {!Event} event
extensions/amp-addthis/0.1/post-message-dispatcher.js:67
Method
handleAnalyticsEvent_
* Listens for events from analytics and transmits them to the SwG event * manager if appropriate. * @param {!SubscriptionAnalyticsEvents|string}
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:334
Function
handleAndUnschedule
()
src/core/context/scheduler.js:13
Method
handleBodymovinMessages_
* @param {!Event} event * @private
extensions/amp-bodymovin-animation/0.1/amp-bodymovin-animation.js:168
Method
handleCancelFullOverlay_
* @param {!HTMLIFrameElement} iframe * @param {!Object} request * @param {!Window} source * @param {string} origin * @return {boolean}
ads/inabox/inabox-messaging-host.js:229
Function
handleClick
(event: MouseEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:303
Function
handleClick
(event: MouseEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:141
Method
handleClick
* Override the default href click handling to log and open popup * @param {Event} event The HTML event object
extensions/amp-pinterest/0.1/save-button.js:70
Method
handleClick
* Override the default href click handling to log and open popup * @param {Event} event
extensions/amp-pinterest/0.1/follow-button.js:43
Method
handleClickOncePerEvent
(e)
extensions/amp-subscriptions/0.1/local-subscription-platform-base.js:103
Method
handleClick_
* @param {function(!AnalyticsEvent)} listener * @param {!Element} target * @param {!Event} unusedEvent * @private
extensions/amp-analytics/0.1/events.js:676
Method
handleClientEvent_
* Listens for new events from the events manager and logs appropriate events to Google Analytics. * @param {!../api/client-event-manager-api.Clien
third_party/subscriptions-project/swg.js:13883
Method
handleClientEvent_
* * @param {!../api/client-event-manager-api.ClientEvent} event
third_party/subscriptions-project/swg.js:18456
Method
handleCommand_
* @param {string} cmd * @param {?Object} unusedPayload * @return {*} * @private
extensions/amp-access/0.1/amp-access-iframe.js:266
Method
handleCommand_
* @param {string} cmd * @param {?Object} payload * @return {*} * @private
extensions/amp-access/0.1/iframe-api/iframe-api.js:75
Function
handleContainerClick
(ev)
extensions/amp-list/1.0/component.js:187
Function
handleDismiss
* Dismisses the app banner and persist dismissal. * @param {!Object} state
extensions/amp-app-banner/0.1/amp-app-banner.js:523
Function
handleDocumentKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:288
Function
handleDocumentKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:153
Method
handleEnterFullOverlay_
* @param {!HTMLIFrameElement} iframe * @param {!Object} request * @param {!Window} source * @param {string} origin * @return {boolean}
ads/inabox/inabox-messaging-host.js:204
Method
handleEntitlementsResponse_
* @param {!EntitlementsResponse} response * @private
third_party/subscriptions-project/swg.js:6022
Method
handleEvent_
* @param {!Event} e * @private
extensions/amp-access/0.1/iframe-api/messenger.js:177
Method
handleEvent_
* @param {!Event} e * @private
extensions/amp-viewer-integration/0.1/keyboard-handler.js:73
Method
handleEvents_
* @param {!Event} event * @private
extensions/amp-dailymotion/0.1/amp-dailymotion.js:155
Method
handleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook-like/0.1/amp-facebook-like.js:94
Method
handleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook-page/0.1/amp-facebook-page.js:100
Method
handleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook-comments/0.1/amp-facebook-comments.js:98
Method
handleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook/0.1/amp-facebook.js:123
Function
handleFocus
(event: FocusEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:278
Function
handleFocus
(event: FocusEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:136
Function
handleGrantStatusUpdate_
* @param {boolean} granted * @private
extensions/amp-story-subscriptions/0.1/amp-story-subscriptions.js:148
Function
handleInputKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:293
Function
handleInputKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:158
Method
handleInput_
* For inputs that are valid dates, update the date-picker value. * @param {!Event} e * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1077
Method
handleKeyDown
* Handle keypress if Enter or Space for accessibility. * @param {Event} event
extensions/amp-pinterest/0.1/pin-widget.js:50
Method
handleKeyDown_
* Handler for keydown event when the component or its children has focus. * @param {!Event} e * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:261
Method
handleLinkRequest_
* @param {AlreadySubscribedResponse} response * @private
third_party/subscriptions-project/swg.js:6411
Method
handleLinkRequest_
* @param {AlreadySubscribedResponse} response * @private
third_party/subscriptions-project/swg.js:6695
← previous
next →
15,801–15,900 of 18,703, ranked by callers