MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersMethodisAutoAdvance
* Returns whether the page will automatically advance * @return {boolean}
extensions/amp-story/1.0/amp-story-page.js:1982
↓ 2 callersMethodisAutomaticAdInsertionAllowed_
* Determines whether or not ad insertion is allowed based on how the story * is served, and the number of pages in the story. * @return {boolean
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:267
↓ 2 callersFunctionisCircleciPushBranch
* Used to filter CircleCI PR branches created directly on the amphtml repo * (e.g.) PRs created from the GitHub web UI. Must match `push_builds_only`
build-system/common/ci.js:57
↓ 2 callersMethodisConnected
* Whether the iframe is connected. * @return {boolean}
third_party/subscriptions-project/swg.js:10300
↓ 2 callersMethodisContinuingSubscriptionFromRedirect
* Returns true if this AMP page has a special URL query parameter suffix * indicating this page was redirected from the permission dialog. * @re
extensions/amp-web-push/0.1/web-push-service.js:248
↓ 2 callersFunctionisCookieAllowed
(win, element)
extensions/amp-analytics/0.1/cookie-reader.js:28
↓ 2 callersMethodisCurrentlyDocked_
* @param {!VideoOrBaseElementDef} video * @return {boolean}
extensions/amp-video-docking/0.1/amp-video-docking.js:1145
↓ 2 callersFunctionisDate
(t)
third_party/react-dates/bundle.js:1
↓ 2 callersFunctionisDelayedViewStart
* @param {!Object} data * @return {boolean}
ads/vendors/nativo.js:58
↓ 2 callersFunctionisDeprecatedCopyingToClipboardSupported
(doc)
src/core/window/clipboard.js:55
↓ 2 callersMethodisDomainMatch_
* Check to see if the url is a match for the given set of domains. * @param {Location} location * @param {string} name Name given in linker conf
extensions/amp-analytics/0.1/linker-manager.js:292
↓ 2 callersFunctionisDurationFiniteNonZero
(duration)
src/service/video-manager-impl.js:1416
↓ 2 callersFunctionisES6ClassFn
(t)
third_party/react-dates/bundle.js:1
↓ 2 callersFunctionisEnabledForDoc
(ampdoc)
extensions/amp-auto-lightbox/0.1/amp-auto-lightbox.js:388
↓ 2 callersFunctionisEntryFor
(entry, videoOrElement)
src/service/video-manager-impl.js:410
↓ 2 callersFunctionisExcludedAnchorUrl
(anchor, skimOptions)
extensions/amp-skimlinks/0.1/utils.js:61
↓ 2 callersFunctionisFirstMatch
(latestMatch, tokenGroup)
third_party/inputmask/inputmask.js:852
↓ 2 callersMethodisFluidRequest
* @return {boolean} True if 'fluid' is one of the requested sizes, false * otherwise.
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:2016
↓ 2 callersMethodisFullscreen
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:239
↓ 2 callersMethodisHistoryState_
* @param {*} maybeHistoryState * @return {boolean}
src/service/history-impl.js:921
↓ 2 callersFunctionisHttpOrHttpsUrl
* Convenience function to detect whether an argument is a URL. If not, * it may be a local file. * @param {string} url * @return {boolean}
validator/js/nodejs/index.js:31
↓ 2 callersFunctionisIframeReady
* Returns `true` when iframe is ready. * @param {!HTMLIFrameElement} iframe * @return {boolean}
src/friendly-iframe-embed.js:257
↓ 2 callersFunctionisIgnored
* @private * @description * Utility to try to check if an element should be ignored by the algorithm. * Uses 'data-ignore' or user specified ignore
third_party/set-dom/set-dom.js:267
↓ 2 callersFunctionisIgnored
* @private * @description * Utility to try to check if an element should be ignored by the algorithm. * Uses 'data-ignore' or user specified ignore
third_party/set-dom/original.js:261
↓ 2 callersMethodisInLandscape
* @return {boolean} * @visibleForTesting
src/service/video-manager-impl.js:1138
↓ 2 callersMethodisInLongTask
* @return {boolean}
extensions/amp-script/0.1/user-activation-tracker.js:105
↓ 2 callersMethodisInStoryPageSideEdge_
* Checks if click was inside of one of the side edges of the page. * @param {!Event} event * @param {!ClientRect} pageRect * @return {boolean
extensions/amp-story/1.0/page-advancement.js:618
↓ 2 callersMethodisInTrustedDomain_
* @private * @return {boolean}
third_party/subscriptions-project/swg.js:17735
↓ 2 callersFunctionisInViewportForTopAxis
* @param {?PositionObserverEntryDef} entry * @param {!./fx-provider.FxElement} fxElement * @param {number} coeff * @return {boolean}
extensions/amp-fx-collection/0.1/providers/amp-fx-presets.js:101
↓ 2 callersFunctionisInputEventSupported
(eventName)
third_party/inputmask/inputmask.js:733
↓ 2 callersFunctionisInputPlaceholder
* @param {!Element} element * @return {boolean}
src/custom-element.js:2158
↓ 2 callersMethodisInterestingUrl_
* Skips over non HTTP/HTTPS URL. * @param {string} url * @return {boolean}
src/preconnect.js:255
↓ 2 callersFunctionisIntermediateExtension
* @param {string} extensionId * @return {boolean}
src/service/extension-script.js:291
↓ 2 callersFunctionisInternalOrServiceNode
(node)
src/core/dom/query.js:364
↓ 2 callersMethodisInvocationValid_
* Checks if the function is allowed to be called * @return {boolean}
extensions/amp-audio/0.1/amp-audio.js:239
↓ 2 callersMethodisIosWebView_
* @return {boolean} * @private
extensions/amp-sidebar/0.2/amp-sidebar.js:723
↓ 2 callersMethodisIosWebView_
* @return {boolean} * @private
extensions/amp-sidebar/0.1/amp-sidebar.js:739
↓ 2 callersFunctionisJsonLdScriptTag
(element)
src/core/dom/index.js:344
↓ 2 callersFunctionisJssFile
* @param {string} filename * @return {boolean}
build-system/babel-plugins/babel-plugin-transform-jss/index.js:46
↓ 2 callersMethodisLayoutAllowed_
* Returns whether the resource should be preloaded at this time. * The element must be measured by this time. * @param {!Resource} resource *
src/service/resources-impl.js:1500
↓ 2 callersMethodisLayoutSupported
(layout)
test/unit/preact/test-base-element-mapping.js:32
↓ 2 callersMethodisLayoutViewportNarrow
* Estimate if the viewport has a narrow layout. * @param {!Element} element * @return {boolean}
extensions/amp-ad-network-adsense-impl/0.1/responsive-state.js:453
↓ 2 callersMethodisLocked
* @return {boolean}
third_party/subscriptions-project/config.js:318
↓ 2 callersFunctionisMemberExpressionLeftwards
* @param {babel.NodePath<any>} path * @param {string[]} keys * @return {boolean}
build-system/compile/json-schema/index.js:207
↓ 2 callersMethodisMobile_
* Returns true if the window userAgent is a mobile platform. * @private
third_party/subscriptions-project/swg.js:11872
↓ 2 callersFunctionisMoved
* @param {!../layout-rect.LayoutRectDef} newRect * @param {!../layout-rect.LayoutRectDef} oldRect * @return {boolean}
src/inabox/inabox-viewport.js:881
↓ 2 callersMethodisMutationAllowedByFixedSize
* Returns true if mutations should be allowed based on container attributes. * @return {boolean}
extensions/amp-script/0.1/amp-script.js:490
↓ 2 callersMethodisMutationAllowedByUserGesture
* Returns true if mutations should be allowed based on recent user gesture. * @return {boolean}
extensions/amp-script/0.1/amp-script.js:498
↓ 2 callersMethodisMuted
@return {boolean}
src/service/video-manager-impl.js:599
↓ 2 callersMethodisNotificationRequiredGeo_
* Returns a promise that if user is in the given geoGroup * @param {string} geoGroup * @param {boolean} includeGeos * @return {Promise<boolea
extensions/amp-user-notification/0.1/amp-user-notification.js:203
↓ 2 callersMethodisOvertakeHistory
@override
src/service/viewer-impl.js:428
↓ 2 callersMethodisPageFree_
* Returns true if page is free. * @return {boolean} * @private
extensions/amp-subscriptions/0.1/amp-subscriptions.js:888
↓ 2 callersFunctionisPatternOrProperty
(node)
build-system/eslint-rules/no-deep-destructuring.js:18
↓ 2 callersMethodisPingbackEnabled
* Returns if pingback is enabled for this platform. * @return {boolean}
extensions/amp-subscriptions/0.1/subscription-platform.js:54
↓ 2 callersFunctionisPlatformSupported
(win)
extensions/amp-a4a/0.1/amp-a4a.js:2599
↓ 2 callersFunctionisPrerenderActivePage
(pageElement)
extensions/amp-story/1.0/prerender-active-page.js:11
↓ 2 callersMethodisPrerenderSafe
@override
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:594
↓ 2 callersFunctionisPreviewMode
(win)
extensions/amp-story/1.0/embed-mode.js:85
↓ 2 callersFunctionisProtectedAttributeName
* Determines whether an attribute is allowed to be removed or copied from * media elements. * @param {string} attributeName The attribute name to ch
extensions/amp-story/1.0/media-tasks.js:52
↓ 2 callersFunctionisProtectedCssClassName
* Determines whether a CSS class name is allowed to be removed or copied from * media elements. * @param {string} cssClassName The CSS class name na
extensions/amp-story/1.0/media-tasks.js:40
↓ 2 callersFunctionisProtocolValid
* Returns whether the URL has valid protocol. * Deep link protocol is valid, but not javascript etc. * @param {string|!URL} url * @return {bo
src/preact/utils/url.js:41
↓ 2 callersFunctionisPureFnCallExpression
* @param {import('@babel/core').NodePath<import('@babel/types').CallExpression>} path * @return {boolean}
build-system/babel-plugins/babel-plugin-deep-pure/index.js:45
↓ 2 callersMethodisReady
* Returns `true` if document is ready. * * See `whenReady`. * * @return {boolean}
src/service/ampdoc-impl.js:513
↓ 2 callersMethodisRelayoutNeeded
* Subclasses can override this method to opt-in into receiving additional * {@link layoutCallback} calls. Note that this method is not consulted fo
src/base-element.js:576
↓ 2 callersFunctionisReportingEnabled
(ampElement)
ads/google/a4a/utils.js:151
↓ 2 callersFunctionisResized
* @param {!../layout-rect.LayoutRectDef} newRect * @param {!../layout-rect.LayoutRectDef} oldRect * @return {boolean}
src/inabox/inabox-viewport.js:890
↓ 2 callersMethodisRollingAd
@return {boolean}
src/service/video-manager-impl.js:976
↓ 2 callersFunctionisScopeSelectorSupported
(el)
src/core/dom/css-selectors.js:24
↓ 2 callersFunctionisSelectedDate
(wrapper, date)
extensions/amp-date-picker/1.0/test/test-helpers.js:17
↓ 2 callersFunctionisSelection
(posObj)
third_party/inputmask/inputmask.js:1294
↓ 2 callersFunctionisShowable
* @param {!Element} element * @return {boolean}
src/service/standard-actions-impl.js:24
↓ 2 callersFunctionisSpecialCannotBeRemoved
(id)
build-system/tasks/sweep-experiments/index.js:31
↓ 2 callersFunctionisSrcdocSupported
()
src/friendly-iframe-embed.js:95
↓ 2 callersMethodisStandalone
* Whether the current browser is standalone. * @return {boolean}
src/service/platform-impl.js:109
↓ 2 callersMethodisStatusToken_
* @param {?string} token * @return {boolean}
src/service/cid-api.js:202
↓ 2 callersFunctionisSubsetOf
(source, target)
third_party/inputmask/inputmask.js:885
↓ 2 callersMethodisTiny_
* Very small layout are not eligible for new loaders. * @return {boolean}
extensions/amp-loader/0.1/amp-loader.js:342
↓ 2 callersFunctionisTouchNonValidationReadonly
* Detect if an element has been marked to receive the * `readonly` property on focus. * @param {!Element} element * @return {boolean}
extensions/amp-date-picker/0.1/amp-date-picker.js:1984
↓ 2 callersFunctionisTransformed
(ampdoc)
extensions/amp-story/1.0/utils.js:324
↓ 2 callersMethodisTrustedAncestorOrigins_
* Whether the viewer is has been allowlisted for more sensitive operations * by looking at the ancestorOrigins. * @return {boolean|undefined}
src/service/viewer-impl.js:593
↓ 2 callersFunctionisTrustedReferrer
(referrer)
src/impression.js:159
↓ 2 callersFunctionisUrlAttribute
(attrName)
src/url-rewrite.js:89
↓ 2 callersMethodisValidElement
@override
extensions/amp-ad-network-mgid-impl/0.1/amp-ad-network-mgid-impl.js:39
↓ 2 callersMethodisValidElement_
* Verifies if an element is valid based on the following * - child of an item of one the the ALLOWED_TYPES * - not a child of an item of any oth
third_party/subscriptions-project/config.js:1027
↓ 2 callersMethodisValidHelperOrPermissionDialogUrl_
* @private * @param {string} url * @return {boolean}
extensions/amp-web-push/0.1/amp-web-push-config.js:257
↓ 2 callersFunctionisValidOrigin
( url: URL, looseOriginUrlCheck?: boolean )
build-system/server/new-server/transforms/utilities/cdn-tag.ts:21
↓ 2 callersFunctionisValidScript
( node: posthtml.Node, looseOriginUrlCheck?: boolean )
build-system/server/new-server/transforms/utilities/cdn-tag.ts:42
↓ 2 callersFunctionisValidSelector
* @param {string} selector * @return {boolean}
build-system/eslint-rules/query-selector.js:191
↓ 2 callersFunctionisValidServeMode
* * @param {string} serveMode * @return {boolean}
build-system/server/app.js:106
↓ 2 callersFunctionisValidStyleOrClassValue
* @param {import('eslint').Node} node * @param {boolean} isClass * @return {boolean}
build-system/eslint-rules/core-dom-jsx.js:14
↓ 2 callersFunctionisVar
* @param {string} property * @return {boolean}
src/core/dom/style.js:337
↓ 2 callersMethodisVerticalCenterExperimentEnabled_
* @param {!PaymentDataRequest} paymentDataRequest * @return {boolean} * @private
third_party/subscriptions-project/swg.js:16801
↓ 2 callersMethodisVideoInterfaceVideo_
* Determines whether the element for auto advancement implements the video * interface. * @return {boolean} true, if the specified element imple
extensions/amp-story/1.0/page-advancement.js:1039
↓ 2 callersMethodisVideoSupported_
@private
extensions/amp-video/0.1/amp-video.js:816
↓ 2 callersMethodisVisibilityHidden_
* Whether the AMP doc is hidden. * @return {boolean}
src/service/performance-impl.js:537
↓ 2 callersMethodisVisibilityMatch_
* Check if visibility fall into the percentage range * @param {number} visibility * @return {boolean}
extensions/amp-analytics/0.1/visibility-model.js:354
↓ 2 callersMethodisWebKit
* Whether the current browser is based on the WebKit engine. * @return {boolean}
src/service/platform-impl.js:93
↓ 2 callersFunctionisWildCardMatch
(hostname, domain)
extensions/amp-analytics/0.1/linker-manager.js:508
↓ 2 callersMethodisXhrAllowed
* Returns whether or not the ad request may be sent using XHR. * @return {boolean}
extensions/amp-a4a/0.1/amp-a4a.js:1438
↓ 2 callersFunctionitAcceptsOrRejects
(scenarios)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:123
← previousnext →6,201–6,300 of 18,703, ranked by callers