MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 31 callersFunctionrethrowAsync
(var_args)
src/core/error/index.js:64
↓ 31 callersMethodsetState
* Updates the state of the page. * @param {!PageState} state
extensions/amp-story/1.0/amp-story-page.js:640
↓ 31 callersFunctionu
(n)
third_party/d3/d3.js:1
↓ 31 callersMethodwaitForExtension
* Waits for the previously included extension to complete * loading/registration. * @param {string} extensionId * @param {string} version
src/service/extensions-impl.js:192
↓ 31 callersMethodwrite
* @return {!Promise}
extensions/amp-consent/0.1/cookie-writer.js:57
↓ 30 callersFunctionEn
(n)
third_party/d3/d3.js:1
↓ 30 callersFunctioncreateAnim
(attrs, config)
extensions/amp-animation/0.1/test/test-amp-animation.js:104
↓ 30 callersMethodforEach
* @param {function(T):*} callback
src/core/data-structures/priority-queue.js:75
↓ 30 callersFunctiongetStyle
(element, property, opt_bypassCache)
src/core/dom/style.js:147
↓ 30 callersMethodgetVariableSource
* @return {VariableSource}
src/service/url-replacements-impl.js:1218
↓ 30 callersFunctioninstallPerformanceService
(window)
src/service/performance-impl.js:996
↓ 30 callersFunctioninstallStylesForDoc
( ampdoc, cssText, cb, opt_isRuntimeCss, opt_ext )
src/style-installer.js:36
↓ 30 callersFunctioninvocation
(method, args = {})
extensions/amp-selector/1.0/test/test-amp-selector.js:148
↓ 30 callersMethodisTrustedViewer
@override
src/service/viewer-impl.js:575
↓ 30 callersMethodlog
* Fake docs for testing
extensions/amp-viewer-integration/0.1/viewer-for-testing.js:157
↓ 30 callersFunctionscopedQuerySelectorAll
(root, selector)
src/core/dom/query.js:74
↓ 30 callersFunctionselectDate
(wrapper, date, formatDate)
extensions/amp-date-picker/1.0/test/test-helpers.js:29
↓ 30 callersMethodsetMessageDeliverer
@override
src/service/viewer-impl.js:733
↓ 30 callersMethodstartMeasuring
* Starts recording performance metrics for a a given HTMLMediaElement. This * method has to be called right before trying to play the media. This a
extensions/amp-story/1.0/media-performance-metrics-service.js:134
↓ 30 callersMethodstopMeasuring
* Stops recording, computes, and sends performance metrics collected for the * given media element. * @param {!HTMLMediaElement} media * @par
extensions/amp-story/1.0/media-performance-metrics-service.js:163
↓ 30 callersFunctiontrustedInvocation
(obj)
test/unit/test-standard-actions.js:103
↓ 30 callersFunctionwaitForOpen
(el, open)
extensions/amp-sidebar/1.0/test/test-amp-sidebar.js:21
↓ 29 callersFunctionS
(e,t,n)
third_party/inputmask/bundle.js:11
↓ 29 callersMethodcallback
(mutationsList)
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js:154
↓ 29 callersMethoddeclareExtension
* Adds a declared extension to an ampdoc. * @param {string} extensionId * @param {string} version * @restricted
src/service/ampdoc-impl.js:425
↓ 29 callersMethodexpand
* Expands the element, resetting its default display value, and notifies its * owner (if there is one) through {@link expandedCallback} that the el
src/base-element.js:1006
↓ 29 callersFunctionfacebook
(global, data)
3p/facebook.js:188
↓ 29 callersFunctiongetAmpAccordion
(opt_shouldSetId)
extensions/amp-accordion/0.1/test/test-amp-accordion.js:62
↓ 29 callersFunctiongetAmpdoc
(nodeOrDoc)
src/service-helpers.js:304
↓ 29 callersFunctiongetAnalyticsTag
(config, attrs)
extensions/amp-analytics/0.1/test/test-config.js:973
↓ 29 callersFunctiongetConfig
(sampleRate)
extensions/amp-analytics/0.1/test/test-amp-analytics.js:965
↓ 29 callersFunctiongetErrorReportData
( message, filename, line, col, error, hasNonAmpJs )
src/error-reporting.js:490
↓ 29 callersMethodgetExtensionHolder_
* Creates or returns an existing extension holder. * @param {string} extensionId * @param {string} version * @param {boolean=} opt_auto *
src/service/extensions-impl.js:525
↓ 29 callersFunctiongetLastValidPosition
(closestTo, strict, validPositions)
third_party/inputmask/inputmask.js:791
↓ 29 callersMethodgetLayout
@return {!Layout_Enum}
src/base-element.js:318
↓ 29 callersMethodgetRootNode
* Returns the root node for this ampdoc. It will either be a `Document` for * the single-doc runtime mode, or a `ShadowRoot` for shadow-doc mode. T
src/service/ampdoc-impl.js:466
↓ 29 callersFunctiongetStdout
* Executes the provided command, returning its stdout. * @param {string} cmd * @param {?Object=} options * @return {string}
build-system/common/process.js:48
↓ 29 callersMethodgetUrl
* Returns the URL from which the document was loaded. * @return {string}
src/service/ampdoc-impl.js:530
↓ 29 callersMethodifChrome
()
testing/test-config.js:88
↓ 29 callersMethodinvoke_
* @param {!ActionInvocation} invocation * @return {?Promise} * @private
src/service/action-impl.js:671
↓ 29 callersMethodloadKeyset
* Fetches and imports the public keyset for the named signing service, * without any cachebusting. Hopefully, this will hit cache in many cases
extensions/amp-a4a/0.1/signature-verifier.js:136
↓ 29 callersFunctiont
(t,n)
examples/amp-script/todomvc.ssr.js:2
↓ 29 callersFunctiontriggerAnalyticsEvent
( target, eventType, vars = {}, enableDataVars = true )
src/utils/analytics.js:12
↓ 29 callersMethodupgradeCallback
@override
extensions/amp-ad/0.1/amp-ad.js:51
↓ 29 callersFunctionuserAssert
( shouldBeTruthy, opt_message, opt_1, opt_2, opt_3, opt_4, opt_5, opt_6, opt_7, opt_8, o
src/core/assert/user.js:28
↓ 28 callersMethodadd
@override
src/service/resources-impl.js:295
↓ 28 callersFunctionallocateVariant
( ampdoc, viewer, experimentName, experimentObject )
extensions/amp-experiment/1.0/variant.js:65
↓ 28 callersMethodcoreServicesAvailable
* Listens to viewer and resource events. * @return {!Promise}
src/service/performance-impl.js:293
↓ 28 callersFunctioncreateDatePicker
(opt_attrs, opt_parent = document.body)
extensions/amp-date-picker/0.1/test/test-amp-date-picker.js:40
↓ 28 callersFunctioncreateElement
()
test/unit/test-standard-actions.js:24
↓ 28 callersFunctioncreateVideo
(children)
extensions/amp-video/0.1/test/test-video-cache.js:655
↓ 28 callersFunctiondeserializeMessage
(message)
src/core/3p-frame-messaging.js:96
↓ 28 callersFunctionexecute
Helper for invoking open/close/toggle actions on amp-sidebar.
extensions/amp-sidebar/0.1/test/test-amp-sidebar.js:143
↓ 28 callersFunctionfetch
* Wrapper around `fetch` that checks the status code * * @param {RequestInfo} url * @param {RequestInit} [init] * @return {Promise<Respons
src/preact/utils/xhr.js:20
↓ 28 callersFunctiongetAmpSidebar
(options)
extensions/amp-sidebar/0.1/test/test-amp-sidebar.js:51
↓ 28 callersMethodgetRootElement
* The root element within the analytics root. * * @return {!Element}
extensions/amp-analytics/0.1/analytics-root.js:86
↓ 28 callersFunctionlistenFor
( iframe, typeOfMessage, callback, opt_is3P, opt_includingNestedWindows, opt_allowOpaqueOrigin )
src/iframe-helper.js:235
↓ 28 callersFunctionnewResourceTimingSpec
()
extensions/amp-analytics/0.1/test/test-resource-timing.js:10
↓ 28 callersMethodonVisibilityChanged
* Adds a "visibilitychange" event listener for viewer events. The * callback can check {@link isVisible} and {@link getPrefetchCount} * methods
src/service/ampdoc-impl.js:766
↓ 28 callersMethodsendRequest
* @param {string} url * @param {!Array<!BatchSegmentDef>} segments * @param {boolean} inBatch
extensions/amp-analytics/0.1/transport.js:83
↓ 28 callersFunctionstubControls
()
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:128
↓ 28 callersFunctiontest
* Tests trust determination by origin. * * @param {string} origin URL under test. * @param {boolean} toBeTrusted The expected outcome.
test/unit/test-viewer.js:1400
↓ 28 callersMethodtogglePlaceholder
* Hides or shows the placeholder, if available. * @param {boolean} state * @public @final
src/base-element.js:775
↓ 27 callersFunction$
(e,t)
third_party/inputmask/bundle.js:11
↓ 27 callersFunctionR
(a,b,c,d,e,f,g,h)
third_party/wgxpath/wgxpath.js:49
↓ 27 callersFunctionW
(e,t)
third_party/inputmask/bundle.js:11
↓ 27 callersFunctionaddParamToUrl
(url, key, value, opt_addToFront)
src/url.js:224
↓ 27 callersFunctionchangeViewerVisibilityState
(state)
test/integration/test-visibility-states.js:60
↓ 27 callersFunctionclosest
(element, callback, opt_stopAt)
src/core/dom/query.js:115
↓ 27 callersFunctioncreateConsentElement
(doc, config, opt_type)
extensions/amp-consent/0.1/test/test-amp-consent.js:1847
↓ 27 callersFunctionexpectExperiment
(storedString, experimentId)
test/unit/test-experiments.js:134
↓ 27 callersMethodfire
* Fires an event. All observers are called. * @param {TYPE=} opt_event
src/core/data-structures/observable.js:57
↓ 27 callersMethodfire
* Fires element intersection
extensions/amp-ad/0.1/legacy-ad-intersection-observer-host.js:83
↓ 27 callersFunctiongetCarousel
({ dir = null, loop = false, slideCount = 5, } = {})
extensions/amp-carousel/0.2/test/test-type-slides.js:90
↓ 27 callersMethodgetElementText
* @param {!ElementHandle<!WebElement>} handle * @return {!Promise<string>}
build-system/tasks/e2e/selenium-webdriver-controller.js:320
↓ 27 callersMethodisSafari
* Whether the current browser is Safari. * @return {boolean}
src/service/platform-impl.js:39
↓ 27 callersFunctionlocalizeTemplate
(template, context)
extensions/amp-story/1.0/amp-story-localization-service.js:42
↓ 27 callersMethodmeasure
* @param {!Element} target * @param {string} prop * @return {string}
extensions/amp-animation/0.1/web-animations.js:945
↓ 27 callersMethodmutateElement_
* Mutates the fixed/sticky element. At this point it's determined that the * element is indeed fixed/sticky. There are two main functions here:
src/service/fixed-layer.js:785
↓ 27 callersMethodmutateProps
* @protected * @param {JsonObject} props
src/preact/base-element.js:500
↓ 27 callersMethodobserve
(target)
extensions/amp-animation/0.1/test/test-amp-animation.js:21
↓ 27 callersMethodonGesture
* Subscribes to a gesture emitted by the specified recognizer. For a first * gesture handler registered in this method the recognizer is installed
src/gesture.js:176
↓ 27 callersMethodpageConfig
@override
third_party/subscriptions-project/swg.js:19073
↓ 27 callersMethodreplaceState
* @param {?Object} state * @param {?string} title * @param {?string} url * @param {boolean=} opt_fireEvent
testing/fake-dom.js:608
↓ 27 callersFunctionseekNext
(pos, newBlock)
third_party/inputmask/inputmask.js:1523
↓ 27 callersFunctionserializeMessage
(type, sentinel, data = {}, rtvVersion = null)
src/core/3p-frame-messaging.js:81
↓ 27 callersMethodsetItem
* @param {string} name * @param {*} value * @return {?string}
testing/fake-dom.js:656
↓ 27 callersMethodupdateAction_
* Mutates the current elements dom and compensates for scroll * change if necessary. * Makes sure to zero out the pending items arrays after flu
extensions/amp-live-list/0.1/amp-live-list.js:314
↓ 27 callersFunctionuseValueRef
(latest: T)
src/preact/component/value-ref.ts:6
↓ 27 callersFunctionverifyPositionUpdateAfterEventDispatch
* Dispatch a event * and see if the expected targetPos is reached
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:1065
↓ 27 callersMethodwrite
* @return {!Promise}
extensions/amp-analytics/0.1/cookie-writer.js:59
↓ 26 callersMethodattemptChangeHeight
* Return a promise that requests the runtime to update * the height of this element to the specified value. * The runtime will schedule this req
src/base-element.js:890
↓ 26 callersFunctionchangeInput
(element, value)
extensions/amp-form/0.1/test/test-form-dirtiness.js:26
↓ 26 callersFunctionexecute
Helper for invoking open/close/toggle actions on amp-sidebar.
extensions/amp-sidebar/0.2/test/test-amp-sidebar.js:142
↓ 26 callersFunctiongetRenderedData
()
extensions/amp-render/1.0/test/test-amp-render.js:50
↓ 26 callersFunctiongetSourceOrigin
(url)
src/url.js:534
↓ 26 callersMethodhandleAmpTarget_
* Handles global `AMP` actions. * See `amp-actions-and-events.md` for details. * @param {!./action-impl.ActionInvocation} invocation * @retur
src/service/standard-actions-impl.js:160
↓ 26 callersFunctionlistenOnce
(element, eventType, listener, opt_evtListenerOpts)
src/utils/event-helper.js:85
↓ 26 callersMethodmake
* Returns a WeakRef. Uses this implementation if the real WeakRef class * is not available. * @param {Window} win * @param {Element} element
src/core/data-structures/dom-based-weakref.js:28
↓ 26 callersFunctionmoment
* @constructor * @struct * @param {string|?moment} input * @return {!moment}
third_party/moment/moment.extern.js:15
← previousnext →501–600 of 18,703, ranked by callers