MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersFunctionhasTrailingUnderscore
* @param {string} * @return {boolean}
build-system/eslint-rules/private-prop-names.js:26
↓ 2 callersMethodhasVideoWithCaptions_
* Checks if the page has any videos with captions. * @return {!Promise<boolean>} * @private
extensions/amp-story/1.0/amp-story-page.js:1669
↓ 2 callersFunctionhash
* Returns a hexadecimal 128 character string that is the * SHA-512 hash of the passed string. * @param {string} stringToHash * @return {!Promise<st
third_party/subscriptions-project/swg.js:3345
↓ 2 callersFunctionhe
(n)
third_party/d3/d3.js:2
↓ 2 callersFunctionhelpersMaker
()
extensions/amp-link-rewriter/0.1/test/test-helpers.js:3
↓ 2 callersMethodhideAllValidations
* Hides all validation messages.
extensions/amp-form/0.1/form-validators.js:297
↓ 2 callersMethodhideBlurryPlaceholder_
* Fades out a blurry placeholder if one currently exists. * @return {boolean} if there was a blurred image placeholder that was hidden.
extensions/amp-video/0.1/amp-video.js:1013
↓ 2 callersFunctionhideControls
()
ads/google/ima/ima-video.js:1358
↓ 2 callersMethodhideInternal_
@private
extensions/amp-story/1.0/amp-story-hint.js:216
↓ 2 callersMethodhideOnTimeout
@param {number=} timeout
extensions/amp-video-docking/0.1/controls.js:373
↓ 2 callersMethodhideSpacersAndSlides_
* Hides any spacers or slides that are not currently necessary. Enough * spacers are shown to allow 1 revolution of scrolling (not including the
extensions/amp-base-carousel/0.1/carousel.js:1072
↓ 2 callersMethodhideSubscriptionsDialog_
* @private
extensions/amp-story/1.0/amp-story.js:1700
↓ 2 callersMethodhideValidationFor
* @param {!Element} input
extensions/amp-form/0.1/form-validators.js:378
↓ 2 callersMethodhide_
* Hide current prompt UI
extensions/amp-consent/0.1/amp-consent.js:428
↓ 2 callersMethodhintControls
* Shows the controls and then fades them away.
extensions/amp-carousel/0.1/carousel-controls.js:102
↓ 2 callersMethodhistoryReplaceState_
* @param {*=} state * @param {(string|undefined)=} title * @param {(string|undefined)=} url * @private
src/service/history-impl.js:772
↓ 2 callersFunctionhr
(e,t,n)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctionhr
()
third_party/d3/d3.js:2
↓ 2 callersFunctionhypenCaseToCamelCase
(hyphenCase)
testing/helpers/index.js:135
↓ 2 callersMethodidleRenderOutsideViewport
* Allows for rendering outside of the constraint set by renderOutsideViewport * so long task scheduler is idle. Integer values less than those ret
src/base-element.js:527
↓ 2 callersMethodidleRenderOutsideViewport
* Whether this is allowed to render when scheduler is idle but not in * viewport. * @return {boolean}
src/service/resource.js:813
↓ 2 callersFunctionif
(this.touchEventState_.isSwipeY === false)
extensions/amp-story-page-attachment/0.1/amp-story-draggable-drawer.js:345
↓ 2 callersMethodifModuleBuild
()
testing/test-config.js:84
↓ 2 callersMethodiframeLoaded
* Called whenever the iframe is loaded.
third_party/subscriptions-project/swg.js:15554
↓ 2 callersFunctioniframeMessagingClientFor
(win)
src/inabox/inabox-iframe-messaging-client.js:15
↓ 2 callersMethodiframeSource_
* Build Iframe source * @return {string} * @private
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:190
↓ 2 callersFunctionimmediatelyLoadingHref
(opt_content)
test/unit/test-font-stylesheet-timeout.js:46
↓ 2 callersFunctionimportOption
(option, optionData)
third_party/inputmask/inputmask.js:118
↓ 2 callersMethodimportPkcsKey
* Converts an RSA JSON Web Key object to a browser-native cryptographic key. * As a precondition, `isPkcsAvailable()` must be `true`. * * @pa
src/service/crypto-impl.js:171
↓ 2 callersMethodinLastWindow_
* Checks if a given index is in the last window of items. For example, if * showing two slides at a time with the slides [a, b, c, d], both slide
extensions/amp-base-carousel/0.1/carousel.js:1353
↓ 2 callersFunctionincludedServices
(win)
src/render-delaying-services.js:111
↓ 2 callersFunctionindexOfExpectedMessage
(message)
testing/console-logging-setup.js:49
↓ 2 callersMethodinflateAndSendRtc_
* @param {string} url * @param {!{[key: string]: !../../../src/service/variable-source.AsyncResolverDef}} macros * @param {string} errorReportin
src/service/real-time-config/real-time-config-impl.js:396
↓ 2 callersMethodinit
* @param {!{[key: string]: ?string}|!Promise<!{[key: string]: ?string}>} variants * @package * @restricted
extensions/amp-experiment/0.1/variant.js:33
↓ 2 callersMethodinit
* Initiate the handshake. If handshake confirmed, start listening for * messages. The service is disabled if the viewerorigin parameter is * abs
extensions/amp-viewer-integration/0.1/amp-viewer-integration.js:67
↓ 2 callersMethodinit
* @param {!./dialog.Dialog} unusedDialog * @return {!Promise} * @abstract
third_party/subscriptions-project/swg.js:2842
↓ 2 callersMethodinit3pResponseListener_
* amp-analytics will create an iframe for vendors in * extensions/amp-analytics/0.1/vendors/* who have transport/iframe defined. * This is limit
extensions/amp-ad-exit/0.1/amp-ad-exit.js:499
↓ 2 callersFunctioninitActionMap
* This would usually be a private method on BaseElement class, but we cannot * use privates here. So, it's manually devirtualized into a regular func
src/base-element.js:1059
↓ 2 callersMethodinitLinkRewriter_
* Initialize and register a Narrativ LinkRewriter instance * @return {!../../amp-skimlinks/0.1/link-rewriter/link-rewriter.LinkRewriter} * @priv
extensions/amp-smartlinks/0.1/amp-smartlinks.js:168
↓ 2 callersMethodinitRenderer_
@private
extensions/amp-story-360/0.1/amp-story-360.js:723
↓ 2 callersMethodinitSkimlinksLinkRewriter_
* Initialise Skimlinks LinkRewriter. * @return {!./link-rewriter/link-rewriter.LinkRewriter} * @private
extensions/amp-skimlinks/0.1/amp-skimlinks.js:144
↓ 2 callersMethodinit_
* @param {!Array<!Element>=} opt_elements * @private
extensions/amp-selector/0.1/amp-selector.js:278
↓ 2 callersMethodinitialize
()
test/unit/builtins/test-amp-pixel.js:214
↓ 2 callersMethodinitializeAndAddStory_
* Initializes story with properties used in this class and adds it to the * stories array. * @param {!StoryDef} story * @private
src/amp-story-player/amp-story-player-impl.js:308
↓ 2 callersFunctioninitializeColorMask
(input)
third_party/inputmask/inputmask.js:2365
↓ 2 callersFunctioninitializeListeners_
* @private
extensions/amp-story-subscriptions/0.1/amp-story-subscriptions.js:158
↓ 2 callersMethodinitializeListeners_
* @private
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:135
↓ 2 callersMethodinitializeLoadMoreButton_
* @private
extensions/amp-list/0.1/service/load-more-service.js:40
↓ 2 callersMethodinitializeLoadMoreFailedElement_
* @private
extensions/amp-list/0.1/service/load-more-service.js:124
↓ 2 callersMethodinitializeLoadMoreLoadingElement_
* @private
extensions/amp-list/0.1/service/load-more-service.js:70
↓ 2 callersMethodinitializePages_
* @return {!Promise} * @private
extensions/amp-story/1.0/amp-story.js:1316
↓ 2 callersMethodinitializePaymentsClient_
* Initializes Payments client.
third_party/subscriptions-project/swg.js:17989
↓ 2 callersMethodinitialize_
* Lazily initialize the default replacements. * @private
src/service/variable-source.js:181
↓ 2 callersMethodinitialize_
* Create the actual image element and set up instance variables. * Called lazily in the first `#layoutCallback`. * @return {!Image}
src/builtins/amp-img/amp-img.js:182
↓ 2 callersMethodinitiateHandshakeWithDocument
* Performs a handshake and initializes messaging. * * Requires the `handshakepoll` viewer capability and the `origin` viewer parameter to be spe
extensions/amp-viewer-integration/0.1/messaging/messaging.js:104
↓ 2 callersFunctioninjectStyleSheet
* Injects the provided styles in the HEAD section of the document. * @param {!../model/doc.Doc} doc The document object. * @param {string} styleText
third_party/subscriptions-project/swg.js:3741
↓ 2 callersFunctioninsertAfterOrAtStart
(root, element, after = null)
src/core/dom/index.js:132
↓ 2 callersFunctioninsertExtensionBundlesConfig
* Inserts an extension entry into bundles.config.extensions.json * * @param {BundleDef} bundle * @param {string=} destination * @return {Promise<v
build-system/tasks/make-extension/index.js:141
↓ 2 callersMethodinsertInListBasedOnPriority_
* Mutate linkRewriterList to insert a new LinkRewriter in the list * while keeping the list in order of priority as defined by the * idPriorityL
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter-manager.js:230
↓ 2 callersMethodinsertLoadIframe_
* @param {string} id * @return {!Promise<HTMLIFrameElement>} * @private
extensions/amp-imgur/0.1/amp-imgur.js:97
↓ 2 callersFunctioninstall
(win)
src/polyfills/document-contains.js:21
↓ 2 callersMethodinstall
* Install the inputmask service and controllers.
extensions/amp-inputmask/0.1/amp-inputmask.js:31
↓ 2 callersFunctioninstallActionServiceForDoc
(ampdoc)
src/service/action-impl.js:1408
↓ 2 callersFunctioninstallAmpdocServicesForInabox
(ampdoc)
src/inabox/inabox-services.js:26
↓ 2 callersFunctioninstallAmpdocServicesInternal
* @param {!./ampdoc-impl.AmpDoc} ampdoc * @param {boolean} isEmbedded
src/service/core-services.js:92
↓ 2 callersFunctioninstallBatchedXhrService
(window)
src/service/batched-xhr-impl.js:92
↓ 2 callersFunctioninstallCidService
(ampdoc)
src/service/cid-impl.js:729
↓ 2 callersMethodinstallEventHandlers_
* @private
extensions/amp-video/0.1/amp-video.js:693
↓ 2 callersMethodinstallExtensionsForDoc_
* @param {!Document} doc
extensions/amp-live-list/0.1/live-list-manager.js:299
↓ 2 callersFunctioninstallForChildWin
(parentWin, childWin)
src/polyfills/resize-observer.js:24
↓ 2 callersFunctioninstallFormProxy
(form)
extensions/amp-form/0.1/form-proxy.js:34
↓ 2 callersMethodinstallFriendlyIframeEmbed_
* Convert the iframe to FIE impl and append to DOM. * @param {string} html * @param {!Array<{extensionId: string, extensionVersion: string}>} ex
extensions/amp-a4a/0.1/amp-a4a.js:1980
↓ 2 callersFunctioninstallGlobalNavigationHandlerForDoc
(ampdoc)
src/service/navigation.js:53
↓ 2 callersFunctioninstallIframeMessagingClient
(win)
src/inabox/inabox-iframe-messaging-client.js:24
↓ 2 callersFunctioninstallInaboxResourcesServiceForDoc
(ampdoc)
src/inabox/inabox-resources.js:246
↓ 2 callersFunctioninstallInputService
(win)
src/input.js:279
↓ 2 callersFunctioninstallOwnersServiceForDoc
(ampdoc)
src/service/owners-impl.js:162
↓ 2 callersFunctioninstallPreconnectService
(window)
src/preconnect.js:323
↓ 2 callersFunctioninstallRuntimeStylesPromise
* @param {!Window} win
testing/describes.js:921
↓ 2 callersFunctioninstallRuntimeStylesTo
(head)
test/unit/test-extensions.js:38
↓ 2 callersFunctioninstallStandardActionsForDoc
(ampdoc)
src/service/standard-actions-impl.js:617
↓ 2 callersMethodinstallSubmissionHandlers_
* Install submission handler on all forms in the document. * @param {NodeList} forms * @private
extensions/amp-form/0.1/amp-form.js:1626
↓ 2 callersFunctioninstallUrlForDoc
(ampdoc)
src/service/url-impl.js:177
↓ 2 callersFunctioninstallWebAnimationsIfNecessary
(ampdoc)
extensions/amp-animation/0.1/install-polyfill.js:12
↓ 2 callersMethodinstall_
* @param {!Element} element * @param {!FxType} type * @private
extensions/amp-fx-collection/0.1/amp-fx-collection.js:82
↓ 2 callersFunctioninstrumentIframeWindow
* Installs a mutation observer in a window to look for iframes. * @param {!Element} node * @param {!Window} parent * @param {!Window} win
3p/environment.js:133
↓ 2 callersMethodinteractionPrev
* Performs the prev action (e.g. for a click from the prev button). For a * carousel, this moves one carousel viewport backwards. For slides, this
extensions/amp-carousel/0.2/amp-carousel.js:306
↓ 2 callersFunctioninteractiveElementsSelectors
()
extensions/amp-story/1.0/amp-story-embedded-component.js:100
↓ 2 callersFunctionis
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctionis
(t,e)
third_party/react-dates/bundle.js:1
↓ 2 callersMethodisActive
* Returns true if the service has already been initialized. * * @return {*} TODO(#23582): Specify return type
extensions/amp-next-page/0.1/next-page-service.js:110
↓ 2 callersMethodisActiveOn
* @param {!Element} element * @return {boolean}
extensions/amp-form/0.1/validation-bubble.js:47
↓ 2 callersMethodisAd_
* Whether the element is an Ad. Note that this does not cover amp-embed * currently. * @private * @return {boolean}
extensions/amp-loader/0.1/amp-loader.js:321
↓ 2 callersFunctionisAmpFormatType
* Checks that the document is of an AMP format type. * @param {Array<string>} formats * @param {Document} doc * @return {boolean}
src/core/document/format.js:7
↓ 2 callersFunctionisAmpStateSrc
(src)
extensions/amp-render/1.0/shared/amp-fetch-utils.js:17
↓ 2 callersFunctionisAmphtml
(doc)
src/core/document/format.js:25
↓ 2 callersFunctionisAnimationPaused
(iconElement)
test/integration/test-video-players-helper.js:457
↓ 2 callersFunctionisAssignment
* @param {*} node * @param {string} name * @return {{ * CallExpression: {Function(*): undefined}, * NewExpression: {Function(*): undefin
build-system/eslint-rules/prefer-deferred-promise.js:12
↓ 2 callersMethodisAttached
* @return {boolean}
third_party/subscriptions-project/swg.js:10405
↓ 2 callersMethodisAutoAdsLayoutCallbackExperimentOn_
* @return {boolean} * @private
extensions/amp-auto-ads/0.1/amp-auto-ads.js:98
← previousnext →6,101–6,200 of 18,703, ranked by callers