MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 18 callersMethodshouldShow
@override
extensions/amp-user-notification/0.1/amp-user-notification.js:363
↓ 18 callersFunctionsign
(x)
src/polyfills/math-sign.js:9
↓ 18 callersMethodstart
Starts or resumes the animation.
extensions/amp-story/1.0/animation.js:338
↓ 18 callersFunctiontestStandalone
(userAgentString, standAloneBoolean)
test/unit/test-platform.js:49
↓ 18 callersFunctiontestUserAgent
(userAgentString)
test/unit/test-platform.js:34
↓ 18 callersMethodtoggle
* @param {string|undefined} section
src/bento/components/bento-accordion/1.0/component.type.js:109
↓ 18 callersMethodtoggle
@override
extensions/amp-live-list/0.1/amp-live-list.js:261
↓ 18 callersMethodupgrade
* Upgrades the element to the provided new implementation. If element * has already been attached, it's layout validation and attachment flows
src/custom-element.js:363
↓ 18 callersFunctionvalidateSrcPrefix
(prefix, src)
3p/3p.js:132
↓ 18 callersFunctionwaitForChild
(parent, checkFunc, callback)
src/core/dom/index.js:35
↓ 17 callersFunctionK
(a,b)
third_party/wgxpath/wgxpath.js:43
↓ 17 callersFunctionLocalModuleName
(module_name)
validator/validator_gen_js.py:686
↓ 17 callersFunction_classCallCheck
(e,n)
third_party/react-dates/bundle.js:1
↓ 17 callersFunctionaddAd
(layoutBox)
extensions/amp-auto-ads/0.1/test/test-ad-tracker.js:30
↓ 17 callersMethodaddEnabledExperiment
* @param {string} experimentId
src/service/performance-impl.js:899
↓ 17 callersFunctionassert
* Throws an error if the first argument isn't trueish. * * Supports argument substitution into the message via %s placeholders. * * Throws an erro
third_party/subscriptions-project/swg.js:2976
↓ 17 callersFunctionbase64UrlDecodeToBytes
(str)
src/core/types/string/base64.js:23
↓ 17 callersFunctionchildElementByAttr
(parent, attr)
src/core/dom/query.js:273
↓ 17 callersFunctioncontinuationMaker
(h, parts, initial, state, param)
third_party/caja/html-sanitizer.js:1743
↓ 17 callersFunctioncreateCallbackCaller
()
test/unit/utils/test-display-observer.js:90
↓ 17 callersFunctioncreateDatePicker
* @param {!JsonObject<string, string>=} opt_attrs * @param {!Element=} opt_parent * @return {{ * element: !Element, * picker:
extensions/amp-date-picker/0.1/test/test-amp-date-picker-state.js:32
↓ 17 callersMethodcreateElement_
* @param {string} name * @return {!Element} * @private
extensions/amp-access-laterpay/0.1/laterpay-impl.js:250
↓ 17 callersMethodcreateExpectedError
* Creates an error object with its expected property set to true. * @param {...*} var_args * @return {!Error}
src/utils/log.js:303
↓ 17 callersFunctioncreateFrameFor
(video, src, opt_name, opt_sandbox)
src/iframe-video.js:67
↓ 17 callersFunctiondevAssertElement
(shouldBeElement, opt_message)
src/core/assert/dev.js:84
↓ 17 callersFunctionf
(n)
third_party/d3/d3.js:1
↓ 17 callersFunctiongetAmpNextPage
(options, waitForLayout = true)
extensions/amp-next-page/1.0/test/test-amp-next-page.js:85
↓ 17 callersMethodgetConsentPolicy
@override
extensions/amp-ad/0.1/amp-ad-3p-impl.js:174
↓ 17 callersMethodgetElementsForTesting
* @return {!Array<!Element>} * @visibleForTesting
extensions/amp-selector/0.1/amp-selector.js:663
↓ 17 callersMethodgetHeight
@override
src/inabox/inabox-viewport.js:185
↓ 17 callersMethodgetLoadMoreService_
* @return {!LoadMoreService} * @private
extensions/amp-list/0.1/amp-list.js:378
↓ 17 callersFunctiongetServiceForDocOrNull
(elementOrAmpDoc, id)
src/service-helpers.js:216
↓ 17 callersFunctiongetTrackImpressionPromise
()
src/impression.js:41
↓ 17 callersMethodgetType
* Returns the type of the tracker. * @return {string} * @abstract
extensions/amp-analytics/0.1/analytics-root.js:71
↓ 17 callersFunctionhandler
(event)
src/preact/component/iframe.js:128
↓ 17 callersFunctioninstallViewerServiceForDoc
(ampdoc)
src/service/viewer-impl.js:945
↓ 17 callersFunctioninvocation
(element, method, args = {})
extensions/amp-lightbox-gallery/1.0/test/test-amp-lightbox-gallery.js:44
↓ 17 callersFunctioninvokeWebWorker
(win, method, opt_args, opt_localWin)
src/web-worker/amp-worker.js:33
↓ 17 callersFunctionlayoutCallback
()
extensions/amp-date-picker/0.1/test/test-amp-date-picker-state.js:72
↓ 17 callersFunctionmergeHtmlForTesting
(spec)
src/friendly-iframe-embed.js:339
↓ 17 callersFunctiono
(n)
third_party/d3/d3.js:1
↓ 17 callersFunctionobjOrParseJson
(objOrStr)
src/iframe-video.js:108
↓ 17 callersFunctionobserveContentSize
(element, callback)
src/core/dom/layout/size-observer.js:49
↓ 17 callersFunctionobserveDisplay
(target, callback)
src/utils/display-observer.js:49
↓ 17 callersMethodonLayoutMeasure
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:622
↓ 17 callersMethodonResize
@override
src/inabox/inabox-viewport.js:293
↓ 17 callersFunctionownProperty
(obj, key)
src/core/types/object/index.js:49
↓ 17 callersFunctionp
()
third_party/react-dates/bundle.js:1
↓ 17 callersFunctionprocessHead
(win, adElement, head)
extensions/amp-a4a/0.1/head-validation.js:86
↓ 17 callersFunctionredispatch
(element, event, events)
src/iframe-video.js:49
↓ 17 callersMethodsetOwner
* Assigns an owner for the specified element. This means that the resources * within this element will be managed by the owner and not Resources ma
src/service/resource.js:105
↓ 17 callersMethodsetWindowRect
* Sets width/height of the browser area. * @param {!ISize} rect * @return {!Promise}
build-system/tasks/e2e/selenium-webdriver-controller.js:469
↓ 17 callersMethodstartOrResume_
* @param {?JsonObject=} opt_args * @return {?Promise} * @private
extensions/amp-animation/0.1/amp-animation.js:390
↓ 17 callersFunctionsvgFor
(nodeOrDoc)
src/core/dom/static-template.js:31
↓ 17 callersFunctiont
(t,a)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 17 callersMethodtoArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2545
↓ 17 callersMethodtoggle
* @param {*} option * @param {boolean|undefined} value
extensions/amp-selector/1.0/component.type.js:61
↓ 17 callersMethodtokenPrefixMatch_
* Returns true if the given input string is a token-prefix match on the * given item string. Assumes toLocaleLowerCase() has been performed on both
extensions/amp-autocomplete/0.1/amp-autocomplete.js:843
↓ 17 callersMethodupdate_
* @param {number} visibility * @private
extensions/amp-analytics/0.1/visibility-model.js:293
↓ 17 callersFunctionwaitForOpen
(el, open)
extensions/amp-lightbox-gallery/1.0/test/test-amp-lightbox-gallery.js:38
↓ 17 callersMethodwithTarget
* @param {?Element} target * @param {?number} index * @param {function(?Element):T} callback * @return {T} * @template T * @protected
extensions/amp-animation/0.1/web-animations.js:984
↓ 16 callersFunctionE
(e,a)
third_party/react-dates/bundle.js:1
↓ 16 callersFunctionO
(e,a)
third_party/react-dates/bundle.js:1
↓ 16 callersMethodR1
* See `BaseElement.R1()`. * * @return {boolean} * @final
src/custom-element.js:930
↓ 16 callersFunction_inherits
(e,r)
third_party/react-dates/bundle.js:1
↓ 16 callersFunction_possibleConstructorReturn
(e,r)
third_party/react-dates/bundle.js:1
↓ 16 callersMethodaddBindings
* Parses and stores given bindings into expression objects and returns map * of expression string to parse errors. * @param {!Array<!BindBinding
extensions/amp-bind/0.1/bind-evaluator.js:38
↓ 16 callersFunctionafterIndexUpdate
* @param {!Element} el * @param {number=} index An index to wait for. * @return {!Promise<undefined>}
extensions/amp-carousel/0.2/test/test-type-slides.js:25
↓ 16 callersMethodapplySize
* Applies a size change to the element. * * This method is called by Resources and shouldn't be called by anyone * else. This method mu
src/custom-element.js:1096
↓ 16 callersMethodbuild
* Create an `amp-story-page` containing an `amp-ad`. * @return {!Element}
extensions/amp-story-auto-ads/0.1/story-ad-page.js:203
↓ 16 callersFunctionbuildCreativeString
* @param {Object=} opt_additionalInfo * @return {string}
extensions/amp-a4a/0.1/test/test-amp-a4a.js:399
↓ 16 callersFunctionbuildDom
(element)
extensions/amp-carousel/0.1/build-dom.js:282
↓ 16 callersFunctionbuildPlayer
(attrs = {}, opts = {})
extensions/amp-slikeplayer/0.1/test/test-amp-slikeplayer.js:23
↓ 16 callersFunctioncalculateFontSize_
( measurer, expectedHeight, expectedWidth, minFontSize, maxFontSize )
extensions/amp-fit-text/0.1/amp-fit-text.js:157
↓ 16 callersFunctioncreateResource
( config, layout, tagName = 'amp-ad', parent = doc.body )
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-flexible-ad-slot-utils.js:14
↓ 16 callersFunctioncreateResource
( config, layout, tagName = 'amp-ad', parent = doc.body )
extensions/amp-ad-network-valueimpression-impl/0.1/test/test-flexible-ad-slot-utils.js:14
↓ 16 callersMethoddefine
* Custom Elements V1 API. * @param {string} name * @param {!Function} klass
testing/fake-dom.js:708
↓ 16 callersFunctiondoBuildJs
* @param {!Object} jsBundles * @param {string} name * @param {!Object} extraOptions * @return {!Promise}
build-system/tasks/helpers.js:80
↓ 16 callersFunctionexec
* Executes the provided command with the given options, returning the process * object. * * @param {string} cmd * @param {?Object=} options * @re
build-system/common/exec.js:22
↓ 16 callersFunctionextractKeyframes
(rootNode, name)
extensions/amp-animation/0.1/parsers/keyframes-extractor.js:10
↓ 16 callersFunctionfakeGetSupportedScoreFactor
* fake handler for getSupportedScoreFactor * @param {string} factor * @param {!Object} factorMap * @return {number}
extensions/amp-subscriptions/0.1/test/test-platform-store.js:36
↓ 16 callersMethodfindAction_
* @param {!Element} target * @param {string} actionEventType * @param {!Element=} opt_stopAt * @return {?{node: !Element, actionInfos: !Array
src/service/action-impl.js:745
↓ 16 callersFunctionflush
Awaits N times. Allows promises to resolve.
extensions/amp-subscriptions/0.1/test/test-amp-subscriptions.js:90
↓ 16 callersMethodforceChangeHeight
* Requests the runtime to update the height of this element to the specified * value. The runtime will schedule this request and attempt to process
src/base-element.js:868
↓ 16 callersMethodget
* Returns the current known value of the signal. If signal is not yet * available, `null` is returned. * @param {string} name * @return {numb
src/core/data-structures/signals.js:41
↓ 16 callersFunctiongetAT
(configuration, opt_responsive, opt_beforeLayoutCallback)
extensions/amp-addthis/0.1/test/test-amp-addthis.js:43
↓ 16 callersMethodgetConsentStateManagerForTesting
* @return {?ConsentStateManager} * @visibleForTesting
extensions/amp-consent/0.1/amp-consent.js:933
↓ 16 callersFunctiongetConsentStateValue
(enumState)
extensions/amp-consent/0.1/consent-info.js:390
↓ 16 callersMethodgetElement
* Unwrap the framework-specific element handle object. * @return {!T} * @package
build-system/tasks/e2e/e2e-types.js:25
↓ 16 callersMethodgetHost_
* @return {!AmpElement} * @private
extensions/amp-next-page/1.0/service.js:264
↓ 16 callersFunctiongetLoader
()
test/unit/test-loading-indicator.js:60
↓ 16 callersFunctiongetMode
()
build-system/babel-plugins/babel-plugin-amp-mode-transformer/test/fixtures/transform-assertions/no-transform/input.js:7
↓ 16 callersFunctiongetOpacity
(win)
extensions/amp-fx-collection/0.1/test/integration/test-amp-fx-fade-in-scroll.js:183
↓ 16 callersFunctiongetPanZoom
* This function takes an object of attributes and constructs and builds * an amp-pan-zoom element and attaches it to the page. Assumes the conten
extensions/amp-pan-zoom/0.1/test/test-amp-pan-zoom.js:35
↓ 16 callersMethodgetProductId
* @return {?string}
third_party/subscriptions-project/config.js:304
↓ 16 callersMethodgetSelectedElementsForTesting
* @return {!Array<!Element>} * @visibleForTesting
extensions/amp-selector/0.1/amp-selector.js:671
↓ 16 callersMethodgetTotalEngagedTime
* Get total engaged time since the page became visible. * @return {number}
extensions/amp-analytics/0.1/activity-impl.js:338
↓ 16 callersMethodhasCapability
@override
src/service/viewer-impl.js:330
↓ 16 callersFunctionhtmlRefs
(root)
src/core/dom/static-template.js:122
↓ 16 callersFunctioninstallLightboxGallery
(ampdoc)
extensions/amp-lightbox-gallery/1.0/amp-lightbox-gallery.js:130
← previousnext →901–1,000 of 18,703, ranked by callers