MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 5 callersFunctioncompileJison
* Builds parsers for extensions with *.jison files. * Uses jison file path to name the parser to export. * For example, css-expr-impl.jison creates
build-system/tasks/compile-jison.js:30
↓ 5 callersFunctioncompileJs
* Bundles (max) or compiles (min) a given JavaScript file entry point. * * @param {string} srcDir Path to the src directory * @param {string} srcFi
build-system/tasks/helpers.js:532
↓ 5 callersFunctioncomposeMetadataStoreValue
(consentInfoMetadata)
extensions/amp-consent/0.1/consent-info.js:410
↓ 5 callersFunctionconcat
(transitions, opt_delimiter = ' ')
src/core/dom/transition.js:31
↓ 5 callersFunctionconnectHostname
(config)
extensions/amp-access-scroll/0.1/scroll-url.js:23
↓ 5 callersFunctionconvertStorageMetadata
(storageMetadata)
extensions/amp-consent/0.1/consent-info.js:443
↓ 5 callersFunctioncountIntervals
()
extensions/amp-analytics/0.1/test/test-events.js:1166
↓ 5 callersFunctioncreateAmpElementMock
(tag = 'div', attrs = {})
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:37
↓ 5 callersFunctioncreateCUID
()
extensions/amp-addthis/0.1/addthis-utils/cuid.js:62
↓ 5 callersMethodcreateCacheUrl
* * @param {string} url * @param {string=} cacheDomain the cache domain name (eg: cdn.approject.org) * @return {!Promise<string>}
extensions/amp-cache-url/0.1/amp-cache-url.js:17
↓ 5 callersFunctioncreateContainer
* Create DOM element for all Facebook embeds. * @param {!Window} global * @param {string} classNameSuffix The suffix for the `fb-` class. * @param
3p/facebook.js:48
↓ 5 callersFunctioncreateElement
()
test/unit/test-owners.js:42
↓ 5 callersFunctioncreateElementWithResource
( id, state = ResourceState_Enum.LAYOUT_COMPLETE )
test/unit/test-owners.js:48
↓ 5 callersFunctioncreateFileStub
(name)
validator/js/gulpjs/test/validate.js:174
↓ 5 callersFunctioncreateForm
()
extensions/amp-analytics/0.1/test/test-linker-manager.js:1077
↓ 5 callersFunctioncreateImplTag
* Instantiates element and impl, adding the former to the document of the * iframe. * @param {!{width, height, type}} config
extensions/amp-ad-network-adsense-impl/0.1/test/test-amp-ad-network-adsense-impl.js:107
↓ 5 callersFunctioncreateLdJsonTag
(content)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:622
↓ 5 callersFunctioncreateShadowDomWriter
(win)
src/shadow-embed.js:341
↓ 5 callersFunctiondebug
* Output debugging information when developing changes in this functionality. * * @param {string} lifecycle * @param {string} fullpath * @param {?
build-system/compile/debug-compilation-lifecycle.js:24
↓ 5 callersFunctiondedupe
* Remove duplicates from the given array. * @param {!Array<string>} arr * @return {!Array<string>}
build-system/tasks/extension-helpers.js:318
↓ 5 callersFunctiondeg2rad
* @param {number} deg * @return {number} *
extensions/amp-story-360/0.1/amp-story-360.js:113
↓ 5 callersMethoddelegateActionToLocal
* Delegates actions to local platform. * @param {string} action * @param {?string} sourceId * @return {!Promise<boolean>}
extensions/amp-subscriptions/0.1/service-adapter.js:67
↓ 5 callersFunctiondependsOnStoryServices
(klass)
extensions/amp-story/1.0/utils.js:336
↓ 5 callersMethodderef
@return {Element|undefined}
src/core/data-structures/dom-based-weakref.js:40
↓ 5 callersFunctiondisableScrollingOnIframe
(iframe)
src/iframe-helper.js:547
↓ 5 callersMethoddisconnect
()
test/unit/polyfills/test-intersection-observer.js:38
↓ 5 callersFunctiondisplayWarning
* Display warning in browser console * @param {?string} message Warning to be displayed
extensions/amp-embedly-card/1.0/component.js:94
↓ 5 callersMethoddoPass_
* The pass that decides which recognizers can start emitting and which * are canceled. * @private
src/gesture.js:465
↓ 5 callersFunctiondomFingerprintPlain
(element)
src/core/dom/fingerprint.js:34
↓ 5 callersFunctionel
(id)
test/unit/core/context/test-node-subscribers.js:55
↓ 5 callersFunctionelements
* @param {!Element|!Array<!Element>} elements * @return {!Array<!Element>}
src/service/owners-impl.js:16
↓ 5 callersMethodenqueue_
* @param {function():!Promise<RESULT>} callback * @param {string} name * @return {!Promise<RESULT>} * @template RESULT * @private
src/service/history-impl.js:238
↓ 5 callersMethodenterFullOverlayMode
* @return {!Promise}
src/friendly-iframe-embed.js:591
↓ 5 callersMethodenterFullscreen_
* Enter the fullscreen state for the UI
extensions/amp-consent/0.1/consent-ui.js:442
↓ 5 callersMethodenterLightboxMode
@override
src/inabox/inabox-viewport.js:298
↓ 5 callersMethodenterOverlayMode
@override
src/inabox/inabox-viewport.js:310
↓ 5 callersMethodexecute_
* Invoke the action defined on the macro. * @param {!../../../src/service/action-impl.ActionInvocation} invocation * @private
extensions/amp-action-macro/0.1/amp-action-macro.js:50
↓ 5 callersMethodexpandFrame
* Expands an iframe to full overlay. * @param {!HTMLIFrameElement} iframe * @param {!Function} callback Gets executed when expanded with the new
ads/inabox/frame-overlay-manager.js:48
↓ 5 callersMethodexpandMessageArgs_
* Either redirects a pair of (errorId, ...args) to a URL where the full * message is displayed, or displays it from a fetched table. * * This
src/utils/log.js:351
↓ 5 callersMethodexpandStringSync
* Synchronously expands the provided source by replacing all known variables * with their resolved values. Optional `opt_bindings` can be used to a
src/service/url-replacements-impl.js:850
↓ 5 callersMethodexpansionOptions_
* @param {!JsonObject|!./events.AnalyticsEvent} source1 * @param {!JsonObject} source2 * @param {number=} opt_iterations * @param {boolean=}
extensions/amp-analytics/0.1/amp-analytics.js:849
↓ 5 callersFunctionexpectFe
(actual, expected)
test/unit/test-fixed-layer.js:438
↓ 5 callersFunctionexpectPostMessage
(sourceWin, targetwin, msg)
testing/iframe.js:434
↓ 5 callersFunctionextractTitle
(root)
extensions/amp-apester-media/0.1/utils.js:95
↓ 5 callersFunctionf
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 5 callersMethodfireDelayedImpressions
* @param {string} impressions * @param {boolean=} scrubReferer * @visibleForTesting
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1643
↓ 5 callersMethodfirstLayoutCompleted
* Called when video is first loaded. * @override
extensions/amp-video/0.1/amp-video.js:983
↓ 5 callersFunctionflush
Awaits N times. Allows promises to resolve.
extensions/amp-subscriptions-google/0.1/test/test-amp-subscriptions-google.js:205
↓ 5 callersFunctionfn
()
build-system/babel-plugins/babel-plugin-nomodule-loader/test/fixtures/transform/export-default/input.mjs:1
↓ 5 callersMethodforceChangeSize
@override
src/service/mutator-impl.js:53
↓ 5 callersMethodforceCollapse
* Forces the UI Handler to collapse this slot. * @visibleForTesting
extensions/amp-a4a/0.1/amp-a4a.js:1655
↓ 5 callersFunctionformat
* @param {Array<string>} files * @return {object}
build-system/tasks/make-extension/format.js:7
↓ 5 callersFunctionfr
(e,t,n,r,i)
examples/amp-script/vue-todomvc.js:7
↓ 5 callersFunctionge
(e)
third_party/react-dates/bundle.js:1
↓ 5 callersMethodgenerate
* Calculates ad slot DOM fingerprint. This key is intended to * identify "same" ad unit across many page views. This is * based on where the ad
src/core/dom/fingerprint.js:61
↓ 5 callersFunctiongenerateCircleCiShardTestFileList
* Generates a file with a comma-separated list of test file paths that CircleCI * should execute in a parallelized job shard. * * @param {!Array<st
build-system/pr-check/utils.js:240
↓ 5 callersFunctiongenerateSentinel
(parentWindow)
src/3p-frame.js:408
↓ 5 callersFunctiongetAdCid
(adElement)
src/ad-cid.js:13
↓ 5 callersMethodgetAdCount
* @return {number}
extensions/amp-auto-ads/0.1/ad-tracker.js:77
↓ 5 callersFunctiongetAliasDefinition
()
extensions/amp-inputmask/0.1/inputmask-custom-alias.js:19
↓ 5 callersMethodgetAmpElement
* Searches the AMP element that matches the selector within the scope of the * analytics root in relationship to the specified context node. *
extensions/amp-analytics/0.1/analytics-root.js:306
↓ 5 callersFunctiongetAttributeMutationDefaultUrl
(value)
extensions/amp-experiment/1.0/test/test-attribute-mutation.js:63
↓ 5 callersMethodgetAuthdataField
@override from AccessVars
extensions/amp-subscriptions/0.1/amp-subscriptions.js:197
↓ 5 callersMethodgetAuthorizationUrl
* @return {string}
extensions/amp-access/0.1/amp-access-client.js:89
↓ 5 callersMethodgetBestRtcCallout_
* Chooses RTC callout with highest bid price * @param {Array<Object>} rtcResponseArray * @return {object}
extensions/amp-ad-network-smartadserver-impl/0.1/amp-ad-network-smartadserver-impl.js:243
↓ 5 callersMethodgetBodyElement_
* @return {!Element} * @private
extensions/amp-subscriptions/0.1/renderer.js:31
↓ 5 callersFunctiongetContextMetadata
( parentWindow, element, sentinel, attributes )
src/iframe-attributes.js:21
↓ 5 callersFunctiongetCorsUrl
(win, url)
src/url.js:607
↓ 5 callersFunctiongetDelightPlayer
(attributes)
extensions/amp-delight-player/0.1/test/test-amp-delight-player.js:30
↓ 5 callersFunctiongetDetailsForMeta
(meta)
extensions/amp-addthis/0.1/addthis-utils/meta.js:8
↓ 5 callersMethodgetDialog
* Returns the singleton Dialog instance * @return {!./dialog.Dialog}
extensions/amp-subscriptions/0.1/service-adapter.js:23
↓ 5 callersMethodgetDimension
* Returns the dimension: "w" for width or "h" for height. * @return {?string}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:92
↓ 5 callersMethodgetDoc_
* @return {!Document} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:509
↓ 5 callersFunctiongetDots
()
extensions/amp-inline-gallery/1.0/test/test-amp-inline-gallery.js:100
↓ 5 callersMethodgetDuration
@override
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:404
↓ 5 callersFunctiongetElementId
* @param {!Element} element * @return {number}
extensions/amp-analytics/0.1/visibility-manager.js:37
↓ 5 callersFunctiongetElementsToAriaHide
(element)
src/core/dom/modal.js:44
↓ 5 callersMethodgetEntitlementPromiseFor
* Returns entitlement for a platform once it's resolved. * @param {string} platformKey * @return {!Promise<!./entitlement.Entitlement>} entitlem
extensions/amp-subscriptions/0.1/platform-store.js:274
↓ 5 callersMethodgetEntitlements_
* Internal function to wrap SwG decryption handling * @param {!SubscriptionPlatformInterface} platform * @return {!Promise<?./entitlement.Entitl
extensions/amp-subscriptions/0.1/amp-subscriptions.js:450
↓ 5 callersMethodgetEstimatedPosition
* An estimate of the y-position of the placement based on the position of its * anchor. This is known to not be completely reliable, since the posi
extensions/amp-auto-ads/0.1/placement.js:144
↓ 5 callersFunctiongetEventParams$1
* @param {string} sku * @param {?string=} subscriptionFlow * @return {!EventParams}
third_party/subscriptions-project/swg.js:5682
↓ 5 callersFunctiongetExtendedElements
* @param {!Window} win * @return {!{[key: string]: typeof ../base-element.BaseElement}}
src/service/custom-element-registry.js:22
↓ 5 callersFunctiongetFilesFromArgv
* Extracts the list of files from argv.files. Throws an error if no matching * files were found. * * @return {Array<string>}
build-system/common/utils.js:78
↓ 5 callersFunctiongetFormattedDate
( date: Date, dateFormat = ISO_8601, locale = DEFAULT_LOCALE )
extensions/amp-date-picker/1.0/date-helpers.ts:15
↓ 5 callersMethodgetGrantStatus
* @return {!Promise<boolean>}
extensions/amp-subscriptions/0.1/platform-store.js:335
↓ 5 callersFunctiongetHelperIframe
* Returns the iframe in this testing AMP iframe that partially matches the * URL set in the test config. Partial matches are possible only since
extensions/amp-web-push/0.1/test/test-web-push-service.js:211
↓ 5 callersFunctiongetIOSAppInfo
()
extensions/amp-app-banner/1.0/utils/ios.js:17
↓ 5 callersFunctiongetIframeSrc
(fixture = null)
extensions/amp-video-iframe/0.1/test/test-amp-video-iframe.js:43
↓ 5 callersFunctiongetImportResolver
* Import map configuration. * @param {'preact' | 'react' | null} buildFor determines whether to include preact or react aliases or neither. By defaul
build-system/babel-config/import-resolver.js:64
↓ 5 callersFunctiongetInObEntry
()
extensions/amp-ad/0.1/test/test-legacy-ad-intersection-observer-host.js:26
↓ 5 callersMethodgetIndexById
* @param {string} pageId * @return {number}
extensions/amp-story-auto-ads/0.1/story-ad-page-manager.js:155
↓ 5 callersFunctiongetInternalVideoElementFor
(element)
src/core/dom/video/index.js:77
↓ 5 callersFunctiongetIntersectionChangeEntry
(element, owner, hostViewport)
src/utils/intersection-observer-3p-host.js:50
↓ 5 callersMethodgetLastActivationTime
* The time of the last activation. * @return {time}
extensions/amp-script/0.1/user-activation-tracker.js:77
↓ 5 callersMethodgetLastDequeueTime
* Last time a task was dequeued. * @return {!time}
src/service/task-queue.js:61
↓ 5 callersMethodgetLoginUrl
* @return {!Promise<string>}
extensions/amp-access/0.1/login-dialog.js:191
↓ 5 callersMethodgetMatchingMediaElementFromPool_
* Retrieves the media element from the pool that matches the specified * element, if one exists. * @param {!MediaType_Enum} mediaType The type o
extensions/amp-story/1.0/media-pool.js:366
↓ 5 callersMethodgetMeasureableFrame
* Returns whichever window in win's parent hierarchy is the deepest window * that is measurable from the perspective of the current window. * Fo
ads/inabox/inabox-messaging-host.js:310
↓ 5 callersMethodgetMediaBySelector_
* Gets media on page by given selector. Finds elements through friendly * iframe (if one exists). * @param {string} selector * @return {!Arra
extensions/amp-story/1.0/amp-story-page.js:1024
↓ 5 callersFunctiongetMegaphone
(mediaid, isPlaylist, opt_attrs)
extensions/amp-megaphone/0.1/test/test-amp-megaphone.js:29
← previousnext →2,801–2,900 of 18,703, ranked by callers