MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 4 callersFunctiontestIframe
(iframe, id)
extensions/amp-imgur/0.1/test/test-amp-imgur.js:55
↓ 4 callersFunctiontestSuite
(description, win, expectedError)
test/unit/test-crypto.js:27
↓ 4 callersFunctiontextPosChar
(pos)
extensions/amp-viewer-integration/0.1/findtext.js:61
↓ 4 callersMethodthrowAsync
* @param {!Error} error
third_party/subscriptions-project/swg.js:3832
↓ 4 callersFunctiontimeBase
* Calculates the specified time based on the given `baseTime`. * @param {time} time * @param {time} baseTime * @return {time}
extensions/amp-analytics/0.1/visibility-model.js:506
↓ 4 callersFunctiontimedExecFn
* Wraps an exec helper in a timer. Returns the result of the helper. * @param {function(string, string=): ?} execFn * @return {function(string, stri
build-system/pr-check/utils.js:174
↓ 4 callersFunctiontimeout
* @param {number} ms * @return {!Promise}
test/e2e/test-amp-story-player-navigation.js:10
↓ 4 callersFunctiontimeout
(ms)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:845
↓ 4 callersFunctiontimeout
(ms)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fade-in.js:139
↓ 4 callersFunctiontn
(t,n,a)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 4 callersFunctiontoFloat
* Converts provided string to a number. * * @param {number|string} value * @returns {number}
third_party/resize-observer-polyfill/ResizeObserver.js:177
↓ 4 callersFunctiontoFloat
* Converts provided string to a number. * * @param {number|string} value * @returns {number}
third_party/resize-observer-polyfill/ResizeObserver.install.js:176
↓ 4 callersMethodtoggleDateFieldClass_
* Toggle the provided class on the given input * @param {?Element} field An input field * @param {string} className A css classname * @param
extensions/amp-date-picker/0.1/amp-date-picker.js:1534
↓ 4 callersMethodtoggleErrorMessage_
* Toggles the visibility of the "Play video" fallback message. * @param {boolean} isActive * @private
extensions/amp-story/1.0/amp-story-page.js:1879
↓ 4 callersMethodtoggleOverflow
* Toggles the description overflow state. * @param {boolean=} requestExpansion If specified, whether the * description should be expanded or
extensions/amp-lightbox-gallery/0.1/lightbox-caption.js:130
↓ 4 callersMethodtoggleResultsHandler_
* Disables or re-enables the browser autofill on the autocomplete input. * Then handles showing or hiding results on user focus/blur. * @param {
extensions/amp-autocomplete/0.1/amp-autocomplete.js:944
↓ 4 callersMethodtoggleRuntime
@override
src/service/viewer-impl.js:416
↓ 4 callersFunctiontopFromPosObsEntryOrNull
* @param {?PositionObserverEntryDef} entry * @return {?number}
extensions/amp-fx-collection/0.1/providers/amp-fx-presets.js:91
↓ 4 callersFunctiontransition
* Returns a promise which is resolved after the given duration of animation * @param {!Element} el - Element to be observed. * @param {!Object<strin
third_party/subscriptions-project/swg.js:15909
↓ 4 callersMethodtranslateBy_
* Builds a string for the transform property that translates by given amount. * @param {number} value * @param {string} unit * @return {strin
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:123
↓ 4 callersMethodtranslateBy_
* Builds a string for the transform property that translates by given amount. * @param {number} value * @param {string} unit * @return {strin
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:123
↓ 4 callersFunctiontranslatePosition
(pos)
third_party/inputmask/inputmask.js:2202
↓ 4 callersMethodtriggerAction_
* Triggers an action e.g. submit success/error with response data. * @param {!FormEvents} name * @param {?JsonObject|!Array<{message: string, na
extensions/amp-form/0.1/amp-form.js:1189
↓ 4 callersMethodtriggerEvent
(eventName, eventResult, invocation)
src/service/standard-actions-impl.js:255
↓ 4 callersMethodtriggerFormSubmitInAnalytics_
* Triggers 'amp-form-submit' event in 'amp-analytics' and * generates variables for form fields to be accessible in analytics * * @param {str
extensions/amp-form/0.1/amp-form.js:479
↓ 4 callersMethodtriggerLayout_
* @param {!Element} target * @param {boolean} isIntersecting
extensions/amp-base-carousel/0.1/child-layout-manager.js:170
↓ 4 callersMethodtryExecuteRealTimeConfig_
* Attempts to execute Real Time Config, if the ad network has enabled it. * If it is not supported by the network, but the publisher has included
extensions/amp-a4a/0.1/amp-a4a.js:2427
↓ 4 callersMethodtryToDecryptDocument
* @param {string} decryptedDocumentKey * @return {!Promise}
extensions/amp-subscriptions/0.1/crypto-handler.js:80
↓ 4 callersFunctiontu
(n)
third_party/d3/d3.js:2
↓ 4 callersFunctiontwitter
(global, data)
3p/twitter.js:36
↓ 4 callersMethodunlayoutCallback
@override
extensions/amp-carousel/0.1/slidescroll.js:505
↓ 4 callersMethodunmute
Sends a message unmuting the current story.
src/amp-story-player/amp-story-player-impl.js:898
↓ 4 callersMethodunobserve
(element)
testing/resize-observer-stub.js:65
↓ 4 callersMethodunregisterIframe
* Removes an iframe from the set of iframes we watch, along with executing * any necessary cleanup. Available at win.AMP.inaboxUnregisterIframe().
ads/inabox/inabox-messaging-host.js:352
↓ 4 callersMethodunschedule
* @param {!AmpElement} target
src/service/scheduler.js:104
↓ 4 callersFunctionunsubscribe
(node, callback)
src/core/context/subscriber.js:50
↓ 4 callersMethodunsubscribe
* Unsubscribes a previously added handler. If there are no other subscribers * the property tracking is stopped and the used value is removed. *
src/core/context/values.js:210
↓ 4 callersMethodupdate
@override
extensions/amp-live-list/0.1/amp-live-list.js:270
↓ 4 callersMethodupdateDescriptionBox_
* Update description box text. * @param {boolean=} expandDescription Whether the description should be * expanded. * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:494
↓ 4 callersMethodupdateForwards
* @param {boolean} forwards Whether or not the advancement direction is * forwards (e.g. ltr) or reverse (e.g. rtl).
extensions/amp-base-carousel/0.1/carousel.js:553
↓ 4 callersMethodupdateHistoryState_
* @param {!HistoryStateDef} historyState * @private
src/service/history-impl.js:791
↓ 4 callersMethodupdateHistoryState_
* @param {!HistoryStateDef} state * @private
src/service/history-impl.js:1054
↓ 4 callersMethodupdateLayoutPriority
()
extensions/amp-a4a/0.1/test/utils.js:14
↓ 4 callersMethodupdateLoop
* @param {boolean} loop Whether or not the scrollable should loop when * reaching the last slide.
extensions/amp-base-carousel/0.1/carousel.js:580
↓ 4 callersMethodupdatePanZoom_
* Updates pan/zoom of the image based on the current values. * @private
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:491
↓ 4 callersMethodupdatePanZoom_
* Updates pan/zoom of the image based on the current values. * @private
extensions/amp-image-viewer/0.1/amp-image-viewer.js:645
↓ 4 callersMethodupdatePanZoom_
* Updates pan/zoom of the content based on the current values. * @return {!Promise} * @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:739
↓ 4 callersMethodupdateSnap
* @param {boolean} snap Whether or not to snap.
extensions/amp-base-carousel/0.1/carousel.js:619
↓ 4 callersMethodupdateUi_
* Updates the UI of the <amp-base-carousel> itself, but not the internal * implementation. * @private
extensions/amp-base-carousel/0.1/amp-base-carousel.js:526
↓ 4 callersMethodupdateUi_
* Updates the UI of the <amp-carousel> itself, but not the internal * implementation. * @private
extensions/amp-carousel/0.2/amp-carousel.js:504
↓ 4 callersFunctionupdateView
( state: State, newState: Partial<PickState<'posX' | 'posY' | 'scale'>> )
extensions/amp-pan-zoom/1.0/hooks/usePanZoomState.ts:78
↓ 4 callersMethodupdateVisibility
* Loops through pages and updates their visibility according * to their relative position to the viewport
extensions/amp-next-page/1.0/service.js:331
↓ 4 callersMethodupgradeOrSchedule_
* Upgrade or schedule element based on R1. * @param {boolean=} opt_disablePreload * @private @final
src/custom-element.js:1248
↓ 4 callersFunctionuseAnalyticsInSandbox
(element, promise)
src/extension-analytics.js:203
↓ 4 callersFunctionuseEvent
( callback: TCallback )
src/preact/hooks/useEvent.ts:12
↓ 4 callersFunctionuseIntersectionObserver
(callback, ioOptions)
src/preact/component/intersection-observer.js:12
↓ 4 callersFunctionuseRenderer
(renderer, data)
src/preact/component/renderer.js:17
↓ 4 callersFunctionuu
(n)
third_party/d3/d3.js:2
↓ 4 callersMethodvalidateActionMap
* Validates the action map * @param {!JsonObject<string, string>} actionMap * @return {!JsonObject<string, string>}
extensions/amp-subscriptions/0.1/local-subscription-platform-base.js:86
↓ 4 callersFunctionvalidateCurrencyCode
(data, schemaName = "currency-code")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-currency-code/output.mjs:26
↓ 4 callersFunctionvalidateFormat
(data, schemaName = "format")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-format/output.mjs:51
↓ 4 callersFunctionvalidateFormatDate
(data, schemaName = "format-date")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-format-date/output.mjs:70
↓ 4 callersFunctionvalidateRefs
(data, schemaName = "refs")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-refs/output.mjs:73
↓ 4 callersFunctionvalidateSrcContains
(string, src)
3p/3p.js:152
↓ 4 callersFunctionvalue
(message)
extensions/amp-form/0.1/test/test-form-verifiers.js:20
↓ 4 callersFunctionverifyCss
(iframe)
extensions/amp-ad-network-adsense-impl/0.1/test/test-amp-ad-network-adsense-impl.js:572
↓ 4 callersFunctionverifyElementStyles
(element, styles)
extensions/amp-fit-text/1.0/test-e2e/test-amp-fit-text.js:53
↓ 4 callersFunctionverifyElementStyles
(element, styles)
extensions/amp-fit-text/0.1/test-e2e/test-amp-fit-text.js:39
↓ 4 callersFunctionwa
(e)
third_party/react-dates/bundle.js:1
↓ 4 callersFunctionwaitForOpacity
(win, comparison, factor)
test/integration/test-position-observer.js:175
↓ 4 callersFunctionwaitForParentPostMessage
(opt_max)
extensions/amp-analytics/0.1/test/test-amp-analytics.js:1987
↓ 4 callersFunctionwaitForProp
(element, prop, targetValue)
test/unit/preact/test-base-element-runtime.js:72
↓ 4 callersFunctionwaitForTypeChange
(el, type)
extensions/amp-social-share/1.0/test/test-amp-social-share.js:34
↓ 4 callersFunctionwarn
* @param {...*} var_args [description]
third_party/subscriptions-project/swg-gaa.js:248
↓ 4 callersMethodwasUnlaidOut
* This should be called from the `unlayoutCallback` of the AMP element that * constructed this manager.
extensions/amp-base-carousel/0.1/child-layout-manager.js:416
↓ 4 callersFunctionwe
(e)
third_party/react-dates/bundle.js:1
↓ 4 callersFunctionwhenContentIniLoadInOb
(elementOrAmpDoc, opt_prerenderableOnly)
src/ini-load.js:88
↓ 4 callersMethodwhenViewed_
* The promise will be resolved when a view of this document has occurred. It * will be rejected if the current impression should not be counted as
extensions/amp-subscriptions/0.1/viewer-tracker.js:76
↓ 4 callersMethodwhenWithinViewport
* @param {number|boolean} viewport derived from renderOutsideViewport. * @return {!Promise} resolves when underlying element is built and within th
src/service/resource.js:691
↓ 4 callersMethodwithinWindow_
* @param {number} pos * @param {function(Element):void} callback * @private
extensions/amp-carousel/0.1/scrollable-carousel.js:330
↓ 4 callersFunctionwriteIfUpdated
* Writes the given contents to the patched file if updated * @param {string} patchedName Name of patched file * @param {string} file Contents to wri
build-system/common/update-packages.js:18
↓ 4 callersFunctionwt
(n,t)
third_party/d3/d3.js:1
↓ 4 callersFunctionx
()
third_party/react-dates/bundle.js:1
↓ 4 callersFunctionxe
(e,a)
third_party/react-dates/bundle.js:1
↓ 4 callersFunctionxt
(n,t)
third_party/d3/d3.js:1
↓ 4 callersFunctionyt
(n,t)
third_party/d3/d3.js:1
↓ 4 callersFunctionyu
(n,t,e,r)
third_party/d3/d3.js:2
↓ 3 callersFunction$a
(a,b,c)
third_party/wgxpath/wgxpath.js:59
↓ 3 callersFunctionAmpDoc
({body, canonical, css, head})
build-system/server/app-index/amphtml-helpers.js:47
↓ 3 callersFunctionAn
(n)
third_party/d3/d3.js:1
↓ 3 callersFunctionAr
(e)
examples/amp-script/vue-todomvc.js:7
↓ 3 callersFunctionBt
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 3 callersFunctionCu
(n,t)
third_party/d3/d3.js:2
↓ 3 callersFunctionD
(e,a,t)
third_party/react-dates/bundle.js:1
↓ 3 callersFunctionDie
Prints error and exits with status 1. Args: msg: The error message to emit
validator/js/webui/build.py:21
↓ 3 callersFunctionDt
(e,a,t,s)
third_party/react-dates/bundle.js:1
↓ 3 callersFunctionDu
(n,t,e)
third_party/d3/d3.js:2
↓ 3 callersFunctionEa
(e)
third_party/react-dates/bundle.js:1
↓ 3 callersFunctionEb
(a,b)
third_party/wgxpath/wgxpath.js:67
↓ 3 callersFunctionF
(t,n,a)
third_party/d3-geo-projection/d3-geo-projection.js:1
← previousnext →3,801–3,900 of 18,703, ranked by callers