MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersFunctiontt
(n,t,e)
third_party/d3/d3.js:1
↓ 2 callersFunctionue
(n,t)
third_party/d3/d3.js:2
↓ 2 callersMethodunassignSlot
* Unassigns the direct slot previously done by the `assignSlot` call. * Automatically starts the discovery phase for the affected nodes. * *
src/core/context/node.js:154
↓ 2 callersFunctionunitTestsToRun
* Extracts the list of unit tests to run based on the changes in the local * branch. Return value is cached to optimize for multiple calls. * * @re
build-system/tasks/runtime-test/helpers-unit.js:186
↓ 2 callersMethodunlayoutCallback
@override
extensions/amp-ad/0.1/amp-ad-3p-impl.js:445
↓ 2 callersMethodunlayoutCallback
@override
extensions/amp-apester-media/0.1/amp-apester-media.js:400
↓ 2 callersMethodunlayoutCallback
@override
extensions/amp-mega-menu/0.1/amp-mega-menu.js:104
↓ 2 callersMethodunlayoutCallback
* @override * @return {boolean}
extensions/amp-addthis/0.1/amp-addthis.js:324
↓ 2 callersMethodunlayoutCallback
@override
extensions/amp-twitter/0.1/amp-twitter.js:173
↓ 2 callersMethodunlayoutCallback
@override
extensions/amp-anim/0.1/amp-anim.js:98
↓ 2 callersMethodunlayoutOnPause
@override
extensions/amp-ad/0.1/amp-ad-3p-impl.js:440
↓ 2 callersMethodunlayout_
@private
src/custom-element.js:1742
↓ 2 callersMethodunlistenForStart_
@private
extensions/amp-analytics/0.1/events.js:1061
↓ 2 callersMethodunlistenForStop_
@private
extensions/amp-analytics/0.1/events.js:1081
↓ 2 callersMethodunlistenOnOutViewport_
* Check if we need to unlisten when moving out of viewport, * unlisten and reset unlistenViewportChanges_. * @private
extensions/amp-ad/0.1/legacy-ad-intersection-observer-host.js:96
↓ 2 callersMethodunlisten_
@private
extensions/amp-video-docking/0.1/controls.js:366
↓ 2 callersFunctionunmaskedvalue
(input)
third_party/inputmask/inputmask.js:2179
↓ 2 callersMethodunmute
* @override
test/integration/test-video-manager.js:554
↓ 2 callersMethodunmute
* Unmutes the specified media element in the DOM. * @param {!DomElementDef} domMediaEl The media element to be unmuted. * @return {!Promise} A p
extensions/amp-story/1.0/media-pool.js:895
↓ 2 callersFunctionunmuteVideo
()
ads/google/ima/ima-video.js:1181
↓ 2 callersMethodunobserve
(element)
test/unit/test-ini-load.js:113
↓ 2 callersFunctionunobserveDisplay
(target, callback)
src/utils/display-observer.js:57
↓ 2 callersMethodunobserveHiddenMutations_
* Stop observing changes to the hidden attribute.
src/service/fixed-layer.js:233
↓ 2 callersFunctionunobserveSize
* @param {Element} element * @param {Type_Enum} type * @param {SizeCallback<TargetSize>} callback
src/core/dom/layout/size-observer.js:143
↓ 2 callersMethodunregisterEvents_
* Unregister events * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:542
↓ 2 callersFunctionunscaledClientRect
(el)
extensions/amp-story/1.0/utils.js:56
↓ 2 callersMethodunsubscribeFromPushRemotely
* Requests the service worker to unsubscribe the user from push. * @return {Promise<ServiceWorkerState>}
extensions/amp-web-push/0.1/web-push-service.js:387
↓ 2 callersMethodunsupportedFeatureWarn_
* @param {string} feature unsupported feature * @private
extensions/amp-next-page/0.1/amp-next-page.js:270
↓ 2 callersMethoduntrack
* @param {!AmpElement} element
src/service/loading-indicator.js:70
↓ 2 callersFunctionupdate
* Updates states of all experiments in the table.
tools/experiments/experiments.js:232
↓ 2 callersMethodupdate
* @param {!JsonObject} action
extensions/amp-access-scroll/0.1/scroll-bar.js:76
↓ 2 callersMethodupdate
* Peaks the current char and update internal matches.
extensions/amp-viewer-integration/0.1/findtext.js:161
↓ 2 callersMethodupdateAdvanceCount
* @param {number} advanceCount How many slides to advance by. This is the * number of slides moved forwards/backwards when calling prev/next.
extensions/amp-base-carousel/0.1/carousel.js:500
↓ 2 callersMethodupdateAriaHidden_
* Updates `aria-hidden` for the slides. When in list mode, this will be * `false` for all the slides. When not in list mode, the current slide will
extensions/amp-base-carousel/0.1/carousel-accessibility.js:143
↓ 2 callersFunctionupdateAttributes
( element: HTMLElement, props: HTMLAttributes, unset: boolean )
src/bento/components/bento-mega-menu/1.0/component/Shim.tsx:47
↓ 2 callersMethodupdateAutoAdvance
* @param {boolean} autoAdvance Whether or not to autoadvance. Changing this * will start or stop autoadvance.
extensions/amp-base-carousel/0.1/carousel.js:519
↓ 2 callersMethodupdateAutoAdvanceInterval
* @param {number} autoAdvanceInterval How much time between auto advances. * This time starts counting from when scrolling has stopped.
extensions/amp-base-carousel/0.1/carousel.js:535
↓ 2 callersMethodupdateAutoAdvanceLoops
* @param {number} autoAdvanceLoops The number of loops through the carousel * that should be autoadvanced before stopping. This defaults to infi
extensions/amp-base-carousel/0.1/carousel.js:544
↓ 2 callersMethodupdateButtonTitles
* Updates the titles for the next/previous buttons. * Uses given params if provided, otherwise uses sensible defaults. * * @param {string} pr
extensions/amp-carousel/0.1/carousel-controls.js:128
↓ 2 callersMethodupdateCurrentElementOffset_
* Updates the current offset within the current Element as well as firing an * event. * @param {number} index The index of the Element. * @pa
extensions/amp-base-carousel/0.1/carousel.js:732
↓ 2 callersMethodupdateDevicesInHash_
* If the devices are not the default ones, add them to the hashString * @private
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:664
↓ 2 callersFunctionupdateHash
(updates, win)
extensions/amp-story-dev-tools/0.1/utils.js:9
↓ 2 callersMethodupdateHorizontalLayout
* @param {object} updates * @return {boolean} true if changed * @protected
extensions/amp-access-scroll/0.1/scroll-component.js:114
↓ 2 callersMethodupdateInViewport_
* @param {number} newPos * @param {number} oldPos * @private
extensions/amp-carousel/0.1/scrollable-carousel.js:372
↓ 2 callersMethodupdateLayoutRects_
* @private * @param {!../layout-rect.LayoutRectDef} viewportRect * @param {!../layout-rect.LayoutRectDef} targetRect
src/inabox/inabox-viewport.js:544
↓ 2 callersMethodupdateLightboxMode
* Updates the viewport whether it's currently in the lightbox or a normal * mode. * @param {boolean} unusedLightboxMode * @return {!Promise}
src/service/viewport/viewport-binding-def.js:101
↓ 2 callersMethodupdateMeasurerContent_
* Copies text from the displayed content to the measurer element.
extensions/amp-fit-text/0.1/amp-fit-text.js:128
↓ 2 callersMethodupdateMetadata_
@private
extensions/amp-audio/0.1/amp-audio.js:189
↓ 2 callersMethodupdateMixedLength
* @param {boolean} mixedLength Whether the slides used mixed lengths or they * should be have a length assigned in accordance to the visible cou
extensions/amp-base-carousel/0.1/carousel.js:589
↓ 2 callersMethodupdateModels_
@private
extensions/amp-analytics/0.1/visibility-manager.js:255
↓ 2 callersMethodupdateMutedState_
* Update the muted state of the story inside the iframe. * @param {!StoryDef} story * @param {boolean} mutedValue * @private
src/amp-story-player/amp-story-player-impl.js:1472
↓ 2 callersMethodupdateOtherManagedAndPausedVideos_
* Update other managed videos when we learn that the current selected * bandwidth wasn't good. Only operates on videos that are currently paused
extensions/amp-video/0.1/flexible-bitrate.js:264
↓ 2 callersMethodupdateOwner
* Update owner element * @param {AmpElement|undefined} owner
src/service/resource.js:235
↓ 2 callersMethodupdatePaddingTop
@override
src/service/viewport/viewport-binding-natural.js:108
↓ 2 callersMethodupdatePaddingTop
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:166
↓ 2 callersMethodupdatePageCountVariables_
@private
extensions/amp-story/1.0/variable-service.js:94
↓ 2 callersMethodupdateProgress_
* @param {number} total * @param {number} index * @param {number} offset * @param {!Array<!Element>} slides * @private
extensions/amp-inline-gallery/0.1/amp-inline-gallery.js:93
↓ 2 callersMethodupdateRelease
* Update a GitHub release * @param {string} id * @param {object} changes * @return {Promise<Object>}
build-system/release-tagger/utils.js:162
↓ 2 callersMethodupdateRoot
* @param {?ContextNode<?>} root * @protected Used cross-binary.
src/core/context/node.js:332
↓ 2 callersFunctionupdateScrollPosition
(axis, el, delta)
extensions/amp-base-carousel/0.1/dimensions.js:214
↓ 2 callersMethodupdateSession_
* Check if session has expired and reset/update values (id, count) if so. * Also update `accessTimestamp`. * Sets the initial engaged singals if
extensions/amp-analytics/0.1/session-manager.js:231
↓ 2 callersMethodupdateSnapBy
* @param {number} snapBy Snaps on every nth slide, including the zeroth * slide.
extensions/amp-base-carousel/0.1/carousel.js:628
↓ 2 callersMethodupdateSrc_
* @return {!Promise} * @private
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:324
↓ 2 callersMethodupdateSrc_
* @return {!Promise} * @private
extensions/amp-image-viewer/0.1/amp-image-viewer.js:421
↓ 2 callersMethodupdateState_
* @param {*} json * @param {boolean} isInit * @return {!Promise} * @private
extensions/amp-bind/0.1/amp-state.js:239
↓ 2 callersFunctionupdateTab
* Handles events for a specific tab and asks the tab's content_script to * determine AMP details about the page's content. * * @param {Tab} tab The
validator/js/chromeextension/worker.js:210
↓ 2 callersFunctionupdateTime
(currentTime, duration)
ads/google/ima/ima-video.js:963
↓ 2 callersMethodupdateTime_
* Update cue style based on the current video time (for ASR-style captions). * @private
extensions/amp-story-captions/0.1/track-renderer.js:108
↓ 2 callersMethodupdateTracks_
* Creates new track renderers for current textTracks. * @private
extensions/amp-story-captions/0.1/amp-story-captions.js:84
↓ 2 callersMethodupdateTree_
* @param {?ContextNode<?>} parent * @param {boolean} parentOverridden * @private
src/core/context/node.js:457
↓ 2 callersMethodupdateUi
* Updates the UI in response to configuration changes.
extensions/amp-base-carousel/0.1/carousel-accessibility.js:76
↓ 2 callersMethodupdateViewportHeight_
@private
extensions/amp-fx-collection/0.1/providers/fx-provider.js:235
↓ 2 callersMethodupdateVisibilityState_
@private
src/service/ampdoc-impl.js:567
↓ 2 callersMethodupdateVisibleCount
* @param {number} visibleCount How many slides to show at a time within the * scrollable. This option is ignored if mixed lengths is set.
extensions/amp-base-carousel/0.1/carousel.js:689
↓ 2 callersMethodupdate_
* Updates viewport rect.
ads/inabox/position-observer.js:72
↓ 2 callersFunctionupgradeBackgroundAudio
(element, loop = true)
extensions/amp-story/1.0/audio.js:15
↓ 2 callersMethodupgradeCallback
* @override * @return {AMP.BaseElement|Promise<AMP.BaseElement>}
extensions/amp-story/1.0/utils.js:342
↓ 2 callersFunctionupgradeOrRegisterElementReady
* Registers an element. Upgrades it if has previously been stubbed. * @param {!Window} win * @param {string} name * @param {typeof ../base-element.
src/service/custom-element-registry.js:50
↓ 2 callersFunctionupgradeResizeObserverPolyfill
(win)
extensions/amp-resize-observer-polyfill/0.1/amp-resize-observer-polyfill.js:23
↓ 2 callersMethodupgradeSelf_
* Upgrades the (already created via DOM parsing) custom element. * * @param {!Element} node * @param {!CustomElementDef} def
src/polyfills/custom-elements.js:363
↓ 2 callersMethodupgrade_
* @param {!typeof ResizeObserver} Ctor * @private
src/polyfills/stubs/resize-observer-stub.js:130
↓ 2 callersFunctionur
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctionurlEncodeKeyValue
* @param {string} key * @param {string} value * @return {string}
src/url.js:211
↓ 2 callersFunctionuseDatePickerState
(mode: DatePickerMode)
extensions/amp-date-picker/1.0/component/use-date-picker-state.ts:8
↓ 2 callersFunctionusePanZoomState
(config: PanZoomConfig)
extensions/amp-pan-zoom/1.0/hooks/usePanZoomState.ts:138
↓ 2 callersFunctionuseResizeObserver
( elementRef: RefObject<HTMLElement>, callback: (entry: ResizeObserverEntry) => void )
src/preact/hooks/useResizeObserver.ts:10
↓ 2 callersFunctionuseStateSafe
( initialState: S | (() => S) )
src/preact/hooks/useStateSafe.ts:10
↓ 2 callersFunctionusesFilesOrLocalChanges
* Ensures that a target is only called with `--files` or `--local_changes` * * @param {string} taskName name of the amp task. * @return {boolean} i
build-system/common/utils.js:144
↓ 2 callersMethodusesSentinel
* @return {boolean}
extensions/amp-next-page/1.0/visibility-observer.js:111
↓ 2 callersFunctionutf8DecodeSync
* Interpret a byte array as a UTF-8 string. * @param {!Uint8Array} bytes * @return {string}
third_party/subscriptions-project/swg.js:3191
↓ 2 callersFunctionutf8DecodeSync
* Interpret a byte array as a UTF-8 string. * @param {!Uint8Array} bytes * @return {string}
third_party/subscriptions-project/swg-gaa.js:376
↓ 2 callersFunctionv
(t,n)
third_party/inputmask/bundle.js:11
↓ 2 callersFunctionva
(e)
examples/amp-script/vue-todomvc.js:7
↓ 2 callersFunctionvalidate
(data, schemaName = "name-collision")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-name-collision/output.mjs:38
↓ 2 callersFunctionvalidate1
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-refs/output.mjs:5
↓ 2 callersFunctionvalidate2
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-complex/output.mjs:22
↓ 2 callersFunctionvalidateAdAttribution
(controller, iconUrl)
extensions/amp-story-auto-ads/0.1/test-e2e/test-amp-story-auto-ads.js:147
↓ 2 callersFunctionvalidateAdOverlay
(controller)
extensions/amp-story-auto-ads/0.1/test-e2e/test-amp-story-auto-ads.js:96
↓ 2 callersMethodvalidateAndResolveMargin_
* Parses and validates margins. * @private * @param {string} val * @return {number} resolved margin
extensions/amp-position-observer/0.1/amp-position-observer.js:360
↓ 2 callersMethodvalidateAndResolveRatio_
* Parses and validates ratios. * @param {string} val * @return {number} resolved ratio * @private
extensions/amp-position-observer/0.1/amp-position-observer.js:384
← previousnext →7,101–7,200 of 18,703, ranked by callers