MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersMethodgetValue
@override
extensions/amp-inputmask/0.1/mask-impl.js:126
↓ 2 callersFunctiongetValueFromString
* Parses a string in the form "12px" (number of pixels) or "0.3vp" * (number of viewports) into a number representing a number of pixels. * @param {
extensions/amp-auto-ads/0.1/ad-tracker.js:235
↓ 2 callersMethodgetVarSubsFields_
* Get form fields that require variable substitutions * @return {!IArrayLike<!HTMLInputElement>} * @private
extensions/amp-form/0.1/amp-form.js:686
↓ 2 callersMethodgetVariantsValue_
* Resolves the value via amp-experiment's variants service. * @param {function(!{[key: string]: string}):(?string)} getter * @param {string} exp
src/service/url-replacements-impl.js:763
↓ 2 callersFunctiongetVendorJsPropertyName
* Returns the possibly prefixed JavaScript property name of a style property * (ex. WebkitTransitionDuration) given a camelCase'd version of the prop
third_party/subscriptions-project/swg.js:3550
↓ 2 callersFunctiongetVendorJsPropertyName
* Returns the possibly prefixed JavaScript property name of a style property * (ex. WebkitTransitionDuration) given a camelCase'd version of the prop
third_party/subscriptions-project/swg-gaa.js:1081
↓ 2 callersFunctiongetVersion
* Generates the AMP version number. * * Version numbers are determined using the following algorithm: * - Count the number (<X>) of cherry-picked c
build-system/compile/internal-version.js:66
↓ 2 callersFunctiongetVerticalScrollbarWidth
(win)
src/core/dom/index.js:491
↓ 2 callersMethodgetVideoId_
* @return {?string} * @private
extensions/amp-youtube/0.1/amp-youtube.js:338
↓ 2 callersMethodgetVideoIframeSrc_
* @return {string} * @private
extensions/amp-mowplayer/0.1/amp-mowplayer.js:113
↓ 2 callersMethodgetVideoIframeSrc_
@return {string}
extensions/amp-hulu/0.1/amp-hulu.js:75
↓ 2 callersMethodgetVideoIframeSrc_
* @return {string} * @private
extensions/amp-youtube/0.1/amp-youtube.js:167
↓ 2 callersMethodgetVideoIframeSrc_
@return {string}
extensions/amp-izlesene/0.1/amp-izlesene.js:64
↓ 2 callersFunctiongetViewerUrl
* @param {string} url * @param {{isEmail: boolean}} opts * @return {string}
build-system/tasks/e2e/amp-driver.js:125
↓ 2 callersMethodgetViewportParams_
@private
extensions/amp-animation/0.1/web-animations.js:1186
↓ 2 callersMethodgetViewportRect
* A method to get viewport rect * @return {LayoutRectDef}
ads/inabox/position-observer.js:93
↓ 2 callersMethodgetViewportsAway_
* @return {number} viewports left to reach the end of the document * @private
extensions/amp-next-page/1.0/service.js:757
↓ 2 callersFunctiongetVimeoIframeSrc
(videoid, autoplay, doNotTrack)
src/bento/apis/vimeo-api.js:38
↓ 2 callersFunctiongetVisibilityChangeEvent
* @param {Document} doc * @return {?string}
src/core/document/visibility.js:75
↓ 2 callersFunctiongetWin
* @param {{current: (null|{root: Element})}} ref * @return {Window|undefined}
src/bento/components/bento-inline-gallery/1.0/thumbnails.js:97
↓ 2 callersMethodgetWindowRect
* Get width/height of the browser area. * @return {!Promise<[number, number]>}
build-system/tasks/e2e/selenium-webdriver-controller.js:456
↓ 2 callersMethodgetXhrUrl_
* Gets and validates an attribute for form request URLs. * @param {string} attribute * @return {?string} * @private
extensions/amp-form/0.1/amp-form.js:241
↓ 2 callersMethodgetXssiPrefix
* @return {string|undefined} the value of the form's xssi-prefix attribute.
extensions/amp-form/0.1/amp-form.js:281
↓ 2 callersFunctiongetZindexChainsInJs
* @param {string|Array<string>} glob * @param {string=} cwd * @return {!Promise<Object>}
build-system/tasks/get-zindex/index.js:119
↓ 2 callersFunctiongetZindexSelectors
* Extract z-index selectors from all files matching the given glob starting at * the given working directory * @param {string|Array<string>} glob *
build-system/tasks/get-zindex/index.js:98
↓ 2 callersFunctiongi
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctiongitBranchCreationPoint
* Returns the commit at which the current PR branch was forked off of the main * branch. During CI, there is an additional merge commit, so we must p
build-system/common/git.js:23
↓ 2 callersFunctiongn
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctiongn
(n,t,e)
third_party/d3/d3.js:1
↓ 2 callersMethodgoToSlide
* @param {number} index
src/bento/components/bento-base-carousel/1.0/component.type.js:92
↓ 2 callersMethodgoToSlide
* Parses given value as integer and shows the slide with that index value * when element has been laid out. * @param {*} value * @param {Acti
extensions/amp-carousel/0.1/slidescroll.js:755
↓ 2 callersFunctiongoogleBlockParameters
(a4a, opt_experimentIds)
ads/google/a4a/utils.js:182
↓ 2 callersFunctiongooglePageParameters
(a4a, startTime)
ads/google/a4a/utils.js:270
↓ 2 callersFunctiongraphqlQueryGithub
* @param {string} token * @param {string} query * @return {Promise<Object>}
build-system/common/update-session-issues/index.js:150
↓ 2 callersFunctiongroupQuantifier
(matches)
third_party/inputmask/inputmask.js:526
↓ 2 callersFunctiongroupify
(matches)
third_party/inputmask/inputmask.js:412
↓ 2 callersFunctiongt
(n,t)
third_party/d3/d3.js:1
↓ 2 callersFunctiongt
(e,a,t,s)
third_party/react-dates/bundle.js:1
↓ 2 callersFunctionh
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 2 callersFunctionhandleActivation
* Opens a new window with the fully processed endpoint * @param {?string} finalEndpoint * @param {string} target
src/bento/components/bento-social-share/1.0/component.js:200
↓ 2 callersMethodhandleActivityEvent_
* @param {ActivityEventType} type * @private
extensions/amp-analytics/0.1/activity-impl.js:287
↓ 2 callersMethodhandleActivity_
@private
extensions/amp-analytics/0.1/activity-impl.js:262
↓ 2 callersFunctionhandleAutoscroll
(ampdoc, container)
extensions/amp-sidebar/0.2/autoscroll.js:18
↓ 2 callersFunctionhandleAutoscroll
(ampdoc, container)
extensions/amp-sidebar/0.1/autoscroll.js:18
↓ 2 callersMethodhandleBridMessage_
* @param {!Event} event * @private
extensions/amp-brid-player/0.1/amp-brid-player.js:335
↓ 2 callersFunctionhandleBundleError
* Handles a bundling error * @param {Error} err * @param {boolean} continueOnError * @param {string} destFilename
build-system/tasks/helpers.js:211
↓ 2 callersMethodhandleCancellations
* Handles cancellations (ex: user clicks close button on dialog). * @param {!./view.View} view * @return {!Promise}
third_party/subscriptions-project/swg.js:11447
↓ 2 callersMethodhandleClearAction_
* Handles clearing the form through action service invocations. * @private
extensions/amp-form/0.1/amp-form.js:517
↓ 2 callersMethodhandleClick_
* Handle clicks inside and outside of the date picker to detect when to * open and close the date picker. * @param {!Event} e * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:960
↓ 2 callersMethodhandleDelightMessage_
* @param {!Event} event * @private
extensions/amp-delight-player/0.1/amp-delight-player.js:273
↓ 2 callersMethodhandleDoubleTap
* @param {!../../../src/gesture-recognizers.DoubletapDef} data * @return {!Promise} * @visibleForTesting
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:576
↓ 2 callersMethodhandleFailure_
* @param {FailureType} failureType * @param {*=} error * @private
extensions/amp-a4a/0.1/amp-ad-network-base.js:193
↓ 2 callersMethodhandleFallback_
* Handles case where creative cannot or has chosen not to be rendered * safely in FIE. Returning null forces x-domain render in * attemptToRende
extensions/amp-a4a/0.1/amp-a4a.js:1046
↓ 2 callersMethodhandleFluidMessage_
* Handles Fluid-related messages dispatched from SafeFrame. * @param {!JsonObject} payload * @private
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:724
↓ 2 callersMethodhandleFocus_
* Handles the `focus` action where given an element, we give it focus * @param {!./action-impl.ActionInvocation} invocation * @return {?Promise}
src/service/standard-actions-impl.js:433
↓ 2 callersMethodhandleGrantState_
* Handles grant status updates. * @param {{ * granted: boolean, * shouldActivatePlatform: boolean, * }} params * @private
extensions/amp-subscriptions/0.1/amp-subscriptions.js:670
↓ 2 callersMethodhandleHeadingClick_
* Handler for item heading's on-click event to expand/collapse its content. * @param {!Event} event click event. * @private
extensions/amp-mega-menu/0.1/amp-mega-menu.js:241
↓ 2 callersFunctionhandleInitialOverflowElements
(textareas)
extensions/amp-form/0.1/amp-form-textarea.js:140
↓ 2 callersMethodhandleIntermediateIframeMessage_
* @param {string} origin * @param {Event} event * @private
extensions/amp-onetap-google/0.1/amp-onetap-google.js:105
↓ 2 callersFunctionhandleInvalidTaskError
* Prints an error if the task file and / or function are invalid, and exits. * @param {string} taskSourceFileName * @param {string=} taskFuncName
build-system/task-runner/amp-task-runner.js:116
↓ 2 callersMethodhandleKeyPress_
* Handle key presses on the element. * @param {!Event} event * @private
extensions/amp-social-share/0.1/amp-social-share.js:166
↓ 2 callersMethodhandleMowMessage_
* @param {!Event} event * @private
extensions/amp-mowplayer/0.1/amp-mowplayer.js:205
↓ 2 callersMethodhandleNavigateTo_
* Handles the `navigateTo` action. * @param {!./action-impl.ActionInvocation} invocation * @return {!Promise} * @private Visible to tests onl
src/service/standard-actions-impl.js:305
↓ 2 callersMethodhandleNonXhrGet_
* Triggers Submit Analytics, * and Form Element submit if passed by param. * shouldSubmitFormElement should ONLY be true * If the submit even
extensions/amp-form/0.1/amp-form.js:1085
↓ 2 callersMethodhandleOneTimeRequest_
* @param {string} requestType * @param {function(*)} getter * @private
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:336
↓ 2 callersMethodhandleOptionSelection_
* Triggers changes to component state on response interactive. * * @param {number} optionIndex * @param {?Element} optionEl * @private
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:654
↓ 2 callersMethodhandlePlayerMessage_
* @param {!Event} event * @private
extensions/amp-powr-player/0.1/amp-powr-player.js:144
↓ 2 callersMethodhandlePlayerMessage_
* @param {!Event} event * @private
extensions/amp-brightcove/0.1/amp-brightcove.js:202
↓ 2 callersFunctionhandlePositionResponsive
(e, element)
ads/vendors/ssp.js:79
↓ 2 callersMethodhandlePresubmitError_
* Handle form error for presubmit async calls. * @param {*} error * @param {!ActionTrust_Enum} trust * @return {Promise} * @private
extensions/amp-form/0.1/amp-form.js:673
↓ 2 callersMethodhandlePurchase_
* @param {!Event} ev * @param {string} purchaseUrl * @param {string} purchaseType * @private
extensions/amp-access-laterpay/0.2/laterpay-impl.js:597
↓ 2 callersMethodhandlePurchase_
* @param {!Event} ev * @param {string} purchaseUrl * @param {string} purchaseType * @private
extensions/amp-access-laterpay/0.1/laterpay-impl.js:536
↓ 2 callersMethodhandlePurchase_
* Open login dialog when click on unlock button * @param {!Event} ev * @private
extensions/amp-access-fewcents/0.1/fewcents-impl.js:495
↓ 2 callersMethodhandleRecords_
* Handle all the Mutation Observer's Mutation Records. * All added custom elements will be upgraded (if not already) and call * connectedCallbac
src/polyfills/custom-elements.js:505
↓ 2 callersFunctionhandleRemove
(input, k, pos, strict, fromIsValid)
third_party/inputmask/inputmask.js:2319
↓ 2 callersMethodhandleReprompt_
* Handle the prompt action to re-prompt. * Accpet arg expireCache=true * @param {!../../../src/service/action-impl.ActionInvocation} invocation
extensions/amp-consent/0.1/amp-consent.js:565
↓ 2 callersMethodhandleRequest_
* I'm handling an incoming request from Bob. I'll either respond normally * (ex: "got it Bob!") or with an error (ex: "I didn't get a word of what
extensions/amp-viewer-integration/0.1/messaging/messaging.js:403
↓ 2 callersMethodhandleResize_
* Updates the element's dimensions to accommodate the iframe's * requested dimensions. Notifies the window that request the resize * of success
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:449
↓ 2 callersMethodhandleResize_
* Attempts to resize the ad, if the returned size is smaller than the primary * dimensions. * @param {number} newWidth * @param {number} newH
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1520
↓ 2 callersMethodhandleSetDateFromString_
* Set the date via a string. * @param {string} date * @return {*} TODO(#23582): Specify return type
extensions/amp-date-picker/0.1/amp-date-picker.js:678
↓ 2 callersMethodhandleSetDate_
* Set the date via a moment object. * @param {moment} date
extensions/amp-date-picker/0.1/amp-date-picker.js:687
↓ 2 callersMethodhandleSetDatesFromString_
* * @param {?string} startDate * @param {?string} endDate
extensions/amp-date-picker/0.1/amp-date-picker.js:699
↓ 2 callersMethodhandleShowSync_
* @param {!Element} target * @param {?Element} autofocusElOrNull * @private Visible to tests only.
src/service/standard-actions-impl.js:524
↓ 2 callersMethodhandleSizeChange
* Resizes the safeframe, and potentially the containing amp-ad element. * Then sends a response message to the Safeframe creative. * * For ex
extensions/amp-ad-network-doubleclick-impl/0.1/safeframe-host.js:591
↓ 2 callersMethodhandleSubmenuOpenClick_
* Handles click on the given element to open a submenu. * @param {!Element} openElement * @private
extensions/amp-nested-menu/0.1/amp-nested-menu.js:155
↓ 2 callersMethodhandleSubmitSuccess_
* Transition the form to the submit success state. * @param {!JsonObject} result * @param {!ActionTrust_Enum} incomingTrust Trust of the origina
extensions/amp-form/0.1/amp-form.js:1002
↓ 2 callersMethodhandleYoutubeMessage_
* @param {!Event} event * @private
extensions/amp-youtube/0.1/amp-youtube.js:388
↓ 2 callersFunctionhasAttributeValues
* Match attributes of the anchor if have been defined in config * compare every attribute defined in config as regex with its * corresponding value
extensions/amp-link-rewriter/0.1/scope.js:67
↓ 2 callersMethodhasCrossDomainIframe
* Returns whether this type of cross-domain frame is already known * @param {string} type The type attribute of the amp-analytics tag * @return
extensions/amp-analytics/0.1/iframe-transport.js:252
↓ 2 callersMethodhasCurrentFocus_
* Verify if focus is still inside the lightbox. * @return {boolean} * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:613
↓ 2 callersMethodhasMutateWork_
* Returns `true` when there's mutate work currently batched. * @return {boolean} * @private
src/service/resources-impl.js:704
↓ 2 callersMethodhasNext_
* @return {boolean} * @private
extensions/amp-carousel/0.1/scrollable-carousel.js:399
↓ 2 callersMethodhasPendingMessages
* @return {boolean} * @visibleForTesting
src/web-worker/amp-worker.js:233
↓ 2 callersMethodhasPrev_
* @return {boolean} * @private
extensions/amp-carousel/0.1/scrollable-carousel.js:391
↓ 2 callersFunctionhasPrivateAnnotation
* @param {!Array<!Node>|undefined} commentLines * @return {boolean}
build-system/eslint-rules/private-prop-names.js:13
↓ 2 callersFunctionhasProperty
* Null safe way of checking whether or not an object, * including its prototype, has a given property * @param obj * @param propName
src/bento/third_party/mustache/mustache.js:38
↓ 2 callersFunctionhasProperty
* Null safe way of checking whether or not an object, * including its prototype, has a given property
third_party/mustache/mustache.js:35
↓ 2 callersMethodhasRequiredConsents_
* Determines if we should show UI based on our stored consent values. * @return {!Promise<boolean>}
extensions/amp-consent/0.1/amp-consent.js:859
↓ 2 callersFunctionhasStorageConsent
(consentTuple)
extensions/amp-a4a/0.1/amp-a4a.js:2617
↓ 2 callersFunctionhasStoredValue
(info)
extensions/amp-consent/0.1/consent-info.js:375
← previousnext →6,001–6,100 of 18,703, ranked by callers