Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ functions
Functions
18,703 in github.com/ampproject/amphtml
⨍
Functions
18,703
◇
Types & classes
2,331
↓ 3 callers
Method
hasStarted
@return {boolean}
extensions/amp-story/1.0/animation.js:366
↓ 3 callers
Method
hasTimedOut
@return {boolean}
extensions/amp-story-auto-ads/0.1/story-ad-page.js:148
↓ 3 callers
Function
header
(line, underline = /* em-dash */ '\u2014')
build-system/common/update-session-issues/index.js:547
↓ 3 callers
Method
hide
* Hides the bubble off screen.
extensions/amp-form/0.1/validation-bubble.js:54
↓ 3 callers
Method
hideControls
* Hides the video UI controls. * * AMP will not call this method if `controls` attribute is not set. * * Implementation is required for do
src/video-interface.js:125
↓ 3 callers
Method
hideFallbackImg_
* @private
src/builtins/amp-img/amp-img.js:411
↓ 3 callers
Method
hidePreviousPages_
* Makes sure that all pages preceding the current page are * marked hidden if they are out of the viewport and additionally * paused if they are
extensions/amp-next-page/1.0/service.js:380
↓ 3 callers
Method
historyState_
* @param {number} stackIndex * @param {boolean=} opt_replace * @return {*} * @private
src/service/history-impl.js:509
↓ 3 callers
Function
includeSourcesContent
* @return {boolean}
build-system/tasks/sourcemaps.js:18
↓ 3 callers
Method
init
@override
extensions/amp-stream-gallery/1.0/base-element.js:10
↓ 3 callers
Method
initialize
* Override this method to set all the variables supported by derived class.
src/service/variable-source.js:189
↓ 3 callers
Method
initialize
@override
extensions/amp-a4a/0.1/a4a-variable-source.js:71
↓ 3 callers
Method
initializeAdvancementConfig_
* Initialize this page's advancement config and set its listener callbacks. * @private
extensions/amp-story/1.0/amp-story-page.js:507
↓ 3 callers
Method
initializeListeners_
@private
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:125
↓ 3 callers
Method
initializeLoader
* @param {!AmpElement} element * @param {!Element} loaderRoot * @param {number} initDelay * @param {number} elementWidth * @param {number}
extensions/amp-loader/0.1/amp-loader.js:402
↓ 3 callers
Function
initializePageWithElement
(el)
extensions/amp-story/1.0/test/test-amp-story-page.js:98
↓ 3 callers
Method
initializePlatformStore_
* Initializes the PlatformStore with a list of platform keys. * @param {!Array<string>} platformKeys
extensions/amp-subscriptions/0.1/amp-subscriptions.js:518
↓ 3 callers
Method
insertAnalytics
* @param {!Element} element * @param {!Array|!JsonObject} analyticsValue
extensions/amp-a4a/0.1/amp-ad-template-helper.js:81
↓ 3 callers
Function
insertElement
(name)
test/unit/test-custom-element-registry.js:40
↓ 3 callers
Function
install
(win, ctor)
src/polyfills/custom-elements.js:887
↓ 3 callers
Function
installActivityServiceForTesting
(ampDoc)
extensions/amp-analytics/0.1/activity-impl.js:126
↓ 3 callers
Method
installAnchorClickInterceptor
* Registers a handler that performs URL replacement on the href * of an ad click. * @param {!./ampdoc-impl.AmpDoc} ampdoc * @param {!Window}
src/service/navigation.js:172
↓ 3 callers
Function
installCryptoPolyfill
(win)
extensions/amp-crypto-polyfill/0.1/amp-crypto-polyfill.js:9
↓ 3 callers
Function
installErrorReporting
(win)
src/error-reporting.js:296
↓ 3 callers
Function
installExtension
* @param {function(!Object,!Object)|!ExtensionPayload} fnOrStruct
src/runtime.js:210
↓ 3 callers
Method
installExtensionInDoc
* Installs all ampdoc factories for the specified extension. * @param {!./ampdoc-impl.AmpDoc} ampdoc * @param {string} extensionId * @param {
src/service/extensions-impl.js:501
↓ 3 callers
Function
installForChildWin
(parentWin, childWin)
src/polyfills/intersection-observer.js:30
↓ 3 callers
Function
installImg
(win)
src/builtins/amp-img/amp-img.js:467
↓ 3 callers
Function
installServiceInEmbedDoc
(ampdoc, id, service)
src/service-helpers.js:52
↓ 3 callers
Function
installStub
(win)
src/polyfills/stubs/intersection-observer-stub.js:75
↓ 3 callers
Function
installUrlReplacementsForEmbed
(ampdoc, varSource)
src/service/url-replacements-impl.js:1246
↓ 3 callers
Function
installXhrService
(window)
src/service/xhr-impl.js:217
↓ 3 callers
Function
internalListenImplementation
( element, eventType, listener, opt_evtListenerOpts )
src/core/dom/event-helper-listen.js:37
↓ 3 callers
Function
intersectionRatio
(smaller, larger)
src/utils/intersection-observer-3p-host.js:120
↓ 3 callers
Function
invocation
(method, args = {})
extensions/amp-image-slider/1.0/test/test-amp-image-slider.js:36
↓ 3 callers
Function
invocation
(method, args = {})
extensions/amp-lightbox/1.0/test/test-amp-lightbox.js:82
↓ 3 callers
Method
isActivityScheduled_
* @param {!PlaybackActivity=} opt_activity * @return {boolean} * @private
extensions/amp-story/1.0/animation.js:518
↓ 3 callers
Function
isAdTest
(impls)
extensions/amp-ad-network-doubleclick-impl/0.1/sra-utils.js:173
↓ 3 callers
Function
isAmpMessage
(message)
src/core/3p-frame-messaging.js:117
↓ 3 callers
Function
isAmpTagName
* @param {string} lowercaseTagName * @return {boolean} * @private
src/service/action-impl.js:859
↓ 3 callers
Function
isAssignment
* @param {CompilerNode} node * @return {boolean}
build-system/eslint-rules/unused-private-field.js:188
↓ 3 callers
Function
isBlockedByConsent
(errorOrMessage)
src/error-reporting.js:279
↓ 3 callers
Method
isChildTombstone_
* Predicate to check if the child passed in is tombstone-able, determined * by data-tombstone attribute. * * @param {!Element} elem * @ret
extensions/amp-live-list/0.1/amp-live-list.js:804
↓ 3 callers
Method
isConnected_
* @return {boolean} * @private
src/core/context/subscriber.js:180
↓ 3 callers
Method
isConst
@override
extensions/amp-animation/0.1/parsers/css-expr-ast.js:1274
↓ 3 callers
Method
isCurrentDialogPopup
* Returns true if this permission dialog is loaded as a popup; returns false * if the permission dialog was redirected to its current location.
extensions/amp-web-push/0.1/amp-web-push-permission-dialog.js:69
↓ 3 callers
Function
isElementInPool
* @param {!Array<!HTMLMediaElement>} array * @param {!HTMLMediaElement} element * @return {boolean>}
extensions/amp-story/1.0/test/test-media-pool.js:95
↓ 3 callers
Function
isExperimentOn_
* Returns whether the experiment is on or off. * @param {string} id * @return {boolean}
tools/experiments/experiments.js:259
↓ 3 callers
Function
isFunction
(object)
src/bento/third_party/mustache/mustache.js:15
↓ 3 callers
Function
isHTMLMediaElement
* Returns true if the parameter is a HTMLMediaElement. * @param {!Element|!Window} eleOrWindow * @return {boolean}
src/utils/event-helper.js:245
↓ 3 callers
Function
isIframeVideoPlayerComponent
(tagName)
src/core/dom/layout/index.js:230
↓ 3 callers
Function
isInManualExperiment
(element)
ads/google/a4a/traffic-experiments.js:108
↓ 3 callers
Method
isInViewport
* Whether the resource is currently visible in the viewport. * @return {boolean}
src/service/resource.js:970
↓ 3 callers
Function
isInclusivelyBeforeDay
(e,t)
third_party/react-dates/bundle.js:1
↓ 3 callers
Function
isIso4217CurrencyCode
(data: any)
src/core/json-schema.ts:7
↓ 3 callers
Function
isJsonScript
(node: posthtml.Node)
build-system/server/new-server/transforms/utilities/cdn-tag.ts:55
↓ 3 callers
Method
isLayoutPending
* Returns true if the resource layout has not completed or failed. * @return {boolean}
src/service/resource.js:945
↓ 3 callers
Function
isLayoutSizeFixed
(layout)
src/core/dom/layout/index.js:125
↓ 3 callers
Function
isLoadingAllowed
(element)
src/core/dom/layout/index.js:215
↓ 3 callers
Method
isLoadingEnabled_
* Whether the loading can be shown for this element. * @param {boolean} force * @return {boolean} * @private
src/custom-element.js:2018
↓ 3 callers
Function
isLocalhostOrigin
(url)
src/url.js:390
↓ 3 callers
Function
isModeDevelopment
(win, opt_hashParams)
src/mode.js:90
↓ 3 callers
Function
isNativeDisabledInRequest
* Whether the request specifies that the native support has to be disabled. * * @param {!IsReadyToPayRequest|!PaymentDataRequest} request * @return
third_party/subscriptions-project/swg.js:17796
↓ 3 callers
Function
isPaused
(elem)
extensions/amp-video/0.1/test-e2e/test-amp-video.js:14
↓ 3 callers
Method
isPerformanceTrackingOn
* Identifies if the viewer is able to track performance. If the document is * not embedded, there is no messaging channel, so no performance tracki
extensions/amp-story/1.0/media-performance-metrics-service.js:124
↓ 3 callers
Function
isPrivateName
* @param {CompilerNode} node * @return {boolean}
build-system/eslint-rules/unused-private-field.js:200
↓ 3 callers
Method
isReady
* Returns whether the queue has been marked as ready yet * @return {boolean} * @visibleForTesting
extensions/amp-analytics/0.1/iframe-transport-message-queue.js:51
↓ 3 callers
Method
isReadyToHandleAction_
* Checks if we are in a valid state to handle user actions. * @return {boolean}
extensions/amp-consent/0.1/amp-consent.js:448
↓ 3 callers
Method
isSafariOrIos_
* @private * @return {boolean}
extensions/amp-connatix-player/0.1/amp-connatix-player.js:440
↓ 3 callers
Method
isScrollingDown
* @return {boolean}
extensions/amp-next-page/1.0/visibility-observer.js:249
↓ 3 callers
Method
isScrollingElement_
* @param {!Element} element * @return {boolean}
src/service/viewport/viewport-impl.js:624
↓ 3 callers
Function
isSessionExpired
* Checks if a session has expired * @param {SessionInfoDef} session * @return {boolean}
extensions/amp-analytics/0.1/session-manager.js:280
↓ 3 callers
Function
isSizedRect
(rect)
extensions/amp-video-docking/0.1/math.js:158
↓ 3 callers
Function
isStoryDocument
(ampdoc)
src/utils/story.js:25
↓ 3 callers
Method
isTouchDetected
* Whether the touch input has been detected. * @return {boolean}
src/input.js:101
↓ 3 callers
Method
isTrustedViewerOrigin_
* @param {string} urlString * @return {boolean} * @private
src/service/viewer-impl.js:643
↓ 3 callers
Function
isUserErrorEmbedMessage
(message)
src/core/error/message-helpers.js:44
↓ 3 callers
Function
isValidAttr
( tagName, attrName, attrValue, doc, opt_purify = false )
src/purifier/sanitation.js:363
↓ 3 callers
Method
isValidCalloutForConsentState
* Returns whether a given callout object is valid to send an RTC request * to, for the given consentState. * @param {Object|string} calloutConfi
src/service/real-time-config/real-time-config-impl.js:209
↓ 3 callers
Function
isValidDelayTime
* @param {number} delay * @return {boolean}
ads/vendors/nativo.js:38
↓ 3 callers
Method
isValidElement
@override
extensions/amp-ad-network-oblivki-impl/0.1/amp-ad-network-oblivki-impl.js:33
↓ 3 callers
Method
isValidElement
@override
extensions/amp-ad-network-valueimpression-impl/0.1/amp-ad-network-valueimpression-impl.js:101
↓ 3 callers
Method
isValidElement
@override
extensions/amp-ad-network-smartads-impl/0.1/amp-ad-network-smartads-impl.js:31
↓ 3 callers
Method
isVerificationSupported
* Whether the signature-verification supported on this platform. * @return {boolean}
extensions/amp-access/0.1/jwt.js:70
↓ 3 callers
Method
isVerifiedAmpCreative
* Returns whether the received creative is verified AMP. * @return {boolean} True if the creative is verified AMP, false otherwise.
extensions/amp-a4a/0.1/amp-a4a.js:2508
↓ 3 callers
Function
isWindow
(obj)
third_party/inputmask/inputmask.dependencyLib.js:19
↓ 3 callers
Method
isWorkerControllingPage_
* Service worker postMessage() communication relies on the property * navigator.serviceWorker.controller to be non-null. The controller property
extensions/amp-web-push/0.1/amp-web-push-helper-frame.js:339
↓ 3 callers
Method
isXhrAllowed
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:515
↓ 3 callers
Function
j
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 3 callers
Function
j
(e)
third_party/inputmask/bundle.js:11
↓ 3 callers
Function
je
(n)
third_party/d3/d3.js:2
↓ 3 callers
Function
jr
(e,t,n,r)
examples/amp-script/vue-todomvc.js:7
↓ 3 callers
Function
jsonConfiguration
(obj)
src/core/types/object/json.js:142
↓ 3 callers
Function
k
()
third_party/d3/d3.js:1
↓ 3 callers
Method
key
* @param {number} n * @return {string}
testing/fake-dom.js:636
↓ 3 callers
Function
kn
(n)
third_party/d3/d3.js:1
↓ 3 callers
Function
la
(e)
third_party/react-dates/bundle.js:1
↓ 3 callers
Function
layoutAndSetSpies
()
extensions/amp-autocomplete/0.1/test/test-amp-autocomplete.js:716
↓ 3 callers
Method
layoutCallback
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:307
↓ 3 callers
Method
layoutCallback
@override
extensions/amp-dailymotion/0.1/amp-dailymotion.js:130
← previous
next →
4,401–4,500 of 18,703, ranked by callers