MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

MethodgetUpgradeDelayMs
* Time delay imposed by baseElement upgradeCallback. If no * upgradeCallback specified or not yet executed, delay is 0. * @return {number}
src/custom-element.js:400
MethodgetUrl
* Returns the base URL for the embedded document. * @return {string}
src/friendly-iframe-embed.js:424
MethodgetUrl
@override
src/service/ampdoc-impl.js:818
MethodgetUrl
@override
src/service/ampdoc-impl.js:906
MethodgetUrl
@override
src/service/ampdoc-impl.js:1021
MethodgetUrl
* @return {?string}
third_party/subscriptions-project/swg.js:604
MethodgetUrlPath
* @return {?string}
third_party/subscriptions-project/swg.js:1748
MethodgetUsedEntitlement
* @return {?EntitlementJwt}
third_party/subscriptions-project/swg.js:1157
MethodgetUserEmail
* @return {?string}
third_party/subscriptions-project/swg.js:989
MethodgetUserInputForUpdate
(inputEl: InputElement)
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-single.ts:12
MethodgetUserInputForUpdate
* 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
MethodgetUserInputForUpdate
* 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
MethodgetUserInputForUpdate
* 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
MethodgetUserInputForUpdate
* 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
MethodgetUserInputForUpdateWithSelection
* 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
MethodgetUserInputForUpdateWithSelection
* Returns the full selection. * @param {string} selection * @param {!HTMLInputElement} unusedInputEl * @param {string} unusedInput * @retu
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:65
MethodgetUtmCampaign
* @return {?string}
third_party/subscriptions-project/swg.js:520
MethodgetUtmMedium
* @return {?string}
third_party/subscriptions-project/swg.js:534
MethodgetUtmSource
* @return {?string}
third_party/subscriptions-project/swg.js:506
MethodgetValue
* Get the value of the masked element. * @return {string}
extensions/amp-inputmask/0.1/mask-interface.js:23
MethodgetValue
* 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
FunctiongetValueFunction
* Returns a method that resolves the numbers 0 through 6. * @return {function():!Promise<number>}
test/e2e/test-controller-promise.js:208
MethodgetVar
@override
extensions/amp-animation/0.1/web-animations.js:1145
FunctiongetVariableRequest
* @param {*} _req require('express').Request * @param {*} res require('express').Response
build-system/server/variable-substitution.js:117
FunctiongetVideoStateProperty
()
test/unit/test-url-replacements.js:812
MethodgetViewerOrigin
* 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
MethodgetViewerOrigin
@override
src/inabox/inabox-viewer.js:103
FunctiongetViewportRect
()
test/unit/inabox/test-inabox-messaging-host.js:250
MethodgetViewportSize
@override
extensions/amp-animation/0.1/web-animations.js:1181
FunctiongetVisibleDays
(e,t,o,n)
third_party/react-dates/bundle.js:1
MethodgetWidth
* Returns the width of the viewport. * @return {number}
src/service/viewport/viewport-interface.js:81
MethodgetWin
* @return {!Window}
third_party/subscriptions-project/config.js:119
MethodgetWin
@override
third_party/subscriptions-project/config.js:189
FunctiongetWindow
(elem)
third_party/inputmask/inputmask.dependencyLib.js:49
FunctiongetZindex
* Entry point for amp get-zindex * @return {Promise<void>}
build-system/tasks/get-zindex/index.js:144
Methodgetter
(root)
build-system/tasks/e2e/selenium-webdriver-controller.js:247
Functiongetter_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:4
Methodgetter_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:22
Methodgetter_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:39
Functiongetter_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:6
Methodgetter_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:34
Methodgetter_AMP_PRIVATE_
()
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:61
Functiongi
(n)
third_party/d3/d3.js:2
Functiongiraff
(global, data)
ads/vendors/giraff.js:7
FunctiongitDiffPath
* 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
Functiongithub
(global, data)
3p/github.js:26
Functiongl
()
third_party/d3/d3.js:4
Functionglomex
(global, data)
ads/vendors/glomex.js:7
FunctiongltfViewer
(global)
3p/3d-gltf/index.js:44
Functiongmossp
(global, data)
ads/vendors/gmossp.js:9
Functiongn
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
MethodgoCallback
* 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
MethodgoCallback
* 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
MethodgotoAndPause
* 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
MethodgotoAndPlay
* 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
MethodgotoAndPlayNTimes
* 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
Functiongs
(e,a,t,s)
third_party/react-dates/bundle.js:1
Functiongt
(e,t,n,r,i)
examples/amp-script/vue-todomvc.js:7
Functiongu
(n)
third_party/d3/d3.js:2
Functiongumgum
(global, data)
ads/vendors/gumgum.js:9
Functionha
(t,n)
third_party/d3-geo-projection/d3-geo-projection.js:1
Methodhalt
* 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
MethodhandleAddThisMessage
* 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
MethodhandleAnalyticsEvent_
* 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
FunctionhandleAndUnschedule
()
src/core/context/scheduler.js:13
MethodhandleBodymovinMessages_
* @param {!Event} event * @private
extensions/amp-bodymovin-animation/0.1/amp-bodymovin-animation.js:168
MethodhandleCancelFullOverlay_
* @param {!HTMLIFrameElement} iframe * @param {!Object} request * @param {!Window} source * @param {string} origin * @return {boolean}
ads/inabox/inabox-messaging-host.js:229
FunctionhandleClick
(event: MouseEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:303
FunctionhandleClick
(event: MouseEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:141
MethodhandleClick
* 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
MethodhandleClick
* Override the default href click handling to log and open popup * @param {Event} event
extensions/amp-pinterest/0.1/follow-button.js:43
MethodhandleClickOncePerEvent
(e)
extensions/amp-subscriptions/0.1/local-subscription-platform-base.js:103
MethodhandleClick_
* @param {function(!AnalyticsEvent)} listener * @param {!Element} target * @param {!Event} unusedEvent * @private
extensions/amp-analytics/0.1/events.js:676
MethodhandleClientEvent_
* 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
MethodhandleClientEvent_
* * @param {!../api/client-event-manager-api.ClientEvent} event
third_party/subscriptions-project/swg.js:18456
MethodhandleCommand_
* @param {string} cmd * @param {?Object} unusedPayload * @return {*} * @private
extensions/amp-access/0.1/amp-access-iframe.js:266
MethodhandleCommand_
* @param {string} cmd * @param {?Object} payload * @return {*} * @private
extensions/amp-access/0.1/iframe-api/iframe-api.js:75
FunctionhandleContainerClick
(ev)
extensions/amp-list/1.0/component.js:187
FunctionhandleDismiss
* Dismisses the app banner and persist dismissal. * @param {!Object} state
extensions/amp-app-banner/0.1/amp-app-banner.js:523
FunctionhandleDocumentKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:288
FunctionhandleDocumentKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:153
MethodhandleEnterFullOverlay_
* @param {!HTMLIFrameElement} iframe * @param {!Object} request * @param {!Window} source * @param {string} origin * @return {boolean}
ads/inabox/inabox-messaging-host.js:204
MethodhandleEntitlementsResponse_
* @param {!EntitlementsResponse} response * @private
third_party/subscriptions-project/swg.js:6022
MethodhandleEvent_
* @param {!Event} e * @private
extensions/amp-access/0.1/iframe-api/messenger.js:177
MethodhandleEvent_
* @param {!Event} e * @private
extensions/amp-viewer-integration/0.1/keyboard-handler.js:73
MethodhandleEvents_
* @param {!Event} event * @private
extensions/amp-dailymotion/0.1/amp-dailymotion.js:155
MethodhandleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook-like/0.1/amp-facebook-like.js:94
MethodhandleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook-page/0.1/amp-facebook-page.js:100
MethodhandleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook-comments/0.1/amp-facebook-comments.js:98
MethodhandleFacebookMessages_
* @param {!Event} event * @private
extensions/amp-facebook/0.1/amp-facebook.js:123
FunctionhandleFocus
(event: FocusEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:278
FunctionhandleFocus
(event: FocusEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:136
FunctionhandleGrantStatusUpdate_
* @param {boolean} granted * @private
extensions/amp-story-subscriptions/0.1/amp-story-subscriptions.js:148
FunctionhandleInputKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/date-range-picker.tsx:293
FunctionhandleInputKeydown
(event: KeyboardEvent)
extensions/amp-date-picker/1.0/component/single-date-picker.tsx:158
MethodhandleInput_
* 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
MethodhandleKeyDown
* Handle keypress if Enter or Space for accessibility. * @param {Event} event
extensions/amp-pinterest/0.1/pin-widget.js:50
MethodhandleKeyDown_
* 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
MethodhandleLinkRequest_
* @param {AlreadySubscribedResponse} response * @private
third_party/subscriptions-project/swg.js:6411
MethodhandleLinkRequest_
* @param {AlreadySubscribedResponse} response * @private
third_party/subscriptions-project/swg.js:6695
← previousnext →15,801–15,900 of 18,703, ranked by callers