MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersFunctionisIos
* Checks whether or not the userAgent of the current device indicates that * this is an Ios device. Checked for 'mailto:' and 'sms:' protocols which
src/bento/components/bento-social-share/1.0/component.js:247
↓ 1 callersFunctionisLandscape
* @param {!Window} win * @return {boolean}
src/service/video-manager-impl.js:1367
↓ 1 callersMethodisLandscape_
* @return {boolean} True if the screen orientation is landscape. * @private
extensions/amp-story/1.0/amp-story.js:2002
↓ 1 callersFunctionisLargeRefactor
* Returns true if the PR is a large refactor. * (Used to skip testing local changes.) * @return {boolean}
build-system/tasks/runtime-test/helpers-unit.js:27
↓ 1 callersFunctionisLayoutSupported
@override
extensions/amp-story-shopping/0.1/amp-story-shopping-tag.js:186
↓ 1 callersMethodisLayoutSupported
* Intended to be implemented by subclasses. Tests whether the element * supports the specified layout. By default only Layout_Enum.NODISPLAY is
src/base-element.js:383
↓ 1 callersMethodisLayoutSupported
@override
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:414
↓ 1 callersMethodisLayoutViewportNarrow_
* Estimate if the viewport has a narrow layout. * @param {!Element} element * @return {boolean} * @private
extensions/amp-auto-ads/0.1/placement.js:313
↓ 1 callersFunctionisLegacyEdgeBrowser
* Returns true if current browser is a legacy version of Edge. * * Starting in January 2020, new versions of Edge will use the Chromium engine. * T
third_party/subscriptions-project/swg.js:3778
↓ 1 callersMethodisLegacyOptIn_
* If the document has existing cid meta tag they do not need to explicitly * opt-in to use linker. * @return {boolean} * @private
extensions/amp-analytics/0.1/linker-manager.js:208
↓ 1 callersFunctionisLightbox
* @param {!Element} el * @return {boolean}
src/service/fixed-layer.js:37
↓ 1 callersFunctionisLightboxEligible
* @param {Element} element * @return {boolean}
src/bento/components/bento-lightbox-gallery/1.0/base-element.js:197
↓ 1 callersMethodisLightboxExperimentOn
* @return {boolean} * @visibleForTesting
src/service/viewport/viewport-impl.js:691
↓ 1 callersFunctionisLinkToFileIntroducedByPR
* Determines if a link points to a file added, copied, or renamed in the PR. * * @param {string} link Link being tested. * @return {boolean} True i
build-system/tasks/check-links.js:85
↓ 1 callersMethodisListed_
* @param {!Element} anchor * @return {boolean}
extensions/amp-link-rewriter/0.1/link-rewriter.js:111
↓ 1 callersFunctionisLoadErrorMessage
(message)
src/utils/event-helper.js:254
↓ 1 callersFunctionisLongTaskApiSupported
(win)
extensions/amp-analytics/0.1/iframe-transport.js:328
↓ 1 callersMethodisMacroInvocationNode_
* @param {!./bind-expr-defines.AstNode} ast * @return {boolean} * @private
extensions/amp-bind/0.1/bind-expression.js:279
↓ 1 callersFunctionisMaliciousPath
* @param {string} path * @param {string} rootPath * @return {boolean}
build-system/server/app-index/util/listing.js:11
↓ 1 callersFunctionisMap
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersMethodisMaskOutputElement
* Detect if an element is a hidden element paired with a masked input. * @param {!Element} element * @return {boolean}
extensions/amp-inputmask/0.1/text-mask.js:28
↓ 1 callersMethodisMasked
* Detect if an element has input mask behavior attached. * @param {!Element} element * @return {boolean}
extensions/amp-inputmask/0.1/text-mask.js:19
↓ 1 callersMethodisMaster_
@return {boolean}
3p/ampcontext-integration.js:76
↓ 1 callersMethodisMaxAdCountReached
* @return {boolean}
extensions/amp-auto-ads/0.1/ad-tracker.js:84
↓ 1 callersMethodisMessageOptionsSupported_
* @param {!Window} win * @return {boolean}
3p/iframe-messaging-client.js:234
↓ 1 callersFunctionisMobileDevice
* @description * regex for detecting mobile devices. * (including blackberry and other rare mobile devices). * @return {boolean}
extensions/amp-apester-media/0.1/utils.js:55
↓ 1 callersFunctionisModernChrome
()
test/unit/test-crypto.js:125
↓ 1 callersFunctionisNative
* Returns `true` if the passed function is native to the browser, and is not * polyfilled * @param {Function|undefined} func A function that is atta
src/core/dom/web-components.js:78
↓ 1 callersFunctionisNative
* Returns `true` if the passed function exists and is native to the browser. * @param {Function|undefined} func * @return {boolean}
extensions/amp-a4a/0.1/amp-a4a.js:2609
↓ 1 callersMethodisNavigationalClick_
* Determines whether a click should be used for navigation. Navigate should * occur unless the click is on the system layer, or on an element that
extensions/amp-story/1.0/page-advancement.js:445
↓ 1 callersFunctionisNonNullObject
(e)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionisNonNullablePrimitiveName
* True if the given name matches a primitive type * @param {string} name * @return {boolean}
build-system/eslint-rules/closure-type-primitives.js:170
↓ 1 callersMethodisNorm
* @return {boolean}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:321
↓ 1 callersMethodisNorm
@override
extensions/amp-animation/0.1/parsers/css-expr-ast.js:426
↓ 1 callersMethodisNorm
@override
extensions/amp-animation/0.1/parsers/css-expr-ast.js:499
↓ 1 callersMethodisNorm
@override
extensions/amp-animation/0.1/parsers/css-expr-ast.js:536
↓ 1 callersMethodisNotFiltered_
* Check if anchor is not filtered by attribute or section scope * * @param {!Element} anchor * @return {boolean} * @private
extensions/amp-link-rewriter/0.1/link-rewriter.js:99
↓ 1 callersFunctionisNumber
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionisObject
(val)
ads/vendors/affinity.js:36
↓ 1 callersFunctionisObjectLike
(e)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionisObjectProperty
(node, name)
build-system/compile/json-schema/index.js:178
↓ 1 callersMethodisOn
@override
testing/describes.js:694
↓ 1 callersFunctionisPatched
* Was HTMLElement already patched for this window? * * @param {!Window} win * @return {boolean}
src/polyfills/custom-elements.js:83
↓ 1 callersMethodisPinchReady_
* @return {boolean} * @private
src/gesture-recognizers.js:795
↓ 1 callersMethodisPinchRejected_
* @return {boolean} * @private
src/gesture-recognizers.js:811
↓ 1 callersMethodisPlaybackManaged
@return {boolean}
src/service/video-manager-impl.js:604
↓ 1 callersMethodisPlaying
* Get playing state of audio * @return {boolean} Returns true if audio is playing
extensions/amp-audio/1.0/component.type.js:43
↓ 1 callersMethodisPlaying_
* @param {?VideoOrBaseElementDef} optVideo * @return {boolean} * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:709
↓ 1 callersMethodisPoolMediaElement_
* @param {!DomElementDef} mediaElement * @return {boolean} * @private
extensions/amp-story/1.0/media-pool.js:320
↓ 1 callersMethodisPositionCenterOnDesktop
* Returns whether the dialog is center-positioned on desktop screens. * @return {boolean}
third_party/subscriptions-project/swg.js:11049
↓ 1 callersFunctionisPositionFixed
* Determines if an element is fixed-positioned. * OK to use, because it's only called from onLayoutMeasure * @param {!Element} el * @param {!Window
src/ad-helper.js:27
↓ 1 callersFunctionisPositionValid
* @param {!Element} anchorElement * @param {!Position} position * @return {boolean}
extensions/amp-auto-ads/0.1/placement.js:443
↓ 1 callersFunctionisPrimitiveWrapperName
* Disallowed primitives wrappers, from * go/es6-style#disallowed-features-wrapper-objects * @param {string} name * @return {boolean}
build-system/eslint-rules/closure-type-primitives.js:105
↓ 1 callersFunctionisProductPage
(doc, metaElements)
extensions/amp-addthis/0.1/addthis-utils/classify.js:244
↓ 1 callersFunctionisPromise
(obj)
src/core/types/index.js:33
↓ 1 callersMethodisProtectedTarget_
* We want clicks on certain elements to be exempted from normal page * navigation * @param {!Event} event * @return {boolean} * @private
extensions/amp-story/1.0/page-advancement.js:462
↓ 1 callersMethodisProtocolMatch_
* Only matching protocols should use Linker parameters. * @param {Location} location * @return {boolean}
extensions/amp-analytics/0.1/linker-manager.js:348
↓ 1 callersFunctionisProtocolValid
(url)
src/url.js:424
↓ 1 callersMethodisPublisherEvent
* @param {!../api/client-event-manager-api.ClientEvent} event * @return {boolean}
third_party/subscriptions-project/swg.js:7223
↓ 1 callersFunctionisPushBuild
* Returns true if this is a push build. * @return {boolean}
build-system/common/ci.js:77
↓ 1 callersMethodisQuerySupported_
* Returns a Promise that resolves when the helper iframe responds with * whether the messenger query is supported. * * This special query is
extensions/amp-web-push/0.1/web-push-service.js:835
↓ 1 callersFunctionisReactElement
(e)
third_party/react-dates/bundle.js:1
↓ 1 callersMethodisReady
* A callback called to check whether the element is ready for rendering. * @param {JsonObject} unusedProps * @return {boolean} * @protected
src/preact/base-element.js:547
↓ 1 callersMethodisReady
@override
extensions/amp-subscriptions/0.1/doc-impl.js:50
↓ 1 callersMethodisReadyToPayApiV2ForChromePaymentRequest_
* Handle is ready to pay for api v2. * * @param {!IsReadyToPayRequest} isReadyToPayRequest * @return {!Promise} The promise will contain the
third_party/subscriptions-project/swg.js:17530
↓ 1 callersMethodisReadyToPay_
* Actual implementation of isReadyToPay in a private method so that * we can add callbacks to the promise to measure latencies. * * @param {!
third_party/subscriptions-project/swg.js:17484
↓ 1 callersFunctionisReferrerPolicySupported
* Check if element attribute "referrerPolicy" is supported by the browser. * Safari 11.1 does not support it yet. * * @return {boolean}
src/pixel.js:141
↓ 1 callersMethodisReferrerProxyOrigin_
* @return {boolean}
src/service/cid-api.js:194
↓ 1 callersFunctionisRegExp
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionisRemovableMethod
* @param {!NodePath} path * @param {!Array<string>} names * @return {boolean}
build-system/babel-plugins/babel-plugin-transform-amp-asserts/index.js:30
↓ 1 callersFunctionisRenderDelayingService
(service)
src/render-delaying-services.js:99
↓ 1 callersFunctionisReportValiditySupported
* Returns whether reportValidity API is supported. * @param {?Document} doc * @return {boolean}
extensions/amp-form/0.1/form-validators.js:544
↓ 1 callersFunctionisRequire
* True if the node name is `require` * @param {!Object} node An AST node * @return {boolean}
third_party/react-dates/scope-require.js:50
↓ 1 callersFunctionisReservedTriggerType
* @param {string} triggerType * @return {boolean}
extensions/amp-analytics/0.1/events.js:191
↓ 1 callersFunctionisResponsiveAd
* @param {!Object} banner * @return {boolean}
ads/vendors/capirs.js:81
↓ 1 callersFunctionisRetriable
* If 415 or in the 5xx range. * @param {number} status * @return {boolean}
src/utils/xhr-utils.js:356
↓ 1 callersFunctionisRetriable
* If 415 or in the 5xx range. * @param {number} status
third_party/subscriptions-project/swg.js:13577
↓ 1 callersMethodisRewritten_
* Check if the anchor element was already shifted * @param {!Element} anchor * @return {boolean} * @private
extensions/amp-link-rewriter/0.1/link-rewriter.js:85
↓ 1 callersMethodisRuntimeOn
@override
src/service/viewer-impl.js:411
↓ 1 callersMethodisSafari12OrAbove_
* If the browser is Safari 12 or above. * @return {boolean} * @private
extensions/amp-analytics/0.1/linker-manager.js:228
↓ 1 callersMethodisSampledIn_
* @param {!JsonObject} trigger The config to use to determine sampling. * @return {!Promise<boolean>} Whether the request should be sampled in or
extensions/amp-analytics/0.1/amp-analytics.js:723
↓ 1 callersMethodisScrollAtBeginningEdge_
* @return {boolean} True if the scrolling is at the left edge of the * carousel for LTR and right edge for RTL. * @private
extensions/amp-base-carousel/0.1/carousel.js:949
↓ 1 callersMethodisScrollAtEndingEdge_
* @return {boolean} True if the scrolling is at the right edge of the * carousel in LTR and left edge of the carousel if RTL. * @private
extensions/amp-base-carousel/0.1/carousel.js:928
↓ 1 callersMethodisScrollingUp
* @return {boolean}
extensions/amp-next-page/1.0/visibility-observer.js:242
↓ 1 callersFunctionisSearchUrl
(url = '')
extensions/amp-addthis/0.1/addthis-utils/classify.js:141
↓ 1 callersFunctionisSecure
* True for HTTPS URLs * @param {LocationDef=} parsedUrl Defaults to the current page's URL * @return {boolean}
third_party/subscriptions-project/swg.js:5437
↓ 1 callersMethodisServiceWorkerActivated
* Returns true if the service worker is activated, has the same URL as the * config service-worker-url attribute, and is controlling the AMP page.
extensions/amp-web-push/0.1/web-push-service.js:397
↓ 1 callersFunctionisSet
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionisShadowDomStreamingSupported
(win)
src/shadow-embed.js:308
↓ 1 callersFunctionisShadowRoot
(value)
src/core/dom/index.js:228
↓ 1 callersFunctionisSizer
* @param {!Element} el The Element to check. * @return {boolean} Whether or not the Element is a sizer Element.
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:48
↓ 1 callersFunctionisSizer
* @param {!Element} el The Element to check. * @return {boolean} Whether or not the Element is a sizer Element.
extensions/amp-base-carousel/0.1/amp-base-carousel.js:43
↓ 1 callersMethodisSkipped
()
testing/test-config.js:116
↓ 1 callersMethodisSmall_
* Whether the element is small. * Small elements get a different loader with does not have a logo and is * just a spinner. * @private * @r
extensions/amp-loader/0.1/amp-loader.js:332
↓ 1 callersFunctionisSpecial
(e)
third_party/react-dates/bundle.js:1
↓ 1 callersFunctionisSsrCss
()
src/core/mode/ssr-css.js:8
↓ 1 callersMethodisStandalone_
* @return {boolean} true if this is a standalone story (i.e. this story is * the only content of the document). * @private
extensions/amp-story/1.0/amp-story.js:2011
↓ 1 callersFunctionisString
(t)
third_party/react-dates/bundle.js:1
↓ 1 callersMethodisSwipeLargeEnoughForHint_
* @param {number} deltaX * @param {number} deltaY * @return {boolean} * @private
extensions/amp-story/1.0/amp-story.js:964
↓ 1 callersFunctionisSymbolObject
(t)
third_party/react-dates/bundle.js:1
← previousnext →9,901–10,000 of 18,703, ranked by callers