MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 5 callersFunctionmangleObjectValues
(obj)
src/core/types/enum.js:42
↓ 5 callersFunctionmarkBoxed
(t)
third_party/react-dates/bundle.js:1
↓ 5 callersFunctionmaybeAppendErrorParameter
(adUrl, parameterValue)
ads/google/a4a/utils.js:880
↓ 5 callersMethodmaybeInitIframeTransport
* amp-analytics will create an iframe for vendors in * extensions/amp-analytics/0.1/vendors/* who have transport/iframe defined. * This is limit
extensions/amp-analytics/0.1/transport.js:161
↓ 5 callersMethodmaybeRenderDialogForSelectedPlatform
* Maybe renders and opens the dialog using the cached entitlements. Do nothing if the viewer can authorize the user. * @return {!Promise}
extensions/amp-subscriptions/0.1/amp-subscriptions.js:215
↓ 5 callersMethodmaybeSetInitialScrollDepth
* Set the amount that the user had scrolled down the page at the time of * page loading. * @param {number} depth
extensions/amp-analytics/0.1/visibility-model.js:460
↓ 5 callersMethodmaybeUpdateMaxScrollDepth
* Update the maximum amount that the user has scrolled down the page. * @param {number} depth
extensions/amp-analytics/0.1/visibility-manager.js:240
↓ 5 callersFunctionmockAreaWidth
(width)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:92
↓ 5 callersFunctionmockCandidates
(candidates)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:58
↓ 5 callersFunctionmockOkResponse
()
test/unit/test-xhr-fetch-polyfill.js:17
↓ 5 callersFunctionmockTrigger
(tracker)
test/unit/test-video-analytics-percentage-tracker.js:61
↓ 5 callersMethodmsg_
* @param {string} tag * @param {!LogLevel_Enum} level * @param {!Array} messages * @return {boolean} true if a the message was logged
src/utils/log.js:210
↓ 5 callersMethodmul
(n, x, y)
third_party/zuho/zuho.js:73
↓ 5 callersFunctionn
(e,t)
examples/amp-script/todomvc.ssr.js:2
↓ 5 callersMethodnext_
* Advance to the next screen in the story, if there is one. * @param {boolean=} opt_isAutomaticAdvance Whether this navigation was caused *
extensions/amp-story/1.0/amp-story.js:1338
↓ 5 callersFunctionnoCss
* @return {!Error}
extensions/amp-animation/0.1/parsers/css-expr-ast.js:1364
↓ 5 callersMethodnumberOfAdsCreated
* Number of ads created by this manager. * @return {number}
extensions/amp-story-auto-ads/0.1/story-ad-page-manager.js:102
↓ 5 callersFunctiono
(i,f)
third_party/inputmask/bundle.js:1
↓ 5 callersMethodobserve
* @param {!Element} target * @param {!ObserverCallbackDef} callback
src/utils/display-observer.js:241
↓ 5 callersMethodobserve
* Observes the intersections of the specified element in the viewport. * @param {!Element} unusedElement * @param {function(number)} unusedListe
extensions/amp-analytics/0.1/visibility-manager.js:535
↓ 5 callersMethodobserve
* @param {!Element} element * @param {!Element} parent * @param {function(!ViewportRelativePos)} callback
extensions/amp-next-page/1.0/visibility-observer.js:258
↓ 5 callersFunctiononBindReadyAndRescan
* @param {!Object} env * @param {!Bind} bind * @param {!Array<!Element>} added * @param {!Array<!Element>} removed * @param {!BindRescanOptions=}
extensions/amp-bind/0.1/test/integration/test-bind-impl.js:172
↓ 5 callersMethodonCancel
* @param {function()} callback
third_party/subscriptions-project/swg.js:4040
↓ 5 callersMethodonDrag_
* @private
extensions/amp-story-interactive/0.1/amp-story-interactive-slider.js:249
↓ 5 callersMethodonNewAdView
@override
extensions/amp-story-auto-ads/0.1/algorithm-count-pages.js:69
↓ 5 callersMethodonResizeDebounced
* Handle resize events and set the story's desktop state. * @visibleForTesting
extensions/amp-story/1.0/amp-story.js:1769
↓ 5 callersMethodonSessionEnd
* Register a listener to be notified when a session has ended * @param {!Function} listener
src/service/video-session-manager.js:19
↓ 5 callersMethodonStateUpdated_
* @param {!HistoryStateDef} historyState * @private
src/service/history-impl.js:199
↓ 5 callersMethodonViewportCallback_
* Triggered when the ad either enters or exits the visible viewport. * @param {!IntersectionObserverEntry} entry handed over by the IntersectionObs
extensions/amp-ad/0.1/legacy-ad-intersection-observer-host.js:132
↓ 5 callersMethodopenIframe
* Start an activity within the specified iframe. * @param {!HTMLIFrameElement} iframe * @param {string} url * @param {?Object=} args * @pa
third_party/subscriptions-project/swg.js:6985
↓ 5 callersFunctionparseFavicon
(doc)
src/mediasession-helper.js:107
↓ 5 callersFunctionparseMultipleActions
(s)
test/unit/test-action.js:77
↓ 5 callersFunctionparseOgImage
(doc)
src/mediasession-helper.js:93
↓ 5 callersFunctionparseSchemaImage
(doc)
src/mediasession-helper.js:55
↓ 5 callersMethodpause_
@private
extensions/amp-animation/0.1/amp-animation.js:494
↓ 5 callersMethodpcdata
* Callback for pcdata. Some text nodes can trigger the start of the body * region. * @param {string} text
validator/js/engine/htmlparser.js:394
↓ 5 callersFunctionpersistCookie
(cookieName, cookieValue)
test/unit/test-cid-api.js:12
↓ 5 callersMethodpersistToken_
* @param {string|undefined} tokenValue * @param {number} expires
src/service/cid-api.js:175
↓ 5 callersFunctionplaceRatio
(ampEl, width, height, ratio)
extensions/amp-video-docking/0.1/test/test-amp-video-docking.js:110
↓ 5 callersMethodplay
* Plays the video. * * @param {boolean} unusedIsAutoplay Whether the call to the `play` method is * triggered by the autoplay functionality.
src/video-interface.js:88
↓ 5 callersFunctionpreloadFriendlyIframeEmbedExtensions
(win, extensions)
src/friendly-iframe-embed.js:115
↓ 5 callersMethodprevious_
* Go back to the previous screen in the story, if there is one. * @private
extensions/amp-story/1.0/amp-story.js:1382
↓ 5 callersMethodpurgeBefore
* Removes elements from the history older than the specified time. * @param {time} time
src/focus-history.js:107
↓ 5 callersFunctionrange
* Generate a random number between min and max * Value is inclusive of both min and max values. * * @param {number} min * @param {number} max * @
build-system/server/app.js:681
↓ 5 callersFunctionre
(e)
third_party/inputmask/bundle.js:11
↓ 5 callersFunctionrecreateNonProtoObject
(obj)
src/core/types/object/index.js:203
↓ 5 callersMethodregister
@param {!VideoOrBaseElementDef} video
extensions/amp-video-docking/0.1/amp-video-docking.js:454
↓ 5 callersMethodregisterPlatform
* This method registers an auto initialized subcription platform with this * service. * * @param {string} platformKey * @param {function(!
extensions/amp-subscriptions/0.1/amp-subscriptions.js:301
↓ 5 callersMethodremove
* @param {string} name
src/service/storage-impl.js:281
↓ 5 callersMethodremoveFromFixedLayer
@override
src/inabox/inabox-viewport.js:351
↓ 5 callersFunctionremoveParamsFromSearch
(urlSearch, paramName)
src/url.js:477
↓ 5 callersMethodrender
* Render the configured date picker component. * @param {?JsonObject=} opt_additionalProps * @return {!Promise}
extensions/amp-date-picker/0.1/amp-date-picker.js:1897
↓ 5 callersMethodrenderOutsideViewport
@override
extensions/amp-a4a/0.1/amp-a4a.js:448
↓ 5 callersMethodrenderStarted
* An implementation can call this method to signal to the element that * it has started rendering.
src/base-element.js:821
↓ 5 callersMethodrenderTemplatePromiseForTesting
* Returns a promise that resolves when tempalte render finishes. The promise * will be null if the template render has not started. * @visibleFo
extensions/amp-form/0.1/amp-form.js:1415
↓ 5 callersMethodrenderTemplate_
* Renders a template based on the form state and its presence in the form. * @param {!JsonObject} data * @return {!Promise} * @private
extensions/amp-form/0.1/amp-form.js:1244
↓ 5 callersMethodrender_
* - Updates distances of the stories. * - Appends / removes from the DOM depending on distances. * - Sets visibility state. * - Loads story N
src/amp-story-player/amp-story-player-impl.js:1239
↓ 5 callersMethodrequireTarget_
* @return {!Element} * @private
extensions/amp-animation/0.1/web-animations.js:1137
↓ 5 callersMethodrequiresShadowDom
()
test/unit/test-custom-element-registry.js:25
↓ 5 callersMethodresetAutoAdvance_
* Resets auto advance. If auto advance is disabled, this is a no-op. If it * is enabled, it starts a debounced timer for advancing.
extensions/amp-base-carousel/0.1/auto-advance.js:251
↓ 5 callersFunctionresetEvtListenerOptsSupportForTesting
()
src/core/dom/event-helper-listen.js:120
↓ 5 callersMethodresetInputOnWrapAround
* Restore the input element to display the user's non-autocompleted partial string * @param {string} unusedUserInput * @param {!HTMLInputElement
extensions/amp-autocomplete/0.1/autocomplete-binding-def.js:40
↓ 5 callersFunctionresetLogConstructorForTesting
()
src/utils/log.js:538
↓ 5 callersMethodresetTouchZoom
@override
src/inabox/inabox-viewport.js:328
↓ 5 callersMethodresolveConfig
* @return {!Promise<!PageConfig>}
third_party/subscriptions-project/config.js:681
↓ 5 callersMethodresolveDeferredsWhenWithinViewports_
@private resolves promises populated via whenWithinViewport.
src/service/resource.js:716
↓ 5 callersMethodresolve_
* @param {string} exprString * @param {function(Window, string):ExprDef} parser * @param {string} emptyExprValue * @return {string} value
src/core/dom/media-query-props.js:91
↓ 5 callersMethodreverse
()
extensions/amp-animation/0.1/runners/animation-runner.js:48
↓ 5 callersMethodrun
* @param {string} name * @param {function(): void} fn * @return {void|Mocha.Test}
build-system/tasks/e2e/describes-e2e.js:330
↓ 5 callersMethodrunAnim
* Runs the animation vsync task. This operation can only run when animations * are allowed. Otherwise, this method returns `false` and exits. *
src/service/vsync-impl.js:300
↓ 5 callersFunctionrunVsync
()
test/unit/test-viewport.js:151
↓ 5 callersMethodsatisfiesTrust
* Returns true if the trigger event has a trust equal to or greater than * `minimumTrust`. Otherwise, logs a user error and returns false. * @pa
src/service/action-impl.js:206
↓ 5 callersFunctionscale
(value)
src/core/dom/style.js:267
↓ 5 callersMethodschedule_
* Schedule running the next queued task. * @private
src/chunk.js:473
↓ 5 callersFunctionscreenProperty
* Returns a function that returns property of screen. This is a byte saving * hack. * * @param {!Screen} screen * @param {string} property * @ret
src/service/url-replacements-impl.js:63
↓ 5 callersFunctionselectDate
(controller, id, date)
extensions/amp-date-picker/0.1/test-e2e/test-blocked-dates.js:16
↓ 5 callersMethodsendBeacon
* POST data to a URL endpoint, do not wait for a response. * @param {string} url * @param {string|!Object} data
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:1076
↓ 5 callersMethodsendCommand
* Sends the specified command from the port to the host or vice versa. * @param {string} cmd * @param {?Object=} opt_payload
extensions/amp-access/0.1/iframe-api/messenger.js:123
↓ 5 callersMethodsendCommandWhenReady_
* Sends a command to the viewer via postMessage when iframe is ready * * @param {string} action * @param {(JsonObject|boolean)=} args * @r
extensions/amp-3d-gltf/0.1/amp-3d-gltf.js:199
↓ 5 callersMethodsendCommand_
* @param {string} method * @param {?Object|string=} params * @private
extensions/amp-vimeo/0.1/amp-vimeo.js:324
↓ 5 callersMethodsendCommand_
* Sends a command to the player through postMessage. * @param {string} command * @param {Array=} opt_args * @private
extensions/amp-youtube/0.1/amp-youtube.js:371
↓ 5 callersMethodsendCommand_
* Sends a command to the player through postMessage. * @param {string} command * @private
extensions/amp-wistia-player/0.1/amp-wistia-player.js:197
↓ 5 callersMethodsendCommand_
* Sends a command to the player through postMessage. * @param {string} action * @param {string=} opt_valueType * @param {number=} opt_value
extensions/amp-bodymovin-animation/0.1/amp-bodymovin-animation.js:201
↓ 5 callersFunctionsendExpandMessage
* Send a message requesting an expand. * @param {number} height * @param {number} width
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-safeframe.js:698
↓ 5 callersFunctionserviceUrl
* @param {string} url Relative URL, e.g. "/service1". * @return {string} The complete URL.
third_party/subscriptions-project/swg.js:5552
↓ 5 callersMethodsetAuthResponse_
* @param {!JsonObject} authResponse * @private
extensions/amp-access/0.1/amp-access-source.js:379
↓ 5 callersMethodsetBody
* Signals that the shadow doc has a body. * @param {!Element} body * @restricted
src/service/ampdoc-impl.js:930
↓ 5 callersMethodsetDefaultHandler
()
extensions/amp-viewer-integration/0.1/test/integration/test-amp-viewer-integration.js:55
↓ 5 callersFunctionsetImportantStyles
* Sets the CSS styles of the specified element with !important. The styles * are specified as a map from CSS property names to their values. * * Th
third_party/subscriptions-project/swg.js:15894
↓ 5 callersFunctionsetMediaSession
(win, metadata, playHandler, pauseHandler)
src/mediasession-helper.js:33
↓ 5 callersFunctionsetMergeLocators
(targetMatch, altMatch)
third_party/inputmask/inputmask.js:909
↓ 5 callersMethodsetParent
* Sets (or unsets) the direct parent. If the parent is set, the node will no * longer try to discover itself. * * @param {?(ContextNode<?>|No
src/core/context/node.js:309
↓ 5 callersMethodsetPlayingStateForTesting_
* Sets whether the audio is playing or not. * @param {boolean} isPlaying * @private
extensions/amp-audio/0.1/amp-audio.js:271
↓ 5 callersMethodsetSku
* @param {string} value
third_party/subscriptions-project/swg.js:1444
↓ 5 callersFunctionsetSrcdocSupportedForTesting
(val)
src/friendly-iframe-embed.js:77
↓ 5 callersFunctionsetTime
(epochTime)
extensions/amp-ad-exit/0.1/test-e2e/test-amp-ad-exit.js:15
↓ 5 callersMethodsetTransition_
* @param {!HTMLIFrameElement} iframe * @param {string} transitionStyle * @private
third_party/subscriptions-project/swg.js:16842
↓ 5 callersMethodsetWidgetDisabled_
* * @param {!Element} widget * @param {boolean} isDisabled * @private
extensions/amp-web-push/0.1/amp-web-push-config.js:232
↓ 5 callersMethodset_
* Sets or animates pan/zoom parameters. * @param {number} newScale * @param {number} newPosX * @param {number} newPosY * @param {boolean}
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:928
↓ 5 callersMethodsetupAutoplay_
* Sets up the `autoplay` configuration. * @private
extensions/amp-carousel/0.1/slidescroll.js:1041
← previousnext →3,001–3,100 of 18,703, ranked by callers