MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodparseElementTemplate_
* Parse a date picker template element. * @param {!Element} template * @return {!DateTemplateMapDef} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1325
↓ 1 callersFunctionparseEndTag
(parts, pos, h, param, continuationMarker, state)
third_party/caja/html-sanitizer.js:1942
↓ 1 callersFunctionparseEntitlements
* @param {!./deps.DepsDef} deps * @param {!Object} swgData * @return {?../api/entitlements.Entitlements} * @package Visible for testing.
third_party/subscriptions-project/swg.js:6228
↓ 1 callersFunctionparseEnvs
* @param {string} env * @return {StorybookEnv[]}
build-system/tasks/storybook/index.js:77
↓ 1 callersFunctionparseEpoch
* Parse epoch from list of possible element attributes, returning the first one * that is truthy. * @param {Element} element * @param {Array<string
src/core/dom/parse-date-attributes.js:48
↓ 1 callersMethodparseFromJson
* @param {?Object} json * @param {!../utils/jwt.JwtHelper} jwtHelper * @return {!Entitlement}
third_party/subscriptions-project/swg.js:4583
↓ 1 callersFunctionparseHeaders
* Parses XHR's response headers into JSONObject. * @param {string} rawHeaders * @return {!JsonObject}
src/document-fetcher.js:114
↓ 1 callersFunctionparseIOSMetaContent
(metaContent)
extensions/amp-app-banner/1.0/utils/ios.js:55
↓ 1 callersMethodparseIosMetaContent_
* @param {string} metaContent * @private
extensions/amp-app-banner/0.1/amp-app-banner.js:297
↓ 1 callersFunctionparseJson
* Simple wrapper around JSON.parse that casts the return value * to JsonObject. * Create a new wrapper if an array return value is desired. * @para
third_party/subscriptions-project/config.js:427
↓ 1 callersFunctionparseKeyValues
* Parses a string like "key1=value1,key2=value2" into { key1: "value1", key2: "value2" } * @param {string} metaContent * @return {*}
extensions/amp-app-banner/1.0/utils/ios.js:90
↓ 1 callersMethodparseKeyValues
* Parses a string like "key1=value1,key2=value2" into { key1: "value1", key2: "value2" } * @param {string} metaContent * @return {*}
extensions/amp-app-banner/0.1/amp-app-banner.js:332
↓ 1 callersMethodparseLinkRewriterPriorityForAnchor_
* Extract the optional priority list for this specific anchor * from its attribute. The 'data-link-rewriters' attribute should * contain a white
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter-manager.js:209
↓ 1 callersFunctionparseLinkerParamValue
* Parse the linker param value to version checksum and serializedParams * @param {string} value * @return {?Object}
extensions/amp-analytics/0.1/linker.js:64
↓ 1 callersFunctionparseLinkerParamValue
* Parse the linker param value to version checksum and serializedParams * @param {string} value * @return {?Object}
extensions/amp-consent/0.1/linker.js:64
↓ 1 callersMethodparseListFromJson
* The JSON is expected in one of the forms: * - Single entitlement: `{products: [], ...}`. * - A list of entitlements: `[{products: [], ...}, {.
third_party/subscriptions-project/swg.js:4626
↓ 1 callersMethodparseLocaleOptionsAttrs_
* @param {!Element} element * @param {string} attrPrefix * @return {{[key: string]: *}|undefined} * @private
extensions/amp-date-display/0.1/amp-date-display.js:218
↓ 1 callersMethodparseManifest_
* @param {!JsonObject} manifestJson * @private
extensions/amp-app-banner/0.1/amp-app-banner.js:474
↓ 1 callersMethodparseMessageData_
* @param {*} data * @return {?} * @private
testing/iframe.js:678
↓ 1 callersMethodparseMetadataFromCreative
* Parses out required extensions and returns a minified version of the * creative. * @param {string} creative * @return {string} A minified v
extensions/amp-ad-network-adzerk-impl/0.1/amp-ad-network-adzerk-impl.js:123
↓ 1 callersMethodparseOptions_
* Parse other data-* attributes and append them to API query url * @return {object} of Iframely options * @private *
extensions/amp-iframely/0.1/amp-iframely.js:263
↓ 1 callersFunctionparseOrderIdFromPurchaseDataSafe
* @param {!PurchaseData} purchaseData * @return {?string}
third_party/subscriptions-project/swg.js:6249
↓ 1 callersFunctionparseParams
* @param {string} data * @return {string}
ads/vendors/adincube.js:34
↓ 1 callersFunctionparsePlaybuzzEventData
* Parses Playbuzz Event Data * * @param {?JsonObject|string|undefined} data * @return {?JsonObject|undefined} parsedObject
extensions/amp-playbuzz/0.1/utils.js:99
↓ 1 callersFunctionparsePropDefs
* @param {typeof import('./base-element').PreactBaseElement} Ctor * @param {JsonObject} props * @param {AmpElementProps} propDefs * @param {Element
src/preact/parse-props.js:167
↓ 1 callersMethodparsePropensityResponse_
* @param {JsonObject} response * @return {!../api/propensity-api.PropensityScore}
third_party/subscriptions-project/swg.js:18506
↓ 1 callersFunctionparsePurchaseData
* @param {!Object} swgData * @return {!PurchaseData}
third_party/subscriptions-project/swg.js:6202
↓ 1 callersFunctionparseQueryString
* Parses the query string of an URL. This method returns a simple key/value * map. If there are duplicate keys the latest value is returned. * @para
examples/pwa/pwa.js:481
↓ 1 callersFunctionparseSelection
* @param {?string} s * @return {?Selection}
third_party/subscriptions-project/swg.js:7599
↓ 1 callersFunctionparseSetExperiment
* @param {!Window} win * @param {?Object<string, boolean>} experimentMap * @param {string} spec
third_party/subscriptions-project/swg.js:7524
↓ 1 callersFunctionparseStartTag
(parts, pos, h, param, continuationMarker, state)
third_party/caja/html-sanitizer.js:1953
↓ 1 callersFunctionparseSubscriptionResponse
* @param {!./deps.DepsDef} deps * @param {*} data * @param {function():!Promise} completeHandler * @return {!SubscribeResponse}
third_party/subscriptions-project/swg.js:6137
↓ 1 callersFunctionparseTemplate
* Breaks up the given `template` string into a tree of tokens. If the `tags` * argument is given here it must be an array with two string values: the
src/bento/third_party/mustache/mustache.js:120
↓ 1 callersFunctionparseTemplate
* Breaks up the given `template` string into a tree of tokens. If the `tags` * argument is given here it must be an array with two string values: t
third_party/mustache/mustache.js:97
↓ 1 callersFunctionparseTimestamp
* Parses a WebVTT timestamp and returns the time in seconds from video start. * https://www.w3.org/TR/webvtt1/#webvtt-timestamp * @param {string} ti
extensions/amp-story-captions/0.1/track-renderer.js:15
↓ 1 callersMethodparseUrlRecursively_
* @param {string} url * @param {!Array<!MatchDef>} matches Array of matching keywords. * @return {!Promise<string>|string}
src/service/url-expander/expander.js:136
↓ 1 callersFunctionparseUrlWithA
* Returns a Location-like object for the given URL. If it is relative, * the URL gets resolved. * @param {!HTMLAnchorElement} a * @param {string} u
third_party/subscriptions-project/swg.js:5328
↓ 1 callersFunctionparseUrlWithA
* Returns a Location-like object for the given URL. If it is relative, * the URL gets resolved. * @param {!HTMLAnchorElement} a * @param {string} u
third_party/subscriptions-project/swg-gaa.js:833
↓ 1 callersFunctionparseUserData
* @param {!Object} swgData * @return {?UserData} * @package Visible for testing.
third_party/subscriptions-project/swg.js:6213
↓ 1 callersMethodparse_
* Parses JSON in child <script> and returns it. * @return {?JsonObject} * @private
extensions/amp-bind/0.1/amp-state.js:121
↓ 1 callersMethodpartialAnimationSpecFromPreset_
* @param {!Element} el * @param {!StoryAnimationPresetDef} preset * @return {!WebAnimationDef} * @private
extensions/amp-story/1.0/animation.js:734
↓ 1 callersMethodpassSharedData_
* Blindly pass sharedData
extensions/amp-consent/0.1/amp-consent.js:653
↓ 1 callersMethodpass_
*
src/pass.js:89
↓ 1 callersMethodpasteFromClipboard
* Pastes from the clipboard by perfoming the keyboard shortcut. * https://stackoverflow.com/a/41046276 * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:306
↓ 1 callersFunctionpatchIntersectionObserver
* Patches Intersection Observer polyfill by wrapping its body into `install` * function. * This gives us an option to control when and how the polyf
build-system/common/update-packages.js:63
↓ 1 callersFunctionpatchResizeObserver
* Patches Resize Observer polyfill by wrapping its body into `install` * function. * This gives us an option to control when and how the polyfill is
build-system/common/update-packages.js:82
↓ 1 callersFunctionpatchShadowDom
* Patches Shadow DOM polyfill by wrapping its body into `install` * function. * This gives us an option to control when and how the polyfill is inst
build-system/common/update-packages.js:113
↓ 1 callersFunctionpatchValhook
(type)
third_party/inputmask/inputmask.js:2484
↓ 1 callersFunctionpatchValueProperty
(npt)
third_party/inputmask/inputmask.js:2481
↓ 1 callersFunctionpatchWebAnimations
* Patches Web Animations polyfill by wrapping its body into `install` function. * This gives us an option to call polyfill directly on the main windo
build-system/common/update-packages.js:33
↓ 1 callersMethodpause
* Pauses the element. * * @package @final
src/custom-element.js:1688
↓ 1 callersMethodpause
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:168
↓ 1 callersMethodpause
@override
extensions/amp-gfycat/0.1/amp-gfycat.js:233
↓ 1 callersMethodpause
@override
extensions/amp-vimeo/0.1/amp-vimeo.js:225
↓ 1 callersMethodpause
@override
extensions/amp-powr-player/0.1/amp-powr-player.js:347
↓ 1 callersMethodpause
@override
extensions/amp-mowplayer/0.1/amp-mowplayer.js:285
↓ 1 callersMethodpause
* @override
extensions/amp-dailymotion/0.1/amp-dailymotion.js:285
↓ 1 callersMethodpause
@override
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:331
↓ 1 callersMethodpause
Pauses the animation.
extensions/amp-story/1.0/animation.js:383
↓ 1 callersMethodpause
@override
extensions/amp-youtube/0.1/amp-youtube.js:554
↓ 1 callersMethodpause
@override
extensions/amp-brightcove/0.1/amp-brightcove.js:422
↓ 1 callersMethodpause
@override
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:173
↓ 1 callersMethodpause
@override
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:244
↓ 1 callersMethodpause
* Creates a placeholder in place of the original page and unloads * the shadow root from memory * @return {!Promise}
extensions/amp-next-page/1.0/page.js:177
↓ 1 callersMethodpause
* The pause action. * @param {string} id Receiver id.
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:319
↓ 1 callersMethodpause
()
extensions/amp-animation/0.1/runners/animation-runner.js:40
↓ 1 callersMethodpause
@override
extensions/amp-brid-player/0.1/amp-brid-player.js:405
↓ 1 callersMethodpauseAll
Pauses all animations in the page.
extensions/amp-story/1.0/animation.js:629
↓ 1 callersMethodpauseCallback
* Requests the element to stop its activity when the document goes into * inactive state. The scope is up to the actual component. Among other *
src/base-element.js:616
↓ 1 callersMethodpauseCallback
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:163
↓ 1 callersMethodpauseCallback
@override
extensions/amp-youtube/0.1/amp-youtube.js:308
↓ 1 callersMethodpauseCallback
@override
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:86
↓ 1 callersMethodpauseCallback
@override
extensions/amp-animation/0.1/amp-animation.js:193
↓ 1 callersMethodpauseLightboxChildren_
* Pauses lightbox childred.
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:654
↓ 1 callersMethodpauseMedia_
* Pauses the given media. * @param {!./media-pool.MediaPool} mediaPool * @param {!Element} mediaEl * @param {boolean} rewindToBeginning Wheth
extensions/amp-story/1.0/amp-story-page.js:1101
↓ 1 callersMethodpauseStoryUntilConsentIsResolved_
* Pauses the story until the consent is resolved (accepted or rejected). * @private
extensions/amp-story/1.0/amp-story.js:1269
↓ 1 callersMethodpause_
* @private
extensions/amp-story/1.0/amp-story-page.js:676
↓ 1 callersMethodpause_
* Pauses the whole story on viewer visibilityState updates, or tab visibility * updates. * @private
extensions/amp-story/1.0/amp-story.js:516
↓ 1 callersMethodpause_
@private
extensions/amp-bodymovin-animation/0.1/amp-bodymovin-animation.js:220
↓ 1 callersFunctionpayUrl
@return {string}
third_party/subscriptions-project/swg.js:17901
↓ 1 callersFunctionperformPreBuildSteps
* Performs pre-build steps requested via command line args. * @return {Promise<void>}
build-system/tasks/serve.js:198
↓ 1 callersMethodperformPreload_
* Performs a preload using `<link rel="preload">`. * @param {string} url * @private
src/preconnect.js:229
↓ 1 callersMethodperformTapNavigation_
* @param {number} direction The direction to navigate. * @private
extensions/amp-story/1.0/amp-story.js:1415
↓ 1 callersFunctionperformVisualTests
* Runs the AMP visual diff tests. * * @return {Promise<void>}
build-system/tasks/visual-diff/index.js:630
↓ 1 callersFunctionpickSmallerPhase1
()
extensions/amp-video/0.1/test/test-flexible-bitrate.js:17
↓ 1 callersFunctionpinGithubIssue
* @param {string} token * @param {string} repo * @param {string|number} number * @return {Promise<Object>}
build-system/common/update-session-issues/index.js:259
↓ 1 callersMethodpingTrackingUrl_
* Attempts to issue a request to `url` to report the click. The request * method depends on the exit config's transport property. * navigator.se
extensions/amp-ad-exit/0.1/amp-ad-exit.js:296
↓ 1 callersMethodpingback
* @return {!Promise}
extensions/amp-access/0.1/amp-access-source.js:581
↓ 1 callersMethodplaceAmpAdStickyAd_
* @private
extensions/amp-auto-ads/0.1/anchor-ad-strategy.js:87
↓ 1 callersMethodplaceNextAd_
* Tries to place an ad using the next placement (if one is available). If * placing the ad fails then calls itself recursively until either an ad i
extensions/amp-auto-ads/0.1/ad-strategy.js:87
↓ 1 callersMethodplaceStickyAd_
* @private
extensions/amp-auto-ads/0.1/anchor-ad-strategy.js:103
↓ 1 callersFunctionplay
()
test/integration/test-video-manager.js:367
↓ 1 callersMethodplay
@override
extensions/amp-3q-player/0.1/amp-3q-player.js:218
↓ 1 callersMethodplay
@override
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:323
↓ 1 callersMethodplay
@override
extensions/amp-youtube/0.1/amp-youtube.js:549
↓ 1 callersMethodplay
@override
extensions/amp-wistia-player/0.1/amp-wistia-player.js:208
↓ 1 callersMethodplay
* @override
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:330
↓ 1 callersMethodplay
@override
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:168
↓ 1 callersMethodplay
@override
extensions/amp-ooyala-player/0.1/amp-ooyala-player.js:211
↓ 1 callersMethodplay
()
extensions/amp-animation/0.1/test/test-web-animations.js:2085
← previousnext →10,701–10,800 of 18,703, ranked by callers