MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 12 callersMethodclose
@override
src/utils/dom-writer.js:264
↓ 12 callersFunctioncreateAnchorReplacementObject
(anchor, replacementUrl)
extensions/amp-skimlinks/0.1/test/test-affiliate-link-resolver.js:258
↓ 12 callersFunctioncreateButton
(r, action)
test/integration/test-video-players-helper.js:44
↓ 12 callersMethodcreateElementFromItem_
* Create and return <div> element from given plan-text item. * @param {string} item * @param {string=} substring * @return {!Element} * @p
extensions/amp-autocomplete/0.1/amp-autocomplete.js:553
↓ 12 callersMethodcreateError
* Creates an error. * @param {...*} var_args * @return {!Error}
third_party/subscriptions-project/config.js:565
↓ 12 callersFunctioncreateHorizontalScroller
* @param {number} childCount
extensions/amp-base-carousel/0.1/test/test-child-layout-manager.js:98
↓ 12 callersFunctioncreateSlot
(element, name, defaultProps, as = false)
src/preact/slot.js:33
↓ 12 callersFunctioncreateTemplateElement
()
test/unit/test-template.js:50
↓ 12 callersMethoddefaultLevelWithFunc_
* @param {!Window=} opt_win provided for testing * @return {!LogLevel_Enum} * @private
src/utils/log.js:199
↓ 12 callersMethoddispose
@override
src/service/vsync-impl.js:147
↓ 12 callersFunctionemit
(content)
src/sanitizer.js:74
↓ 12 callersMethodevaluateBindings
* Evaluates all expressions with the given `scope` data returns two maps: * expression strings to results and expression strings to errors. * @p
extensions/amp-bind/0.1/bind-evaluator.js:100
↓ 12 callersMethodexecute
* @param {string} action * @return {!Promise<string>}
extensions/amp-subscriptions/0.1/actions.js:73
↓ 12 callersFunctionexpectElementMutatedAsync
(element)
test/unit/test-standard-actions.js:48
↓ 12 callersFunctionexpectNoBeacon
()
extensions/amp-analytics/0.1/test/test-transport.js:567
↓ 12 callersFunctionexpectToggle
(storedString, experimentId, opt_on)
test/unit/test-experiments.js:238
↓ 12 callersMethodgetAdapter
@return {!AccessTypeAdapterDef}
extensions/amp-access/0.1/amp-access-source.js:141
↓ 12 callersFunctiongetAddThisMode
(_)
extensions/amp-addthis/0.1/addthis-utils/mode.js:14
↓ 12 callersFunctiongetAmpScrollableCarousel
(addToDom = true, doc = env.win.document)
extensions/amp-carousel/0.1/test/test-scrollable-carousel.js:46
↓ 12 callersMethodgetAttributes
* Any attributes derived from either the page or the auto-amp-ads tag that * should be applied to any ads inserted. * @return {!JsonObject<strin
extensions/amp-auto-ads/0.1/ad-network-config.js:52
↓ 12 callersFunctiongetBrightcove
(attributes)
extensions/amp-brightcove/0.1/test/test-amp-brightcove.js:54
↓ 12 callersMethodgetData
* Retrieves data from host. * * @param {string} requestType * @param {?Object} payload * @param {function(*)} callback
3p/iframe-messaging-client.js:49
↓ 12 callersFunctiongetDate
(value)
src/core/types/date.js:34
↓ 12 callersMethodgetDocInfo_
* Return the document info for the current ampdoc. * @return {./document-info-impl.DocumentInfoDef}
src/service/url-replacements-impl.js:662
↓ 12 callersFunctiongetExtensionScripts
( win, extensionId, version, latest, includeInserted = true )
src/service/extension-script.js:200
↓ 12 callersMethodgetLocalizedStringAsync
* Resolves with the localized string when the registered bundles contain them. * @param {!LocalizedStringId_Enum} localizedStringId * @return {!
src/service/localization/index.js:162
↓ 12 callersFunctiongetNestedMenu
(options)
extensions/amp-nested-menu/0.1/test/test-amp-nested-menu.js:27
↓ 12 callersFunctiongetO2player
(attributes, opt_responsive, implExtends)
extensions/amp-o2-player/0.1/test/test-amp-o2-player.js:22
↓ 12 callersFunctiongetPlaceholder
(pos, test, returnPL)
third_party/inputmask/inputmask.js:1568
↓ 12 callersMethodgetRoot
* The root node the analytics is scoped to. * * @return {!Document|!ShadowRoot} * @abstract
extensions/amp-analytics/0.1/analytics-root.js:79
↓ 12 callersMethodgetRoot_
* The local document node managed by the GWD runtime (either the top-level * document for single AmpDocs or a FIE document). This function will onl
extensions/amp-gwd-animation/0.1/amp-gwd-animation.js:158
↓ 12 callersMethodgetScrollTop
@override
src/service/viewport/viewport-impl.js:292
↓ 12 callersFunctiongetServicePromise
(win, id)
src/service-helpers.js:166
↓ 12 callersFunctiongetToolbars
(options)
extensions/amp-sidebar/0.2/test/test-toolbar.js:13
↓ 12 callersFunctiongetToolbars
(options)
extensions/amp-sidebar/0.1/test/test-toolbar.js:16
↓ 12 callersMethodgetUnconfirmedReferrerUrl
@override
src/service/viewer-impl.js:565
↓ 12 callersFunctiongetWin
(opt_url)
extensions/amp-story/1.0/test/test-history.js:11
↓ 12 callersFunctionh
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 12 callersMethodhandleToggleClass_
* Handles "toggleClass" action. * @param {!./action-impl.ActionInvocation} invocation * @return {?Promise} * @private Visible to tests only.
src/service/standard-actions-impl.js:555
↓ 12 callersMethodhasAction
* Checks if the given element has registered a particular action type. * @param {!Element} element * @param {string} actionEventType * @param
src/service/action-impl.js:492
↓ 12 callersMethodinit
()
third_party/zuho/zuho.js:138
↓ 12 callersMethodinstallShadowDoc
* Creates and installs the ampdoc for the shadow root. * @param {string} url * @param {!ShadowRoot} shadowRoot * @param {!AmpDocOptions=} opt
src/service/ampdoc-impl.js:192
↓ 12 callersMethodisBodyAvailable
* Returns `true` if the ampdoc's body is available. * * @return {boolean}
src/service/ampdoc-impl.js:482
↓ 12 callersFunctionisElement
(value)
src/core/types/index.js:12
↓ 12 callersFunctionisJsonScriptTag
(element)
src/core/dom/index.js:332
↓ 12 callersFunctionisLoaded
(eleOrWindow)
src/utils/event-helper.js:137
↓ 12 callersFunctionisProductCode
(candidate)
extensions/amp-addthis/0.1/addthis-utils/mode.js:68
↓ 12 callersMethodisScopeOptedIn_
* Checks if the page has opted in CID API for the given scope. * Returns the API key that should be used, or null if page hasn't opted in. *
src/service/cid-impl.js:288
↓ 12 callersMethodisWatchingLink
* Returns True if the LinkRewriter instance is supposed to handle * this particular anchor. * By default LinkRewriter handles all the links on t
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter.js:97
↓ 12 callersFunctionlayoutCallback
()
extensions/amp-date-picker/0.1/test/test-amp-date-picker.js:57
↓ 12 callersMethodlerp_
* Performs linear interpolation between values a and b. Returns the value * between a and b proportional to x (when x is between 0 and 1. When x is
src/core/data-structures/curve.js:191
↓ 12 callersMethodmanage
* Manages bitrate changes for the given video. * * Callers MUST call `video.changedSources()` synchronously whenever they * changed the sourc
extensions/amp-video/0.1/flexible-bitrate.js:95
↓ 12 callersFunctionnoopMethods
( impl, ampdoc, sandbox, pageLayoutBox = { top: 11.1, left: 12.1, width: 0, height: 0,
ads/google/a4a/test/test-utils.js:58
↓ 12 callersMethodnotify
(entries)
test/unit/core/dom/layout/test-size-observer.js:46
↓ 12 callersMethodonChanged
@override
src/inabox/inabox-viewport.js:283
↓ 12 callersMethodonChunk
* Callback passed into DetachedDomStream constructor. Receives updated * document everytime a new chunk is written. * Resolves headPromise when
src/utils/dom-transform-stream.js:70
↓ 12 callersFunctiononError
* Signature designed, so it can work with window.onerror * @param {string|undefined} message * @param {string|undefined} filename * @param {string|
src/error-reporting.js:321
↓ 12 callersFunctionos
(e)
third_party/react-dates/bundle.js:1
↓ 12 callersMethodpointerDown
(options)
extensions/amp-pan-zoom/1.0/test/test-component.js:636
↓ 12 callersMethodpointerUp
(options)
extensions/amp-pan-zoom/1.0/test/test-component.js:648
↓ 12 callersMethodpreload
* Preloads the content of the specified media element in the DOM. * @param {!DomElementDef} domMediaEl The media element, found in the * DOM
extensions/amp-story/1.0/media-pool.js:764
↓ 12 callersFunctionpreloadBootstrap
(win, type, ampdoc, preconnect)
src/3p-frame.js:203
↓ 12 callersMethodprerenderAllowed
* Subclasses can override this method to opt-in into being called to * prerender when document itself is not yet visible (pre-render mode). *
src/base-element.js:143
↓ 12 callersMethodprev
* Moves backwards by the current advance count. * @param {!ActionSource=} actionSource
extensions/amp-base-carousel/0.1/carousel.js:353
↓ 12 callersFunctionrect
(el)
extensions/amp-base-carousel/1.0/test-e2e/test-autoadvance.js:23
↓ 12 callersMethodregisterConsentPolicyInstance
* Register the policy instance * Example policy config format: * { * "waitFor": { * "consentABC": [] * } * "timeout": {
extensions/amp-consent/0.1/consent-policy-manager.js:110
↓ 12 callersMethodregisterDefaultAction
* Registers the default action for this component. * @param {function(!./service/action-impl.ActionInvocation)} handler * @param {string=} alias
src/base-element.js:702
↓ 12 callersFunctionremoveItem
(array, item)
src/core/types/array.js:144
↓ 12 callersMethodrender
* * @param {!JsonObject} renderState * @return {!Promise}
extensions/amp-subscriptions/0.1/local-subscription-platform-renderer.js:37
↓ 12 callersMethodrenderOutsideViewport
@override
extensions/amp-ad/0.1/amp-ad-3p-impl.js:148
↓ 12 callersMethodreset
* Resets all signals. * @param {string} name
src/core/data-structures/signals.js:123
↓ 12 callersFunctionresizeIframeToWidth
(iframeObject, width, callback)
extensions/amp-sidebar/0.2/test/test-toolbar.js:76
↓ 12 callersFunctionresizeIframeToWidth
(iframeObject, width, callback)
extensions/amp-sidebar/0.1/test/test-toolbar.js:79
↓ 12 callersMethodresolveNumber
* @param {*} input * @param {number|undefined} def * @return {number|undefined}
extensions/amp-animation/0.1/web-animations.js:1069
↓ 12 callersFunctionsanitizeTagsForTripleMustache
(html, doc)
src/sanitizer.js:249
↓ 12 callersMethodscanLinksOnPage_
* Scan the page to find all the links on the page. * If new anchors are discovered, ask to the "resolveUnknownLinks" * function what is the repl
extensions/amp-skimlinks/0.1/link-rewriter/link-rewriter.js:163
↓ 12 callersFunctionscope
(css)
test/unit/test-shadow-embed.js:256
↓ 12 callersMethodscrollIntoView
@override
src/inabox/inabox-viewport.js:257
↓ 12 callersMethodselectBy
* @param {number} delta
extensions/amp-selector/1.0/component.type.js:66
↓ 12 callersMethodsendCommand_
* @param {string} method * @param {number|boolean|string|Object|undefined} [optParams] * @private
extensions/amp-jwplayer/0.1/amp-jwplayer.js:548
↓ 12 callersMethodsendCommand_
* Sends a post message to the iframe where the connatix player * is embedded. Used for giving external commands to the player * (play/pause etc)
extensions/amp-connatix-player/0.1/amp-connatix-player.js:120
↓ 12 callersMethodsendImpressionTracking
* Sends "Page impression" and "Link impression" tracking requests (POST). * @param {!./link-rewriter/link-rewriter.AnchorReplacementList} anchorRep
extensions/amp-skimlinks/0.1/tracking.js:75
↓ 12 callersMethodsetCallback_
* @param {!CallbackId} id * @param {function(?)} callback * @private
third_party/subscriptions-project/swg.js:9287
↓ 12 callersFunctionsetConfig
(config)
extensions/amp-story/1.0/test/test-amp-story-consent.js:20
↓ 12 callersMethodsetQueueChanges
* Sets whether visibility changes should be applied immediately or queued * for a later flush. This is useful on iOS, as doing layout during scroll
extensions/amp-base-carousel/0.1/child-layout-manager.js:162
↓ 12 callersFunctionsetShadowDomSupportedVersionForTesting
(val)
src/core/dom/web-components.js:27
↓ 12 callersMethodsetup
@override
testing/describes.js:699
↓ 12 callersMethodsha384Base64
* Returns the SHA-384 hash of the input string in the format of web safe * base64 (using -_. instead of +/=). * Input string cannot contain char
src/service/crypto-impl.js:109
↓ 12 callersMethodstart
* Initializes the players if not already initialized, * and starts playing the animations.
extensions/amp-animation/0.1/runners/animation-runner.js:36
↓ 12 callersMethodstartAction_
* @param {?../../../src/service/action-impl.ActionInvocation=} opt_invocation * @return {?Promise} * @private
extensions/amp-animation/0.1/amp-animation.js:202
↓ 12 callersMethodstop
* Stops the task execution.
3p/3d-gltf/animation-loop.js:39
↓ 12 callersFunctionstubElementsForDoc
(ampdoc)
src/service/custom-element-registry.js:126
↓ 12 callersFunctiontestRelUrl
(href, baseHref, resolvedHref)
test/unit/test-url.js:813
↓ 12 callersFunctionunobserveContentSize
(element, callback)
src/core/dom/layout/size-observer.js:57
↓ 12 callersMethodupdateAttribute
* Updates an attribute, calling the configured attribute handler with the * new matching value, if it has changed. Whenever the matching media quer
extensions/amp-base-carousel/0.1/responsive-attributes.js:109
↓ 12 callersMethodupdatePaddingBottom
@override
src/inabox/inabox-viewport.js:177
↓ 12 callersMethodupdatePanZoomBounds_
* Updates X/Y bounds based on the provided scale value. The min/max bounds * are calculated to allow full pan of the content regardless of the scal
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:719
↓ 12 callersFunctionuseAmpContext
()
src/preact/context.tsx:80
↓ 12 callersMethodwhenReady
@override
extensions/amp-subscriptions/0.1/doc-impl.js:55
↓ 12 callersMethodwork_
* Dequeues layout and preload tasks from the queue and initiates their * execution. * * There are two main drivers to dequeueing: a task's sc
src/service/resources-impl.js:1291
← previousnext →1,301–1,400 of 18,703, ranked by callers