MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersFunctionstripSpace
()
src/bento/third_party/mustache/mustache.js:135
↓ 2 callersFunctionstripSuffix
(s)
build-system/babel-config/import-resolver.js:31
↓ 2 callersFunctionstripUserError
(message)
src/core/error/message-helpers.js:53
↓ 2 callersFunctionstubAllCriteriaMet
()
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:55
↓ 2 callersFunctionstubAllocateVariant
(sandbox, config)
extensions/amp-experiment/1.0/test/test-amp-experiment.js:78
↓ 2 callersFunctionstubAmpAutocomplete
(attributes)
extensions/amp-autocomplete/0.1/test/test-amp-autocomplete-bindings.js:23
↓ 2 callersFunctionstubAsyncErrorThrows
* Initializes the stubs to prevent async errors from being thrown during tests.
testing/async-errors.js:21
↓ 2 callersFunctionstubCollapseFrameForTesting
(implFn)
ads/inabox/frame-overlay-helper.js:126
↓ 2 callersFunctionstubHasBeenVisible
(visibility)
test/unit/test-performance.js:557
↓ 2 callersFunctionstubLegacyElements
(win)
src/service/extensions-impl.js:639
↓ 2 callersFunctionstubMeasureIntersection
(target, time, intersectionRatio)
extensions/amp-video-iframe/0.1/test/test-amp-video-iframe.js:94
↓ 2 callersFunctionstubUrlReplacementService
()
extensions/amp-analytics/0.1/test/test-config.js:992
↓ 2 callersFunctionstubUrlService
(sandbox)
extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js:18
↓ 2 callersFunctionstubValidationMessage
(input)
extensions/amp-form/0.1/test/test-form-validators.js:21
↓ 2 callersFunctionstyleLoaded
* Checks whether a style element was registered in the DOM. * @param {!Document|!ShadowRoot} doc * @param {!Element} style * @return {boolean}
src/style-installer.js:271
↓ 2 callersFunctionstyleLoaded
()
testing/iframe.js:311
↓ 2 callersFunctionsubClass
* Setups up prototype inheritance * * @param {!SUPER} superClass * @param {!SUB} subClass * @template SUPER * @template SUB
src/polyfills/custom-elements.js:796
↓ 2 callersMethodsubscribe
* Subscribes the user to web push notifications. * * This action is exposed from this service and is called from the config * element. *
extensions/amp-web-push/0.1/web-push-service.js:688
↓ 2 callersMethodsubscribeForPushRemotely
* Requests the service worker to complete subscribing the user. * @return {Promise}
extensions/amp-web-push/0.1/web-push-service.js:379
↓ 2 callersMethodswapPoolMediaElementOutOfDom_
* Removes a pool media element from the DOM and replaces it with the video * that it originally replaced. * @param {!PoolBoundElementDef} poolMe
extensions/amp-story/1.0/media-pool.js:584
↓ 2 callersMethodswipeMove_
* * @param {!SwipeDef} data The data for the swipe. * @param {boolean} isLast If this move is the last movement for the swipe.
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:294
↓ 2 callersMethodswipeMove_
* * @param {!SwipeDef} data The data for the swipe. * @param {boolean} isLast If this move is the last movement for the swipe.
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:294
↓ 2 callersFunctionswipeRight
()
test/unit/test-amp-story-player.js:75
↓ 2 callersMethodswitchTab_
* Switches the tab shown by activating the tab button and switching the contents. * @param {!DevToolsTab} tab
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools.js:215
↓ 2 callersMethodswitchToLowerBitrate_
* Switches the video to use a lower bitrate if available. * This should be called if the video is currently in waiting mode. * @param {!Element}
extensions/amp-video/0.1/flexible-bitrate.js:237
↓ 2 callersMethodswitchToShadowInternal_
. * @param {!ElementHandle<!WebElement>} handle * @param {function(): any} getter * @return {!Promise<void>}
build-system/tasks/e2e/selenium-webdriver-controller.js:668
↓ 2 callersMethodswitchTo_
* @param {string} targetPageId * @param {!NavigationDirection} direction * @private
extensions/amp-story/1.0/amp-story-page.js:1621
↓ 2 callersFunctionsync
(value)
test/unit/test-loading-indicator.js:56
↓ 2 callersFunctionsyncResolve
(v)
test/unit/utils/test-log.js:674
↓ 2 callersFunctionsystemShareSupported
(viewer, platform)
extensions/amp-social-share/1.0/amp-social-share.js:68
↓ 2 callersFunctionta
()
third_party/wgxpath/wgxpath.js:32
↓ 2 callersFunctiontag
* @param {!Window} global * @param {!Object} data
ads/vendors/pulsepoint.js:23
↓ 2 callersFunctiontagUsage
* @param {CompilerNode} node * @param {string} opt_name
build-system/eslint-rules/html-template.js:77
↓ 2 callersMethodtakeOwnershipOfDescendants_
* Takes ownership of all AMP element descendants. * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:193
↓ 2 callersMethodtakeRecords
()
test/unit/polyfills/test-intersection-observer.js:30
↓ 2 callersMethodtakeRecords
@return {!Array<!IntersectionObserverEntry>}
src/polyfills/stubs/intersection-observer-stub.js:219
↓ 2 callersMethodtakeRecords_
()
testing/fake-dom.js:743
↓ 2 callersMethodtearDownElement_
* Undoes set up by removing element record and and resets `top` style. * Does _not_ return the element from the transfer layer. * * @param {!
src/service/fixed-layer.js:745
↓ 2 callersMethodtearDownSlot
* Attempts to tear down and set all state variables to initial conditions. * @protected
extensions/amp-a4a/0.1/amp-a4a.js:1463
↓ 2 callersMethodtearDownSlot
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1186
↓ 2 callersFunctiontemplateContentClone
(template)
src/core/dom/index.js:303
↓ 2 callersFunctiontemplateFunc
(name, variants, fn, describeFunc)
testing/describes.js:247
↓ 2 callersFunctiontest
()
build-system/babel-plugins/babel-plugin-transform-inline-isenumvalue/test/fixtures/transform-assertions/enumvalues/input.mjs:22
↓ 2 callersFunctiontestControlsActivatedBy
(tapOrHover)
examples/visual-tests/amp-video-docking/amp-video-docking.js:46
↓ 2 callersFunctiontestElementR1
(implClass, options = {})
testing/element-v1.js:125
↓ 2 callersFunctiontestIframe
(iframe, id)
extensions/amp-iframely/0.1/test/test-amp-iframely.js:46
↓ 2 callersFunctiontestIframe
(iframe)
extensions/amp-instagram/0.1/test/test-amp-instagram.js:72
↓ 2 callersFunctiontestIframe
(elem, impl)
extensions/amp-byside-content/0.1/test/test-amp-byside-content.js:53
↓ 2 callersFunctiontestPositionCallback
()
test/unit/inabox/test-inabox-viewport.js:141
↓ 2 callersFunctiontestRewritten
()
extensions/amp-install-serviceworker/0.1/test/test-amp-install-serviceworker.js:691
↓ 2 callersMethodthenAlways
* Callback for regardless whether the animation succeeds or fails. * @param {!Function=} opt_callback * @return {!Promise}
src/utils/animation.js:217
↓ 2 callersFunctionthirdPartyBootstrap
* Copies frame.html to output folder, replaces js references to minified * copies, and generates symlink to it. * * @param {string} input * @param
build-system/tasks/helpers.js:651
↓ 2 callersFunctionthrottleByAnimationFrame
* @param {!Window} win * @param {function(...*)} fn * @return {function(...*)}
extensions/amp-video-docking/0.1/amp-video-docking.js:143
↓ 2 callersMethodtickCountDown_
* @param {number} differentBetween * @private
extensions/amp-date-countdown/0.1/amp-date-countdown.js:190
↓ 2 callersFunctiontimeZ
(yyyy, mm, dd, hours, minutes)
build-system/common/update-session-issues/index.js:297
↓ 2 callersFunctiontimeoutCallback
* Callback invoked after the specified delay. It will further postpone * invocation of the original function delegating it to the *
third_party/resize-observer-polyfill/ResizeObserver.js:773
↓ 2 callersFunctiontimeoutFontFaces
* Sets font faces that haven't been loaded by the time this was called to * `font-display: swap` in supported browsers. * See https://developer.mozi
src/font-stylesheet-timeout.js:112
↓ 2 callersFunctionto
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctiontoLowerCase
(str)
validator/js/engine/htmlparser-interface.js:6
↓ 2 callersFunctiontoNumber
(e)
third_party/react-dates/bundle.js:1
↓ 2 callersFunctiontoStructuredCloneable
(input, init)
src/utils/xhr-utils.js:70
↓ 2 callersFunctiontoggleA11yReadable
(el, isVisible)
extensions/amp-story/1.0/utils.js:367
↓ 2 callersMethodtoggleAutoplay_
* Toggles the current autoplay state, or forces it if the enable * argument is given. * @param {boolean=} enable
extensions/amp-carousel/0.2/amp-carousel.js:665
↓ 2 callersMethodtoggleAutoplay_
* Called by toggleAutoplay action to toggle the autoplay feature. * @param {boolean} toggleOn * @private
extensions/amp-carousel/0.1/slidescroll.js:1088
↓ 2 callersMethodtoggleCaptions_
* Shows or hides the captions for all elements that implement toggleCaptions. * @param {boolean} captionsState * @return {!Promise}
extensions/amp-story/1.0/amp-story-page.js:2041
↓ 2 callersMethodtoggleDeviceChipsWithSpaceAvailable_
* Disable the chips in the dialog based on whether they have the remaining space available * Must be called in a mutate context. * @private
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:821
↓ 2 callersFunctiontoggleMuted
(video, muted)
ads/google/ima/ima-video.js:1190
↓ 2 callersMethodtogglePaused_
* Makes the current story play or pause its content/auto-advance * @param {boolean} paused If true, the story will be paused, and it will be played
src/amp-story-player/amp-story-player-impl.js:366
↓ 2 callersFunctiontoggleScrollable
(page, toggle)
examples/visual-tests/amp-video-docking/amp-video-docking.js:8
↓ 2 callersMethodtoggleZoomButtonIn_
* @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:881
↓ 2 callersMethodtoggleZoomButtonOut_
* @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:891
↓ 2 callersFunctiontokenizeString
* Takes a string, removes '.', and splits by special characters. * Returns the resulting array of tokens.
src/bento/components/bento-autocomplete/1.0/component/token-prefix-match.ts:7
↓ 2 callersFunctiontr
(n,t,e)
third_party/d3/d3.js:2
↓ 2 callersFunctiontransform
* @param {string} contents * @param {string=} opt_filename * @return {Promise<CssTransformResultDef>}
build-system/tasks/css/jsify-css.js:159
↓ 2 callersFunctiontransform
(x, y, scale)
extensions/amp-video-docking/0.1/amp-video-docking.js:136
↓ 2 callersFunctiontransformCssSync
* Synchronously transforms a css string using postcss. * @param {string} cssStr the css text to transform * @param {!Object=} opt_cssnano cssnano o
build-system/tasks/css/jsify-css-sync.js:16
↓ 2 callersFunctiontransformMatrix
(x, y, scale)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:147
↓ 2 callersFunctiontransformScript
* @param {string} file * @return {string}
build-system/common/update-packages.js:148
↓ 2 callersMethodtransformSrcDoc_
* Transforms the srcdoc attribute if present to an equivalent data URI. * * It may be OK to change this later to leave the `srcdoc` in place and
extensions/amp-iframe/0.1/amp-iframe.js:234
↓ 2 callersMethodtransitionImg_
* Transitions the sourceElement into the lightbox or the lightbox to the * sourceElement. * @param {!Element} sourceElement The element that is
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:836
↓ 2 callersMethodtreatAsList_
* @return {boolean} True if we should treat the carousel as a list, false if * we should expose a single slide at a time.
extensions/amp-base-carousel/0.1/carousel-accessibility.js:114
↓ 2 callersMethodtriggerAnalyticsEvent_
* Wrapper around {@code triggerAnalyticsEvent}. * @param {string} eventType * @param {string} toURL The new url after the event. * @param {st
extensions/amp-next-page/0.1/next-page-service.js:588
↓ 2 callersMethodtriggerAnalytics_
* Triggers the analytics event for quiz response. * * @param {number} optionIndex * @private
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:533
↓ 2 callersMethodtriggerEvent_
* Triggeres event to window. * * @param {string} name * @param {!ActionTrust_Enum} trust * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:863
↓ 2 callersMethodtriggerEvent_
* @param {string} name * @param {!ActionTrust_Enum} trust * @private
extensions/amp-sidebar/0.2/amp-sidebar.js:714
↓ 2 callersMethodtriggerEvent_
* @param {string} name * @param {!ActionTrust_Enum} trust * @private
extensions/amp-sidebar/0.1/amp-sidebar.js:730
↓ 2 callersMethodtriggerFetchErrorEvent_
* Trigger a fetch-error event * @param {*} error
extensions/amp-list/0.1/amp-list.js:696
↓ 2 callersMethodtriggerLinkProgress
* @return {boolean} Whether the callback has been found.
third_party/subscriptions-project/swg.js:9100
↓ 2 callersMethodtriggerScrollEvents_
* @param {!{[key: number]: boolean}} bounds * @param {number} scrollPos Number representing the current scroll * @param {string} varName variabl
extensions/amp-analytics/0.1/events.js:815
↓ 2 callersMethodtriggerScroll_
* Dispatches the `scroll` event (at most every animation frame) * * This event is triggered only when position-observer triggers which is * a
extensions/amp-position-observer/0.1/amp-position-observer.js:155
↓ 2 callersFunctiontruncAndTimeUrl
(baseUrl, parameters, startTime)
ads/google/a4a/utils.js:385
↓ 2 callersFunctiontruncate
* @param {!Node} node The node to truncate. * @param {string} originalText The original text of the node, used for * restoring on subsequent trun
extensions/amp-truncate-text/0.1/truncate-text.js:120
↓ 2 callersFunctiontruncateYyyyMmDd
(formattedDate)
build-system/tasks/sweep-experiments/index.js:210
↓ 2 callersMethodtruncate_
* Truncates the content of the element. * @private
extensions/amp-truncate-text/0.1/amp-truncate-text.js:206
↓ 2 callersMethodtrustForSubmitResponse_
* Returns the action trust for submit-success and submit-error events. * @param {!ActionTrust_Enum} incomingTrust * @return {!ActionTrust_Enum}
extensions/amp-form/0.1/amp-form.js:966
↓ 2 callersFunctiontryParseJson
* Parses the given `json` string without throwing an exception if not valid. * Returns `undefined` if parsing fails. * Returns the `Object` correspo
third_party/subscriptions-project/swg-gaa.js:436
↓ 2 callersFunctiontryParseRrulestr
* Tries to parse a string into an RRULE object. * @param {string} str A string which represents a repeating date RRULE spec. * @return {?RRule}
extensions/amp-date-picker/1.0/component/dates-list.js:27
↓ 2 callersFunctiontryParseRrulestr
* Tries to parse a string into an RRULE object. * @param {string} str A string which represents a repeating date RRULE spec. * @return {?RRule}
extensions/amp-date-picker/0.1/dates-list.js:153
↓ 2 callersMethodtryToDecryptDocumentImpl_
* @private * @param {string} decryptedDocumentKey * @return {!Promise}
extensions/amp-subscriptions/0.1/crypto-handler.js:102
↓ 2 callersMethodtryUpgrade_
* Try to upgrade the element with the provided implementation. * @return {!Promise|undefined} * @private @final
src/custom-element.js:1303
← previousnext →7,001–7,100 of 18,703, ranked by callers