MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodsignalInteractive
* Make the ad interactive.
3p/ampcontext.js:305
↓ 1 callersMethodsignalNavigation_
* Indicates the player changed story. * @param {!Object} data * @private
src/amp-story-player/amp-story-player-impl.js:923
↓ 1 callersMethodsignalReady_
@private
src/amp-story-player/amp-story-player-impl.js:438
↓ 1 callersMethodsignalScanReady_
@private
src/service/scheduler.js:171
↓ 1 callersFunctionsimulateKeyDown
()
test/unit/test-input.js:235
↓ 1 callersMethodsizeLimitExceeded
* Adds `size` to current total. Returns true if new total is <= size cap. * * @param {number} size * @param {boolean} isSandboxed * @retur
extensions/amp-script/0.1/amp-script.js:647
↓ 1 callersMethodsizeProvided_
* @private
src/custom-element.js:1239
↓ 1 callersFunctionskipBundleSize
* Mark a pull request as skipped, via the AMP bundle-size GitHub App. * @return {Promise<void>}
build-system/tasks/bundle-size/index.js:146
↓ 1 callersMethodskipClientSideValidation
* Allow subclasses to skip client side validation of non-amp creatives * based on http headers for perfomance. When true, ads will fall back to
extensions/amp-a4a/0.1/amp-a4a.js:963
↓ 1 callersMethodskipSubtree
* Skips the remaining sibling nodes in the current parent. Returns the next node in document order. * @return {?Node}
extensions/amp-bind/0.1/bind-impl.js:1854
↓ 1 callersFunctionsmartTag
* @param {!Window} global * @param {!Object} data
ads/vendors/rubicon.js:34
↓ 1 callersMethodsmoothedValue_
* Calculates a moving average over previous values of the beta value * @param {string} axis * @param {number} value * @return {number}
extensions/amp-orientation-observer/0.1/amp-orientation-observer.js:186
↓ 1 callersFunctionsn
(t,n,a)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 1 callersMethodsnapBackFromSwipe_
* Snaps back to the starting point, with the duration based on the distance * that needs to be travelled. * @param {number} finalDistance * @
extensions/amp-lightbox-gallery/0.1/swipe-to-dismiss.js:194
↓ 1 callersMethodsnapBackFromSwipe_
* Snaps back to the starting point, with the duration based on the distance * that needs to be travelled. * @param {number} finalDistance * @
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:189
↓ 1 callersMethodsnapBackFromSwipe_
* Snaps back to the starting point, with the duration based on the distance * that needs to be travelled. * @param {number} finalDistance * @
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:189
↓ 1 callersMethodsnap_
* @param {number} offsetX * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:1495
↓ 1 callersFunctionsnapshot
(element)
extensions/amp-pan-zoom/1.0/test/test-amp-pan-zoom.js:10
↓ 1 callersFunctionsnapshotWebpages
* Generates Percy snapshots for a set of given webpages. * * @param {!puppeteer.Browser} browser a Puppeteer controlled browser. * @param {!Array<!
build-system/tasks/visual-diff/index.js:349
↓ 1 callersMethodsolvePositionFromXValue_
* Computes the position t of a point on the curve given its x coordinate. * That is, for an input xVal, finds t s.t. getPointX(t) = xVal. * As s
src/core/data-structures/curve.js:69
↓ 1 callersFunctionsplitWrapper
* Splits up the wrapper to compute the banner and footer * @return {object}
build-system/tasks/helpers.js:280
↓ 1 callersFunctionsquareImgUrl
(width)
build-system/server/routes/list.js:33
↓ 1 callersFunctionsquashTokens
* Combines the values of consecutive text tokens in the given `tokens` array * to a single token. * @param tokens
src/bento/third_party/mustache/mustache.js:288
↓ 1 callersFunctionsquashTokens
* Combines the values of consecutive text tokens in the given `tokens` array * to a single token.
third_party/mustache/mustache.js:232
↓ 1 callersFunctionsr
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 1 callersMethodssrTemplate_
* Proxies the template rendering to the viewer. * @param {boolean} refresh * @return {!Promise}
extensions/amp-list/0.1/amp-list.js:794
↓ 1 callersFunctionstandardImplementation
* @param {!Window} global * @param {string} jssdk * @param {!Object} dfpData
ads/vendors/openx.js:101
↓ 1 callersFunctionstandardPurifyConfig
* Returns standard DOMPurify config for escaped templates. * Do not use for unescaped templates. * * NOTE: See that we use DomPurifyConfig found in
src/purifier/index.js:446
↓ 1 callersMethodstart
@public
src/service/video-manager-impl.js:1449
↓ 1 callersMethodstart
* Starts the offers flow or alreadySubscribed flow. * @return {!Promise}
third_party/subscriptions-project/swg.js:6437
↓ 1 callersMethodstart
* Starts the offers flow or alreadySubscribed flow. * @return {!Promise}
third_party/subscriptions-project/swg.js:6595
↓ 1 callersMethodstart
* Starts the offers flow * @return {!Promise}
third_party/subscriptions-project/swg.js:6711
↓ 1 callersMethodstart
* @return {!Promise<!../components/activities.ActivityIframePort>}
third_party/subscriptions-project/swg.js:7948
↓ 1 callersMethodstart
* Shows the user the metering toast. * @return {!Promise}
third_party/subscriptions-project/swg.js:11642
↓ 1 callersMethodstart
* Starts the Link account flow. * @return {!Promise}
third_party/subscriptions-project/swg.js:14231
↓ 1 callersMethodstart
* Starts the Login Flow. * @return {!Promise}
third_party/subscriptions-project/swg.js:18872
↓ 1 callersFunctionstartAtRepoRoot
* Switches the current directory to the repo root if needed. This is done so * that hard-coded paths within tasks can work predictably.
build-system/task-runner/amp-task-runner.js:56
↓ 1 callersMethodstartCallback_
* Callback function that gets called when start to observe the first element. * @private
src/service/position-observer/position-observer-impl.js:122
↓ 1 callersMethodstartEventing_
* This recognizer is given "go ahead" and all others are canceled. * @param {number} index * @private
src/gesture.js:513
↓ 1 callersMethodstartHtmlMediaElement_
* @param {number=} progressStartVal An optional value at which to start * the advancement. * @private
extensions/amp-story/1.0/page-advancement.js:1107
↓ 1 callersMethodstartIntervalInWindow
* @param {!Window} win * @param {function()} timerCallback * @param {function()} timeoutCallback
extensions/amp-analytics/0.1/events.js:1098
↓ 1 callersFunctionstartListening
* Listens for message events and dispatches to listeners registered * via listenParent. * @param {!Window} win
3p/messaging.js:55
↓ 1 callersMethodstartListeningToVideoEvents_
* Displays a loading spinner whenever the video is buffering. * Has to be called after the mediaPool preload method, that swaps the video * elem
extensions/amp-story/1.0/amp-story-page.js:1762
↓ 1 callersMethodstartListening_
* @private
extensions/amp-story-education/0.1/amp-story-education.js:116
↓ 1 callersMethodstartListening_
* Binds the event listeners. * @private
extensions/amp-story/1.0/page-advancement.js:347
↓ 1 callersMethodstartLoad_
* Starts to download the font. * @private
extensions/amp-font/0.1/amp-font.js:104
↓ 1 callersMethodstartMeasuringVideoPerformance_
* @param {!HTMLMediaElement} videoEl * @private
extensions/amp-story/1.0/amp-story-page.js:1728
↓ 1 callersMethodstartPayFlow_
* @param {SkuSelectedResponse} response * @private
third_party/subscriptions-project/swg.js:6386
↓ 1 callersMethodstartRefreshTimer_
* Starts the refresh timer for the given monitored element. * * @return {!Promise<boolean>} A promise that resolves to true when the * ref
extensions/amp-a4a/0.1/refresh-manager.js:308
↓ 1 callersFunctionstartRegisterOrChunk
* @param {!Window} global Global scope to adopt. * @param {function(!Object, !Object)|!ExtensionPayload} fnOrStruct * @param {function()} register
src/runtime.js:312
↓ 1 callersMethodstartRender_
* @private * @restricted
src/friendly-iframe-embed.js:500
↓ 1 callersMethodstartSendingIntersection_
* Function to start listening to viewport event. and observer intersection * change on the element.
src/utils/intersection-observer-3p-host.js:98
↓ 1 callersMethodstartSkimcore_
* @private
extensions/amp-skimlinks/0.1/amp-skimlinks.js:82
↓ 1 callersFunctionstartStorybook
* @param {StorybookEnv} env
build-system/tasks/storybook/index.js:33
↓ 1 callersMethodstartSwipe
* Handles the start of a swipe. * @param {{ * swipeElement: !Element, * hiddenElement: !Element, * mask: !Element, * overlay: !
extensions/amp-lightbox-gallery/0.1/swipe-to-dismiss.js:152
↓ 1 callersMethodstartSwipe
* Handles the start of a swipe. * @param {{ * swipeElement: !Element, * mask: !Element, * }} config
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:139
↓ 1 callersMethodstartSwipe
* Handles the start of a swipe. * @param {{ * swipeElement: !Element, * mask: !Element, * }} config
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:139
↓ 1 callersMethodstartSwipeToDismiss_
* Handles the start of a swipe to dimiss gesture: * - Prevents a scroll event from the carousel during the swipe. * - Hides the source element
extensions/amp-lightbox-gallery/0.1/swipe-to-dismiss.js:296
↓ 1 callersMethodstartTimer_
* @param {number} timerId * @param {string} eventType * @param {function(!AnalyticsEvent)} listener * @private
extensions/amp-analytics/0.1/events.js:1305
↓ 1 callersMethodstartTracking_
* @param {number} index * @private
src/gesture.js:530
↓ 1 callersMethodstartTracking_
* @param {number} startPos * @private
src/pull-to-refresh.js:86
↓ 1 callersMethodstartUsed_
* Start the used value tracker if it hasn't started yet. * * @param {IContextProp<T, DEP>} prop * @return {IContextPropUsed<T, DEP>} * @pr
src/core/context/values.js:363
↓ 1 callersMethodstartValidationFlow_
* Encapsulates logic for validation flow starting with resolving res body * to array buffer. * @param {!Response} fetchResponse * @param {fun
extensions/amp-a4a/0.1/amp-a4a.js:1076
↓ 1 callersMethodstartVideoInterfaceElement_
* @param {number=} progressStartVal An optional value at which to start * the advancement. * @private
extensions/amp-story/1.0/page-advancement.js:1133
↓ 1 callersMethodstartWhenBuilt_
* @param {number=} progressStartVal An optional value at which to start * the advancement. * @private
extensions/amp-story/1.0/page-advancement.js:1080
↓ 1 callersMethodstartWhenReady_
* @param {!../../amp-animation/0.1/runners/animation-runner.AnimationRunner} runner * @private
extensions/amp-story/1.0/animation.js:361
↓ 1 callersMethodstart_
* @return {!Storage} * @protected
src/service/storage-impl.js:57
↓ 1 callersFunctionstartsWith
* Polyfill for String.prototype.startsWith. * @param {string} string * @param {string} prefix * @return {boolean}
third_party/subscriptions-project/swg.js:3257
↓ 1 callersFunctionstartsWith
* Polyfill for String.prototype.startsWith. * @param {string} string * @param {string} prefix * @return {boolean}
third_party/subscriptions-project/swg-gaa.js:1016
↓ 1 callersFunctionstaticCanMatchDefinition
(source, target)
third_party/inputmask/inputmask.js:904
↓ 1 callersMethodstepExactCenter_
* Step to the center * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:594
↓ 1 callersMethodstep_
@private
3p/3d-gltf/viewer.js:254
↓ 1 callersMethodstopCallback_
* Callback function that gets called when unobserve last observed element. * @private
src/service/position-observer/position-observer-impl.js:141
↓ 1 callersMethodstopListeningToVideoEvents_
* @private
extensions/amp-story/1.0/amp-story-page.js:1789
↓ 1 callersMethodstopTimer_
* @param {!Window} win * @restricted
extensions/amp-analytics/0.1/events.js:1127
↓ 1 callersMethodstopUsed_
* Stop calculating the used value if there are no more subscribers left. * * @param {IContextPropUsed<?, DEP>} used * @private * @template
src/core/context/values.js:427
↓ 1 callersMethodstop_
@private
extensions/amp-bodymovin-animation/0.1/amp-bodymovin-animation.js:225
↓ 1 callersFunctionstore
* Stores a new cidString in localStorage. Adds the current time to the * stored value. * @param {!./ampdoc-impl.AmpDoc} ampdoc * @param {!Promise}
src/service/cid-impl.js:561
↓ 1 callersFunctionstoreBundleSize
* Store the bundle sizes for a commit hash in the build artifacts storage * repository to the passed value. * @return {Promise<void>}
build-system/tasks/bundle-size/index.js:100
↓ 1 callersMethodstoreConsentId_
* @param {string} consentId * @private
extensions/amp-story/1.0/amp-story-consent.js:340
↓ 1 callersMethodstoreLastKnownPermission_
* @private * @return {Promise} * * Store the notification permission before the user clicks the Subscribe * button, because the permission
extensions/amp-web-push/0.1/web-push-service.js:530
↓ 1 callersFunctionstreamDocument
* @param {string} url * @param {!WritableStreamDefaultWriter} writer * @return {!Promise}
examples/pwa/pwa.js:411
↓ 1 callersMethodstreamResponse_
* Start streaming response into the detached document. * @param {!Response} httpResponse * @param {function()} checkStillCurrent * @return {P
extensions/amp-a4a/0.1/amp-a4a.js:973
↓ 1 callersFunctionstringToBytes
* Converts a string which holds 8-bit code points, such as the result of atob, * into a Uint8Array with the corresponding bytes. * If you have a str
third_party/subscriptions-project/swg-gaa.js:346
↓ 1 callersFunctionstringToPath
(e)
third_party/react-dates/bundle.js:1
↓ 1 callersMethodstringValueOf_
* Returns the expression result string for a binding to `property`. * @param {string} property * @param {BindExpressionResultDef} result * @r
extensions/amp-bind/0.1/bind-evaluator.js:252
↓ 1 callersFunctionstringifyHeaderValues
* Takes any parsed header values from the object that are not strings and * converts them back to the orginal stringified version. * TODO above indi
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:462
↓ 1 callersMethodstringifyPingbackData_
* Format data for pingback * @param {./entitlement.Entitlement|Array<./entitlement.Entitlement>} entitlements * @return {string} * @private
extensions/amp-subscriptions/0.1/local-subscription-platform-remote.js:107
↓ 1 callersFunctionstringifyValidationErrorFields
* Transforms the fields in a ValidationError from number to string * @param {Object!} error a ValidationError whose values are numeric * @return {Ob
validator/cpp/engine/wasm/validator.js:60
↓ 1 callersFunctionstripColors
(str)
build-system/test-configs/jscodeshift/index.js:27
↓ 1 callersFunctionstripComments
* Strip Comments * @param {string} contents * @return {string}
build-system/test-configs/forbidden-terms.js:1073
↓ 1 callersFunctionstripNULs
(s)
third_party/caja/html-sanitizer.js:1556
↓ 1 callersMethodstripNULs_
* Removes null characters on the string. * @param {string} s The string to have the null characters removed. * @return {string} A string without
validator/js/engine/htmlparser.js:685
↓ 1 callersFunctionstripPrefixCamelCase
* @param {string} input * @param {string} prefix * @return {*} TODO(#23582): Specify return type
3p/twitter.js:115
↓ 1 callersFunctionstripSpace
()
third_party/mustache/mustache.js:109
↓ 1 callersFunctionstubAnalyticsVariableService
()
extensions/amp-analytics/0.1/test/test-config.js:1003
↓ 1 callersFunctionstubCreateHash
* A stubs create-hash then calls the provided function. * @param {Function} fn
build-system/babel-plugins/babel-plugin-transform-jss/test/index.js:38
↓ 1 callersFunctionstubLogger
()
testing/console-logging-setup.js:170
↓ 1 callersFunctionstubMutate
()
test/unit/test-standard-actions.js:36
↓ 1 callersFunctionstubMutatorForDoc
()
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:106
← previousnext →11,601–11,700 of 18,703, ranked by callers