MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersFunctioncreateMetaHash
(name, content)
extensions/amp-script/0.1/test/unit/test-amp-script.js:306
↓ 2 callersFunctioncreateMocha_
* Creates a mocha test instance with configuration determined by CLI args. * @return {!Mocha}
build-system/tasks/e2e/index.js:64
↓ 2 callersMethodcreateModelAndListen_
* Create visibilityModel and listen to visible events. * @param {function():number} calcVisibility * @param {!JsonObject} spec * @param {?Pro
extensions/amp-analytics/0.1/visibility-manager.js:321
↓ 2 callersMethodcreateMoment_
* Forgivingly parse an ISO8601 input string into a moment object, * preferring the date picker's configured format. * @param {string} input The
extensions/amp-date-picker/0.1/amp-date-picker.js:742
↓ 2 callersFunctioncreateMouseMoveEvent
(x)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:971
↓ 2 callersFunctioncreateMouseUpEvent
(x)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:975
↓ 2 callersMethodcreateNextPage_
* Create the next ad page to be shown based on predetermined placements.
extensions/amp-story-auto-ads/0.1/algorithm-predetermined.js:98
↓ 2 callersFunctioncreateNode
* Helper used by html and svg string literal functions. * @param {HTMLElement | SVGSVGElement} container * @param {readonly string[]} strings * @re
src/core/dom/static-template.js:82
↓ 2 callersMethodcreateOutput_
* @param {boolean} verificationSucceeded * @param {!ArrayBuffer} bytes * @return {!./amp-ad-type-defs.ValidatorOutput}
extensions/amp-a4a/0.1/cryptographic-validator.js:37
↓ 2 callersFunctioncreateOverflow
* Helper function to create an overflow element * @param {!Window} global The window object of the iframe * @param {!Element} container HTML element
ads/vendors/csa.js:306
↓ 2 callersFunctioncreatePixel
(src, referrerPolicy)
test/unit/builtins/test-amp-pixel.js:28
↓ 2 callersFunctioncreatePixel
( win, src, referrerPolicy, attributionSrc, opt_elementOrAmpDoc )
src/pixel.js:25
↓ 2 callersMethodcreateRenderState_
* Factored out for testability * @param {./entitlement.Entitlement} entitlement * @return {!Promise<!JsonObject>} * @private
extensions/amp-subscriptions/0.1/local-subscription-platform-base.js:174
↓ 2 callersFunctioncreateRunner
(spec)
extensions/amp-animation/0.1/test/test-web-animations.js:1654
↓ 2 callersMethodcreateRunner_
* @param {!StoryAnimationConfigDef} config * @return {!AnimationRunner}
extensions/amp-story/1.0/animation.js:718
↓ 2 callersMethodcreateScreenReaderCloseButton
* Creates an "invisible" close button for screen readers to close the * sidebar. * @return {!Element}
extensions/amp-sidebar/0.2/amp-sidebar.js:349
↓ 2 callersMethodcreateScreenReaderCloseButton
* Creates an "invisible" close button for screen readers to close the * sidebar. * @return {!Element}
extensions/amp-sidebar/0.1/amp-sidebar.js:351
↓ 2 callersMethodcreateScreenReaderCloseButton_
* Creates an "invisible" close button for screen readers to collapse the * mega menu. * @return {!Element} * @private
extensions/amp-mega-menu/0.1/amp-mega-menu.js:412
↓ 2 callersFunctioncreateStyle
()
extensions/amp-animation/0.1/test/test-web-animations.js:2137
↓ 2 callersFunctioncreateTable
* @param {!{[key: string]: !{[key: string]: !Array<number>}}} filesData * accumulation of files and the rules and z index values. * @return {!Arr
build-system/tasks/get-zindex/index.js:56
↓ 2 callersMethodcreateTag
* Create git tag and ref * @param {string} tag * @param {string} sha * @return {Promise<Object>}
build-system/release-tagger/utils.js:300
↓ 2 callersFunctioncreateTests
* @param {{ * useShadow: boolean, * }} options
extensions/amp-truncate-text/0.1/test/test-amp-truncate-text.js:42
↓ 2 callersFunctioncreateTouchEndEvent
(x)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:987
↓ 2 callersFunctioncreateUnrelatedRule
(selector, elements)
test/unit/test-fixed-layer.js:405
↓ 2 callersFunctioncreateVariableDeclarator
* @param {BabelPath} path * @param {string} name * @return {ReturnType<t['variableDeclarator']>}
build-system/babel-plugins/babel-plugin-transform-function-declarations/index.js:106
↓ 2 callersFunctioncreateXmlDoc
* Creates a new XML document from the specified XML text. * @param {string} text XML document text. * @return {!Document} New XML document.
extensions/amp-next-page/0.1/test/test-amp-next-page.js:569
↓ 2 callersMethodcreatedCallback
* Called when elements is created. Sets instance vars since there is no * constructor. * @final
src/custom-element.js:144
↓ 2 callersFunctioncriteriaIsMetThereforeAcceptsOrRejects
(isMet, scenarios)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:211
↓ 2 callersFunctioncss
* Entry point for 'amp css' * @return {Promise<void>}
build-system/tasks/css/index.js:14
↓ 2 callersFunctioncss
(handle, name)
extensions/amp-base-carousel/1.0/test-e2e/test-advance.js:25
↓ 2 callersFunctioncss
(handle, name)
extensions/amp-base-carousel/0.1/test-e2e/test-advance.js:22
↓ 2 callersFunctionct
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctionctaLabelFromAttr
(element)
extensions/amp-story-page-attachment/0.1/amp-story-open-page-attachment.js:95
↓ 2 callersFunctiond
()
third_party/d3/d3.js:1
↓ 2 callersFunctionda
(a,b,c)
third_party/wgxpath/wgxpath.js:4
↓ 2 callersFunctionde
(n,t)
third_party/d3/d3.js:2
↓ 2 callersFunctiondebugLog
(var_args)
third_party/subscriptions-project/swg.js:2935
↓ 2 callersFunctiondecode
* @param {string} value * @return {string}
extensions/amp-consent/0.1/linker.js:200
↓ 2 callersMethoddecode
* Decodes JWT token and returns its payload. * @param {string} encodedToken * @return {?JsonObject|undefined}
third_party/subscriptions-project/swg-gaa.js:474
↓ 2 callersFunctiondecryptAesGcmImpl
(key, iv, text)
third_party/subscriptions-project/aes_gcm.js:44
↓ 2 callersMethoddedupeAttrs
* Removes duplicate attributes from the attribute list. This is consistent * with HTML5 parsing error handling rules, only the first attribute with
validator/js/engine/htmlparser-interface.js:311
↓ 2 callersFunctiondefaultCalleeToPropertiesMap
* Returns a new Map<string, {detected: boolean, removeable: Array<string>} * key is a valid callee name to potentially remove. * value.detected indi
build-system/babel-plugins/babel-plugin-transform-dev-methods/index.js:11
↓ 2 callersFunctiondefaultMarginValues
(fxType)
extensions/amp-fx-collection/0.1/providers/amp-fx-presets-utils.js:154
↓ 2 callersFunctiondefineProperty
(e,r,t,o)
third_party/react-dates/bundle.js:1
↓ 2 callersMethoddelayAdRequestEnabled
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:167
↓ 2 callersMethoddelegateVideoAutoplay
* Delegates video autoplay so the video manager does not follow the * autoplay attribute that may have been set by a publisher, which could * pl
extensions/amp-story/1.0/amp-story-page.js:601
↓ 2 callersMethoddestinationDomainsMatch_
* Helper method to find out if hostname match the destinationDomain array. * @param {Array<string>} domains * @param {string} hostname * @ret
extensions/amp-analytics/0.1/linker-manager.js:358
↓ 2 callersMethoddestroy
* Destroys the watcher. * See `CloseWatcher.destroy`.
src/utils/close-watcher-impl.js:86
↓ 2 callersMethoddestroyPlayerFrame_
* Removes the player iframe * @private
extensions/amp-connatix-player/0.1/amp-connatix-player.js:277
↓ 2 callersMethoddestroySafeFrameApi_
@private
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1276
↓ 2 callersFunctiondetectIsAutoplaySupported
(win)
src/core/dom/video/index.js:10
↓ 2 callersFunctiondetermineLastRequiredPosition
(returnDefinition)
third_party/inputmask/inputmask.js:2278
↓ 2 callersMethoddeviceOrientationHandler_
* @param {!Event} event * @private
extensions/amp-orientation-observer/0.1/amp-orientation-observer.js:125
↓ 2 callersMethoddisableScroll
@override
src/service/viewport/viewport-impl.js:761
↓ 2 callersMethoddisableTouchZoom
@override
src/service/viewport/viewport-impl.js:811
↓ 2 callersMethoddisconnect
@return {undefined}
src/polyfills/stubs/resize-observer-stub.js:95
↓ 2 callersMethoddisconnect
* Remove listeners for global resources.
src/service/viewport/viewport-binding-def.js:23
↓ 2 callersMethoddisconnect
()
extensions/amp-analytics/0.1/test/test-visibility-manager.js:42
↓ 2 callersMethoddisconnectedCallback_
* Fires disconnectedCallback on the custom element, if it has one. * * @param {!Node} node
src/polyfills/custom-elements.js:420
↓ 2 callersFunctiondiscover
(node)
src/core/context/index.js:50
↓ 2 callersFunctiondiscoverContained
* @param {Node} node
src/core/context/node.js:522
↓ 2 callersMethoddiscoverResourcesForElement_
* @param {!Element} element * @param {function(!Resource)} callback
src/service/owners-impl.js:115
↓ 2 callersMethoddiscoverScene_
* Finds the container scene. Either parent of the component or specified by * `target` attribute. * @return {!Element} scene element. * @priv
extensions/amp-position-observer/0.1/amp-position-observer.js:333
↓ 2 callersMethoddismiss_
* Dismisses the sidebar. * @param {boolean} immediate Whether sidebar should close immediately, * without animation. * @param {!ActionTru
extensions/amp-sidebar/0.2/amp-sidebar.js:560
↓ 2 callersFunctiondispatch
* Recursively trigger an event for a node and it's children. * Only emits events for keyed nodes. * * @param {Node} node - the initial node. * @re
third_party/set-dom/set-dom.js:298
↓ 2 callersFunctiondispatch
* Recursively trigger an event for a node and it's children. * Only emits events for keyed nodes. * * @param {Node} node - the initial node. * @re
third_party/set-dom/original.js:292
↓ 2 callersFunctiondispatchEvent
* @param {!HTMLIframeElement} iframe * @param {string} type
src/bento/components/bento-vimeo/1.0/component.js:26
↓ 2 callersFunctiondispatchFormValueChangeEvent
(element, win)
extensions/amp-form/0.1/test/test-form-dirtiness.js:49
↓ 2 callersMethoddispatchPageAttachmentEvent_
* Dispatch a page attachment event. * @param {boolean} isPageAttachmentOpen * @private
src/amp-story-player/amp-story-player-impl.js:1732
↓ 2 callersFunctiondispatchUpdateEvent
(target)
extensions/amp-access/0.1/test/test-amp-access.js:459
↓ 2 callersMethoddispatch_
* @param {VideoDockingEvents} event * @private
extensions/amp-video-docking/0.1/controls.js:317
↓ 2 callersMethoddisplayFallback_
* If a fallback element is provided, displays it instead of suggestions. * Otherwise, throws given error. Must be called in a mutate context. *
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1371
↓ 2 callersMethoddispose
* Shutdown the driver. * @return {Promise<void>}
build-system/tasks/e2e/selenium-webdriver-controller.js:697
↓ 2 callersMethoddispose
@public
src/service/video-manager-impl.js:568
↓ 2 callersMethoddispose
@override
extensions/amp-analytics/0.1/visibility-manager.js:145
↓ 2 callersMethoddisposeMediaAttrs_
@private
src/custom-element.js:1037
↓ 2 callersFunctiondisposeServiceInternal
* @param {string} id * @param {!Object} service
src/service-helpers.js:548
↓ 2 callersFunctiondisposeServicesInternal
* @param {!Object} holder Object holding the service instances.
src/service-helpers.js:524
↓ 2 callersMethoddispose_
* @private
extensions/amp-font/0.1/fontloader.js:207
↓ 2 callersMethoddist_
* @param {number} x1 * @param {number} x2 * @param {number} y1 * @param {number} y2 * @return {number} * @private
src/gesture-recognizers.js:930
↓ 2 callersFunctiondn
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 2 callersFunctiondoCompileJs
* Actually performs the steps to compile the entry point. * @param {object} options * @return {Promise<void>}
build-system/tasks/helpers.js:553
↓ 2 callersMethoddoLayout_
* @param {number} pos * @private
extensions/amp-carousel/0.1/scrollable-carousel.js:347
↓ 2 callersFunctiondoNotTrackImpression
()
src/impression.js:105
↓ 2 callersFunctiondoServe
* Starts a webserver at the repository root to serve built files. * @param {boolean=} lazyBuild * @return {Promise<void>}
build-system/tasks/serve.js:216
↓ 2 callersMethoddoVarSubs_
* Perform asynchronous variable substitution on the fields that require it. * @param {!IArrayLike<!HTMLInputElement>} varSubsFields * @return {!
extensions/amp-form/0.1/amp-form.js:873
↓ 2 callersMethoddockInTransferLayerStep_
* Dock this in a two-step process due to a browser quirk in transferring * layers to GPU. * @param {!VideoOrBaseElementDef} video * @param {!
extensions/amp-video-docking/0.1/amp-video-docking.js:746
↓ 2 callersFunctiondoesMerchantSupportOnlyTokenizedCards
* @param {!IsReadyToPayRequest} isReadyToPayRequest * * @return {boolean} true if the merchant only supports tokenized cards.
third_party/subscriptions-project/swg.js:15996
↓ 2 callersMethoddowngradeVideo_
* Downgrade a video quality by selecting a lower bitrate source if available, * then downgrade the other registered videos. * @param {!Element}
extensions/amp-video/0.1/flexible-bitrate.js:116
↓ 2 callersMethoddrag
(points)
extensions/amp-pan-zoom/1.0/test/test-component.js:662
↓ 2 callersMethoddrag_
* @param {!MouseEvent|!TouchEvent} e * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:1229
↓ 2 callersFunctiondrawBoxes
* Pretty-prints the current test status of each page. * @param {!Array<!puppeteer.Page>} allPages * @param {!Array<!puppeteer.Page>} availablePages
build-system/tasks/visual-diff/log.js:47
↓ 2 callersMethoddrawCanvas_
* Draws to the canvas with opacity. * @private * @param {number} alphaPercentage
extensions/amp-story/1.0/background-blur.js:232
↓ 2 callersFunctione
(e,t,n)
examples/amp-script/todomvc.ssr.js:2
↓ 2 callersFunctionea
(e,a)
third_party/react-dates/bundle.js:1
↓ 2 callersFunctioneaseInOutCubic
(t)
extensions/amp-story-interactive/0.1/amp-story-interactive-slider.js:52
↓ 2 callersFunctionee
(n)
third_party/d3/d3.js:1
↓ 2 callersFunctionelementExists
(root, selector)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:194
↓ 2 callersFunctionelementExistsInArray
* Checks if value is in array and throws error if not * @param {Array} arr * @param {string} value * @param {string} type
extensions/amp-ad-network-dianomi-impl/0.1/amp-ad-network-dianomi-impl.js:94
↓ 2 callersFunctionelementStringOrPassThru
(val)
src/core/error/message-helpers.js:22
← previousnext →5,401–5,500 of 18,703, ranked by callers