MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctionbuildContainerTemplate
(element)
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools.js:37
↓ 1 callersMethodbuildControls_
* Builds the overlay controls including the close, gallery toggle and next/ * prev slide buttons. * @return {!Element} The container for the con
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:457
↓ 1 callersMethodbuildCopySuccessfulToast_
* @param {string} url * @param {string} localizedString * @return {!Element}
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:404
↓ 1 callersMethodbuildDebugContent_
* @private * @return {!Promise}
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-debug.js:145
↓ 1 callersMethodbuildDebugTitle_
* * @private * @param {number} errorCount * @return {!Element}
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-debug.js:162
↓ 1 callersMethodbuildDefaultRecBox_
* @return {!Element} * @private
extensions/amp-next-page/1.0/service.js:1039
↓ 1 callersMethodbuildDefaultSeparator_
* @return {!Element} * @private
extensions/amp-next-page/1.0/service.js:976
↓ 1 callersMethodbuildDescriptionBox_
* Builds the description box, containing the current slide's caption, if * any. * @return {!Element} The description box element. * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:436
↓ 1 callersMethodbuildDeviceLayout_
* Creates a device layout for preview * @private * @param {!DeviceInfo} device * @return {!Element}
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:482
↓ 1 callersFunctionbuildDeviceTemplate
(element)
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:35
↓ 1 callersMethodbuildDialog_
* Quick share template, used as a fallback if native sharing is not supported. * @param {!Element} child * @return {!Element}
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:198
↓ 1 callersFunctionbuildDisclaimerLayout
* Creates a disclaimer icon and dialog. * @param {!Element} element * @return {!Element}
extensions/amp-story-interactive/0.1/interactive-disclaimer.js:25
↓ 1 callersFunctionbuildErrorMessage_
* @param {string|undefined} message * @param {*|undefined} error * @return {string}
src/error-reporting.js:463
↓ 1 callersFunctionbuildExperiments
* Build AMP experiments.js. * @return {Promise<void>}
build-system/tasks/dist.js:172
↓ 1 callersMethodbuildExpr_
* @param {!Array<string>} keys * @param {!{[key: string]: boolean}=} opt_allowlist Optional allowlist of names * that can be substituted. *
src/service/variable-source.js:280
↓ 1 callersFunctionbuildExtensionCss
* @param {string} extDir * @param {string} name * @param {string} version * @return {!Promise}
build-system/tasks/extension-helpers.js:462
↓ 1 callersFunctionbuildExtensionJs
* Build the JavaScript for the extension specified * * @param {string} dir Path to the extension's directory * @param {string} name Name of the ext
build-system/tasks/extension-helpers.js:549
↓ 1 callersMethodbuildFallbackMenu_
@private
extensions/amp-story/1.0/amp-story-share.js:102
↓ 1 callersFunctionbuildGtagConfig
(gtagId)
extensions/amp-story-auto-analytics/0.1/auto-analytics-configs.js:21
↓ 1 callersFunctionbuildHelpButtonTemplate
(element)
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:105
↓ 1 callersMethodbuildHelpButton_
* Builds the add device button * @private * @return {!Element}
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:470
↓ 1 callersFunctionbuildHelpDialogTemplate
(element)
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:124
↓ 1 callersMethodbuildHint_
* Build hint * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:251
↓ 1 callersMethodbuildIframe_
* @param {string} src * @return {!Promise} * @private
extensions/amp-vimeo/0.1/amp-vimeo.js:111
↓ 1 callersMethodbuildImageWrappers_
* Build images * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:202
↓ 1 callersFunctionbuildInteractiveDisclaimer
(interactive, attrs = {})
extensions/amp-story-interactive/0.1/interactive-disclaimer.js:63
↓ 1 callersFunctionbuildInteractiveDisclaimerIcon
(interactive)
extensions/amp-story-interactive/0.1/interactive-disclaimer.js:108
↓ 1 callersFunctionbuildKeyframes
* @param {!CSSKeyframesRule} keyframesRule * @return {!../web-animation-types.WebKeyframesDef}
extensions/amp-animation/0.1/parsers/keyframes-extractor.js:121
↓ 1 callersMethodbuildLayout_
* @private
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools.js:140
↓ 1 callersMethodbuildLightbox_
* Lazily builds the image-lightbox DOM on the first open. * @private
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:789
↓ 1 callersMethodbuildLoadingIndicator_
* Populates the loading indivicator. The populated element * can be added in any view, when required. * @private
third_party/subscriptions-project/swg.js:10546
↓ 1 callersFunctionbuildLogMessageTemplate
(element)
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-debug.js:56
↓ 1 callersFunctionbuildLoginDone
* Build amp-login-done-${version}.js file. * * @param {string} version * @return {!Promise}
build-system/tasks/dist.js:192
↓ 1 callersFunctionbuildMessageSprintf
* Builds a message template using printf syntax from a starting node. * @param {!Node} node * @param {!Array<!Node>} interpolationArgs * @ret
build-system/babel-plugins/babel-plugin-transform-log-methods/index.js:84
↓ 1 callersFunctionbuildOptionTemplate
(option)
extensions/amp-story-interactive/0.1/amp-story-interactive-img-quiz.js:31
↓ 1 callersFunctionbuildOptionTemplate
(option)
extensions/amp-story-interactive/0.1/amp-story-interactive-img-poll.js:19
↓ 1 callersFunctionbuildOptionTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-binary-poll.js:52
↓ 1 callersFunctionbuildOptionTemplate
(option)
extensions/amp-story-interactive/0.1/amp-story-interactive-poll.js:36
↓ 1 callersFunctionbuildOptionTemplate
(option)
extensions/amp-story-interactive/0.1/amp-story-interactive-quiz.js:39
↓ 1 callersMethodbuildOptionsObject_
* @param {string} url * @param {boolean} shouldRefresh true to force refresh of browser cache. * @return {!BatchFetchOptionsDef} options object
extensions/amp-render/1.0/shared/amp-fetch-utils.js:121
↓ 1 callersMethodbuildOverlay_
* Builds all controls (top bar and description) and appends them to the * lightbox container * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:229
↓ 1 callersFunctionbuildPageScrollConfig
(pageScroll)
test/unit/test-amp-story-player.js:119
↓ 1 callersMethodbuildPayload_
* @param {!FetchRequestDef} request * @param {?Element|undefined} mustacheTemplate * @param {?SsrTemplateDef=} opt_templates * @param {!Objec
src/ssr-template-helper.js:140
↓ 1 callersFunctionbuildPollTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-poll.js:20
↓ 1 callersMethodbuildProvidersList_
* Create widget, and load the providers in the config. * @return {!Element}
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:232
↓ 1 callersFunctionbuildQuizTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-quiz.js:23
↓ 1 callersMethodbuildReadyResourcesUnsafe_
* @private
src/service/resources-impl.js:408
↓ 1 callersFunctionbuildResultsDetailedTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-results-detailed.js:25
↓ 1 callersFunctionbuildResultsTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-results.js:36
↓ 1 callersFunctionbuildResultsTopTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-results.js:56
↓ 1 callersFunctionbuildSandboxedProxyIframe
* Builds and writes the HTML file used for <amp-script> sandboxed mode. * @param {boolean} minify * @return {Promise<void>}
build-system/tasks/extension-helpers.js:614
↓ 1 callersFunctionbuildScrollableCarousel
* Builds the DOM necessary for scrollable carousel. * @param {Element} element * @return {{ * container: HTMLDivElement * cells: HTMLElement[]
extensions/amp-carousel/0.1/build-dom.js:149
↓ 1 callersMethodbuildShadow_
* Builds the component when using Shadow DOM.
extensions/amp-truncate-text/0.1/amp-truncate-text.js:147
↓ 1 callersMethodbuildShareProvider_
* @param {{[key: string]: *}|string} provider * @return {Element|null} * @private * TODO(alanorozco): Set story metadata in share config.
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:269
↓ 1 callersFunctionbuildSlideScrollCarousel
* Builds the DOM necessary for slidescroll carousel. * @param {Element} element * @return {{ * slides: Element[] * slidesContainer: HTMLDivEle
extensions/amp-carousel/0.1/build-dom.js:202
↓ 1 callersFunctionbuildSliderTemplate
(element)
extensions/amp-story-interactive/0.1/amp-story-interactive-slider.js:22
↓ 1 callersMethodbuildStories_
@private
src/amp-story-player/amp-story-player-impl.js:444
↓ 1 callersFunctionbuildStorybook
* @param {StorybookEnv} env
build-system/tasks/storybook/index.js:54
↓ 1 callersFunctionbuildSuccessMessageTemplate
(element)
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-debug.js:28
↓ 1 callersMethodbuildSystemLayer_
* Builds the system layer DOM. * @param {string} initialPageId * @param {boolean} isVisible * @private
extensions/amp-story/1.0/amp-story.js:650
↓ 1 callersMethodbuildTabs_
* @private
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools.js:191
↓ 1 callersMethodbuildToast_
* Builds the content of the iframe. On load, animates the toast.
third_party/subscriptions-project/swg.js:11965
↓ 1 callersFunctionbuildTypedefs
(t)
build-system/babel-plugins/babel-plugin-transform-annotation-to-extern/index.js:4
↓ 1 callersFunctionbuildUrl
* @param {!Object} data * @return {string}
ads/vendors/dex.js:16
↓ 1 callersFunctionbuildUrl
* Generates the url to call for the script content * @param {!Object} data * @return {string}
ads/vendors/myfinance.js:30
↓ 1 callersFunctionbuildUrl
* Builds a URL from query parameters, truncating to a maximum length if * necessary. * @param {string} baseUrl scheme, domain, and path for the URL.
extensions/amp-ad-network-valueimpression-impl/0.1/amp-ad-network-valueimpression-impl.js:513
↓ 1 callersMethodbuildUrl_
* @return {string}
extensions/amp-apester-media/0.1/amp-apester-media.js:175
↓ 1 callersFunctionbuildVarDeclAndComment
(t, name, comment)
build-system/babel-plugins/babel-plugin-transform-annotation-to-extern/index.js:13
↓ 1 callersFunctionbuildWebPushPublisherFiles
* Build amp-web-push publisher files HTML page. * @return {Promise<void>}
build-system/tasks/dist.js:210
↓ 1 callersFunctionbuildWrapper
* @param {object} replacements * @return {babel.types.Statement}
build-system/babel-plugins/babel-plugin-nomodule-loader/index.js:32
↓ 1 callersMethodbuild_
* Builds the component when not using Shadow DOM.
extensions/amp-truncate-text/0.1/amp-truncate-text.js:102
↓ 1 callersFunctionbuildconfettiTemplate
(element)
extensions/amp-story-interactive/0.1/interactive-confetti.js:28
↓ 1 callersFunctionbyteLength
(utf8Str)
validator/js/engine/htmlparser.js:135
↓ 1 callersFunctionbytesToString
* Converts a 8-bit bytes array into a string * @param {!Uint8Array} bytes * @return {string}
third_party/subscriptions-project/swg-gaa.js:361
↓ 1 callersFunctionc
()
third_party/wgxpath/wgxpath.js:5
↓ 1 callersFunctioncacheFuncResult
* A helper method that wraps a function and cache its return value. * * @param {!Function} func the function to cache * @return {!Function}
extensions/amp-analytics/0.1/transport.js:354
↓ 1 callersFunctioncacheParam
* @param {string} cacheKey * @return {string} * @package Visible for testing only.
third_party/subscriptions-project/swg.js:5625
↓ 1 callersFunctioncalcRecursive
* Whether the parent value is required to calculate the used value. * * @param {IContextProp<T, ?>} prop * @param {T[]|undefined} inputs * @return
src/core/context/values.js:701
↓ 1 callersFunctioncalcShadowDomStreamingSupported
* @param {!Window} win * @return {boolean}
src/shadow-embed.js:319
↓ 1 callersMethodcalc_
* The used value calculation algorithm. * * @param {IContextPropUsed<T, ?>} used * @param {boolean} refreshParent * @return {T|undefined}
src/core/context/values.js:556
↓ 1 callersFunctioncalculateActualPercentageFrequencyMs
* Calculates the "actual" analytics check frequency by calculating the ideal * frequency and clamping it between MIN and MAX. * @param {number} dura
src/service/video-manager-impl.js:1402
↓ 1 callersFunctioncalculateChangeEntry
* Helper function to calculate the IntersectionObserver change entry. * @param {!../layout-rect.LayoutRectDef} element element's rect * @param {?../
src/utils/intersection-observer-3p-host.js:136
↓ 1 callersMethodcalculateDuration_
* @private * @return {number}
extensions/amp-analytics/0.1/events.js:1144
↓ 1 callersFunctioncalculateFontSize
* This used to be binary search, but since range is so small just try the 3 * values. If range gets larger, reevaluate. * @param {Element} measurer
extensions/amp-story-auto-ads/0.1/story-ad-button-text-fitter.js:100
↓ 1 callersMethodcalculateIndexOfLastPageToPreview_
* @return {number} The index of the last page that should be shown in * preview mode. * @private
extensions/amp-story/1.0/amp-story.js:2821
↓ 1 callersFunctioncalculateLeftJustifiedX
( containerWidth, itemWidth, itemMargin, step )
extensions/amp-video-docking/0.1/math.js:45
↓ 1 callersMethodcalculateOffset_
* Calculates pixel offset and direction to be scrolled by getting current * acceleration and preset limits. * @private * @return {number}
src/amp-story-player/page-scroller.js:155
↓ 1 callersMethodcalculatePlatformWeight_
* Calculate platform weight * @param {!./subscription-platform.SubscriptionPlatform} platform * @return {number} * @private
extensions/amp-subscriptions/0.1/platform-store.js:571
↓ 1 callersFunctioncalculateRightJustifiedX
( containerWidth, itemWidth, itemMargin, step )
extensions/amp-video-docking/0.1/math.js:29
↓ 1 callersMethodcalculateUpdates_
* Determines which properties to update based on results of evaluation * of all bound expression strings with the current state. This method * w
extensions/amp-bind/0.1/bind-impl.js:1155
↓ 1 callersMethodcalculateWeightedAverage_
* @private * @param {!Array<!InteractiveOptionType>} responseData * @return {number}
extensions/amp-story-interactive/0.1/amp-story-interactive-slider.js:95
↓ 1 callersMethodcalculateZoom_
* Calculates zoom for translate3d and ensures the number is finite. * @private * @param {number} zoom * @return {number}
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:352
↓ 1 callersFunctioncallCompute
* A substitute for `compute(...deps)`, but faster. * * @param {function(Node, T[], ...DEP):T} compute See `IContextProp.compute()`. * @param {Node}
src/core/context/values.js:725
↓ 1 callersFunctioncallEng
(props)
extensions/amp-addthis/0.1/addthis-utils/eng.js:43
↓ 1 callersFunctioncallHandler
* Creates a subscriber. * * @param {SubscribeCallback<DEP>} callback * @param {DEP[]} deps * @return {ReturnType<SubscribeCallback<DEP>>} * @temp
src/core/context/subscriber.js:239
↓ 1 callersFunctioncallLojson
(props)
extensions/amp-addthis/0.1/addthis-utils/lojson.js:132
↓ 1 callersFunctioncallPjson
(props)
extensions/amp-addthis/0.1/addthis-utils/pjson.js:74
↓ 1 callersFunctioncallQuerySelector
* @param {CompilerNode} node
build-system/eslint-rules/query-selector.js:9
↓ 1 callersFunctioncallRecursiveCompute
* A substitute for `compute(parentValue, ...deps)`, but faster. * * @param {function(Node, T[], ...DEP):T} compute See `IContextProp.compute()`. *
src/core/context/values.js:754
↓ 1 callersFunctioncallScopedQuerySelector
* @param {CompilerNode} node
build-system/eslint-rules/query-selector.js:73
← previousnext →7,701–7,800 of 18,703, ranked by callers