MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 12 callersFunctionwriteBuffer
(input, buffer, caretPos, event, triggerEvents)
third_party/inputmask/inputmask.js:1537
↓ 12 callersFunctionz
(t,n,a,r,o)
third_party/inputmask/bundle.js:11
↓ 11 callersFunctionH
(e)
third_party/react-dates/bundle.js:1
↓ 11 callersFunctionP
(e)
third_party/react-dates/bundle.js:1
↓ 11 callersFunctionYt
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 11 callersFunctiona
()
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 11 callersMethodabort
@override
src/utils/dom-writer.js:272
↓ 11 callersMethodadd
* Adds the observer to this instance. * @param {function(TYPE=):void} handler Observer's handler. * @return {import('#core/types/function/types'
src/core/data-structures/observable.js:22
↓ 11 callersMethodaddGlobalMethodHandler
* Registers the action handler for a common method. * @param {string} name * @param {ActionHandlerDef} handler * @param {ActionTrust_Enum} mi
src/service/action-impl.js:401
↓ 11 callersMethodaddService
* Add a service to the extension currently being registered. This is a * restricted method and it's allowed to be called only during the overall
src/service/extensions-impl.js:402
↓ 11 callersMethodaddToFixedLayer
@override
extensions/amp-subscriptions/0.1/doc-impl.js:60
↓ 11 callersFunctionanalyticsEvent
* @param {!VideoEntry} entry * @param {!VideoAnalyticsEvents_Enum} eventType * @param {!{[key: string]: string}=} opt_vars A map of vars and their v
src/service/video-manager-impl.js:1605
↓ 11 callersMethodareResultsDisplayed_
* Returns true if the results are visible and has items. * @return {boolean} * @private
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1027
↓ 11 callersMethodattemptCollapse
* Return a promise that request the runtime to collapse one element * @return {!Promise}
src/base-element.js:855
↓ 11 callersMethodautocomplete_
* Display autocomplete suggestions and render it in the results container_. * When client side rendering, filter the source data according to the g
extensions/amp-autocomplete/0.1/amp-autocomplete.js:676
↓ 11 callersFunctionbasicTests
(env)
test/unit/test-chunk.js:23
↓ 11 callersFunctionbatchFetchJsonFor
(ampdoc, element, options = {})
src/batched-json.js:49
↓ 11 callersMethodbuildCallback
@override
extensions/amp-date-picker/0.1/amp-date-picker.js:361
↓ 11 callersFunctioncheckInput
(element, checked)
extensions/amp-form/0.1/test/test-form-dirtiness.js:31
↓ 11 callersFunctionchunkInstanceForTesting
(elementOrAmpDoc)
src/chunk.js:94
↓ 11 callersMethodclickHandler_
* Handles click events for the selectables. * @param {!Event} event * @private
extensions/amp-selector/0.1/amp-selector.js:383
↓ 11 callersFunctioncontextProp
(key, opt_spec)
src/core/context/prop.js:25
↓ 11 callersFunctioncreateElement
(id)
test/unit/test-fixed-layer.js:215
↓ 11 callersFunctioncreateElement
()
extensions/amp-3d-gltf/0.1/test/test-amp-3d-gltf.js:36
↓ 11 callersFunctioncreateResource
(opts)
test/unit/test-resources.js:35
↓ 11 callersFunctioncreateResource
(config, tagName = 'amp-ad', parent = doc.body)
ads/google/a4a/test/test-utils.js:974
↓ 11 callersFunctiondefineBentoElement
(tag, BaseElement, _win = self)
src/preact/bento-ce.js:132
↓ 11 callersMethoddisconnect
* Disconnect messenger.
extensions/amp-access/0.1/iframe-api/messenger.js:63
↓ 11 callersMethoddoPass
* Runs a pass immediately. * * @visibleForTesting
src/service/resources-impl.js:580
↓ 11 callersMethoddoubleTap
(options)
extensions/amp-pan-zoom/1.0/test/test-component.js:654
↓ 11 callersMethodensureLoaded
* Ensure that the element is being eagerly loaded. * * Only used for R1 elements.
src/base-element.js:536
↓ 11 callersMethodexpandTemplate
* Converts templates from ${} format to MACRO() and resolves any platform * level macros when encountered. * @param {string} template The templa
extensions/amp-analytics/0.1/variables.js:401
↓ 11 callersFunctionexpectNthCallToMatch
(fn, callIndex, expected)
extensions/amp-analytics/0.1/test/test-events.js:302
↓ 11 callersFunctionf
(e)
examples/amp-script/vue-todomvc.js:7
↓ 11 callersFunctionfindSentences
(win, node, sentences)
extensions/amp-viewer-integration/0.1/findtext.js:203
↓ 11 callersFunctiongetActionInvocation
(element, action, opt_tagOrTarget)
test/unit/test-action.js:1664
↓ 11 callersMethodgetAllWindows
* @return {!Promise<Array<string>>}
build-system/tasks/e2e/selenium-webdriver-controller.js:436
↓ 11 callersFunctiongetAmpdocServiceHolder
* @param {!Node|!./service/ampdoc-impl.AmpDoc} nodeOrDoc * @return {!./service/ampdoc-impl.AmpDoc|!Window}
src/service-helpers.js:316
↓ 11 callersMethodgetConfigUrl
* @return {string}
extensions/amp-auto-ads/0.1/ad-network-config.js:37
↓ 11 callersMethodgetConsentRequiredPromiseForTesting
* @return {!Promise<boolean>} * @visibleForTesting
extensions/amp-consent/0.1/amp-consent.js:941
↓ 11 callersMethodgetElement
* Gets the Iframe element. * @return {!HTMLIFrameElement}
third_party/subscriptions-project/swg.js:11025
↓ 11 callersMethodgetFrameElement_
This method is doing two things. * 1. It checks that the source of the message is valid. * Validity means that the message comes from a
ads/inabox/inabox-messaging-host.js:271
↓ 11 callersFunctiongetHighlightParam
(ampdoc)
extensions/amp-viewer-integration/0.1/highlight-handler.js:86
↓ 11 callersFunctiongetMinOpacity
(el)
extensions/amp-analytics/0.1/opacity.js:8
↓ 11 callersFunctiongetMockInteractiveData
()
extensions/amp-story-interactive/0.1/test/helpers.js:6
↓ 11 callersFunctiongetNumberMaxOrDefault
(value, defaultValue)
extensions/amp-live-list/0.1/amp-live-list.js:92
↓ 11 callersMethodgetOwner
* Returns an owner element or null. * @return {?AmpElement}
src/service/resource.js:243
↓ 11 callersFunctiongetParentWindowFrameElement
(node, opt_topWin)
src/service-helpers.js:287
↓ 11 callersMethodgetReaderId
* Returns the reader ID for the specified service. * @param {string} platformKey * @return {!Promise<string>}
extensions/amp-subscriptions/0.1/service-adapter.js:49
↓ 11 callersFunctiongetShadowDomSupportedVersion
(opt_elementClass)
src/core/dom/web-components.js:87
↓ 11 callersFunctiongetSpringboardPlayer
(attributes)
extensions/amp-springboard-player/0.1/test/test-amp-springboard-player.js:18
↓ 11 callersMethodgetTotalDuration_
* @return {number} total duration in milliseconds. * @throws {Error} If timeline is infinite.
extensions/amp-animation/0.1/runners/native-web-animation-runner.js:237
↓ 11 callersMethodgetTrackedTimerKeys
* @return {!Array<number>} * @visibleForTesting
extensions/amp-analytics/0.1/events.js:1185
↓ 11 callersMethodgetTrackerOptional
* Returns the tracker for the specified name or `null`. * @param {string} name * @return {?./events.EventTracker}
extensions/amp-analytics/0.1/analytics-root.js:167
↓ 11 callersMethodgetVar
* Returns the value of a CSS variable or `null` if not available. * @param {string} unusedVarName * @return {?CssNode}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:41
↓ 11 callersFunctiongetWin
(links, metas)
test/unit/test-document-info.js:14
↓ 11 callersMethodhandleKeydown_
* Handle changing values of the attached input fields, and the hotkey for * closing the date picker. * @param {!Event} e * @private * @ret
extensions/amp-date-picker/0.1/amp-date-picker.js:1104
↓ 11 callersMethodhandleTcDataChange_
* Handler for when policy manager signal potential TCData * change. Only triggers new TCData to be sent if TC String * has been change and is no
extensions/amp-consent/0.1/tcf-api-command-manager.js:134
↓ 11 callersMethodhasTemplate
* Detect if a template is present inside the parent. * @param {!Element} parent * @param {string=} opt_querySelector * @return {boolean}
src/service/template-impl.js:187
↓ 11 callersFunctioninstallLinkerReaderService
(win)
extensions/amp-analytics/0.1/linker-reader.js:89
↓ 11 callersFunctioninstallVsyncService
(window)
src/service/vsync-impl.js:483
↓ 11 callersFunctionis3pThrottled
(win)
extensions/amp-ad/0.1/concurrent-load.js:38
↓ 11 callersMethodisAd
* check to see if this page is a wrapper for an ad * @return {boolean}
extensions/amp-story/1.0/amp-story-page.js:1921
↓ 11 callersFunctionisAmp4Email
(doc)
src/core/document/format.js:17
↓ 11 callersMethodisAtStart
* @return {boolean} True if the carousel is not looping, and is at the * end, false otherwise.
extensions/amp-base-carousel/0.1/carousel.js:915
↓ 11 callersMethodisAuthorizationEnabled
@override
extensions/amp-access/0.1/amp-access-other.js:38
↓ 11 callersFunctionisAutoplaySupported
(win)
src/core/dom/video/index.js:58
↓ 11 callersFunctionisFieldEmpty
(field)
src/core/dom/form.js:172
↓ 11 callersFunctionisJsonOrObj
(anything)
src/iframe-video.js:97
↓ 11 callersMethodisMouseDetected
* Whether the mouse input has been detected. * @return {boolean}
src/input.js:122
↓ 11 callersFunctionisSecureUrlDeprecated
(url)
src/url.js:290
↓ 11 callersFunctionl
(a)
third_party/wgxpath/wgxpath.js:3
↓ 11 callersMethodlayoutCallback
@override
extensions/amp-story-360/0.1/amp-story-360.js:634
↓ 11 callersMethodlayoutCallback
@override
extensions/amp-mega-menu/0.1/amp-mega-menu.js:87
↓ 11 callersFunctionlistenParent
(win, type, callback)
3p/messaging.js:35
↓ 11 callersFunctionm
(a)
third_party/wgxpath/wgxpath.js:5
↓ 11 callersFunctionmeasureIntersectionNoRoot
(el)
src/core/dom/layout/intersection-no-root.js:69
↓ 11 callersMethodmeasurePromise
* Runs `measure` wrapped in a promise. * @param {function():TYPE} measurer * @return {!Promise<TYPE>} * @template TYPE
src/service/vsync-impl.js:250
↓ 11 callersFunctionn
(t,o,n,i)
third_party/inputmask/bundle.js:5
↓ 11 callersMethodnext
* Returns the next TextPosDef. * Returns null when the scanner reaches the end of the text. * @return {?TextPosDef}
extensions/amp-viewer-integration/0.1/findtext.js:497
↓ 11 callersMethodoff
* Removes the mapping subscribing the callback to a new message topic. * @param {string} topic * @param {function(...?)} callback
extensions/amp-web-push/0.1/window-messenger.js:424
↓ 11 callersMethodonCommit
* Called when the user has fully set a value to be verified, * e.g. the input's 'change' event * @return {!Promise<!UpdatedErrorsDef>}
extensions/amp-form/0.1/form-verifiers.js:65
↓ 11 callersMethodonMessage_
* @param {string} messageEvent * @private
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:255
↓ 11 callersMethodonMessage_
* @param {!Event} event * @return {!Promise|undefined} * @private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:271
↓ 11 callersMethodonSubmitting
* Processes dirtiness state when a form is being submitted. This puts the * form in a "submitting" state, and temporarily clears the dirtiness stat
extensions/amp-form/0.1/form-dirtiness.js:58
↓ 11 callersFunctionpadStart
(s, targetLength, padString)
src/core/types/string/index.js:187
↓ 11 callersFunctionpadStart
* Format a number for output to the template. Adds a leading zero if the * input is only one digit and a negative sign for inputs less than 0. * @p
extensions/amp-date-countdown/1.0/component.js:222
↓ 11 callersMethodpreviewAllowed
@override
extensions/amp-story/1.0/amp-story-page.js:173
↓ 11 callersFunctionpure
(value)
src/core/types/pure.js:9
↓ 11 callersMethodreloadExtension
* Reloads the new version of the extension. * @param {string} extensionId * @param {string} version * @param {boolean} latest * @return {!
src/service/extensions-impl.js:255
↓ 11 callersFunctionremoveAmpJsParamsFromUrl
(url)
src/url.js:433
↓ 11 callersMethodreportWhenViewed_
* @param {time} timeToView * @return {!Promise} * @private
extensions/amp-access/0.1/amp-access.js:590
↓ 11 callersMethodrequestMeasure
* Requests the element to be remeasured on the next pass.
src/service/resource.js:584
↓ 11 callersMethodresize_
@private
src/inabox/inabox-viewport.js:387
↓ 11 callersFunctionrunVideoPlayerIntegrationTests
( env, createVideoElementFunc, opt_experiment, timeout = 2000 )
test/integration/test-video-players-helper.js:30
↓ 11 callersMethodscheduleUnlayout
@override
src/service/owners-impl.js:79
↓ 11 callersMethodsendCommand_
* Sends a command to the player through postMessage. NOTE: All commands sent * before imaVideo fires VideoEvents_Enum.LOAD will be queued until tha
extensions/amp-ima-video/0.1/amp-ima-video.js:282
↓ 11 callersMethodsetExtensionsKnown
* Signal that the initial document set of extensions is known. * @restricted
src/service/ampdoc-impl.js:447
↓ 11 callersFunctionsetIsMediaComponent
(element)
src/video-interface.js:606
↓ 11 callersMethodsetReadyState
* Update the current `readyState`. * * Only used for R1 elements. * * @param {!./ready-state.ReadyState_Enum} state * @param {*=} opt_f
src/base-element.js:547
← previousnext →1,401–1,500 of 18,703, ranked by callers