MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

MethodupdateOnViewportEvent_
* @param {!JsonObject} data * @private
src/service/viewport/viewport-impl.js:919
MethodupdateOrEnqueueMutateTask
* Enqueue, or update if already exists, a mutation task for a resource. * @param {./resource.Resource} resource * @param {ChangeSizeRequestDef}
src/service/resources-interface.js:118
MethodupdateOrEnqueueMutateTask
@override
src/inabox/inabox-resources.js:160
MethodupdatePaddingBottom
* Sets the body padding bottom to the specified value. * @param {number} paddingBottom
src/service/viewport/viewport-interface.js:63
MethodupdatePaddingBottom
@override
src/service/viewport/viewport-impl.js:314
MethodupdatePaddingTop
@override
src/inabox/inabox-viewport.js:819
FunctionupdateProgress
(segmentId, progress, updateAllSegments = false)
extensions/amp-story/1.0/progress-bar.js:517
MethodupdateProgress
* @param {number} total * @param {number} index * @param {number} offset * @param {!Array<!Element>} unusedSlides
extensions/amp-inline-gallery/0.1/amp-inline-gallery-pagination.js:244
MethodupdatePropsForRendering
@override
extensions/amp-timeago/1.0/base-element.js:9
MethodupdatePropsForRendering
@override
extensions/amp-sidebar/1.0/base-element.js:38
FunctionupdateScale
(payload: { anchorX?: number; anchorY?: number; scale?: number; })
extensions/amp-pan-zoom/1.0/hooks/usePanZoomState.ts:181
FunctionupdateSizes
()
extensions/amp-pan-zoom/1.0/component-ts.tsx:84
MethodupdateSlides
* Updates the slides, setting aria properties. * @param {!Array<!Element>} slides
extensions/amp-base-carousel/0.1/carousel-accessibility.js:94
MethodupdateStoryStoreState_
@override
extensions/amp-story-interactive/0.1/amp-story-interactive-results.js:293
MethodupdateSubscription
@override
third_party/subscriptions-project/swg.js:19408
FunctionupdateTemplate_
* Updates template based on shopping data. * @param {!{[key: string]: !ShoppingConfigDataDef}} shoppingData * @private
extensions/amp-story-shopping/0.1/amp-story-shopping-attachment.js:202
FunctionupdateTooltipActionIcon_
* Updates tooltip action icon. This is found on the right of the text. * @param {!Object} embedConfig * @private
extensions/amp-story/1.0/amp-story-embedded-component.js:504
FunctionupdateTooltipBehavior_
* Updates tooltip behavior depending on the target. * @param {!Element} target * @private
extensions/amp-story/1.0/amp-story-embedded-component.js:438
FunctionupdateTooltipComponentIcon_
* Updates tooltip icon. If no icon src is declared, it sets a default for a * given component type. * @param {!Element} target * @param {!Obj
extensions/amp-story/1.0/amp-story-embedded-component.js:521
FunctionupdateTooltipEl_
* Builds and attaches the tooltip. * @param {!InteractiveComponentDef} component * @private
extensions/amp-story/1.0/amp-story-embedded-component.js:412
FunctionupdateTooltipText_
* Updates tooltip text content. * @param {!Element} target * @private
extensions/amp-story/1.0/amp-story-embedded-component.js:488
MethodupdateUserScrollable
* * @param {boolean} userScrollable Whether or not the carousel can be * scrolled (e.g. via touch). If false, then the carousel can only be
extensions/amp-base-carousel/0.1/carousel.js:639
FunctionupdateViewportPadding
* Updates viewport padding to add padding on the bottom. * @param {!Object} state
extensions/amp-app-banner/0.1/amp-app-banner.js:552
MethodupdateVisibleCount
* Updates the visible count. When not in mixed length mode, this causes the * carousel to be treated as a list when it is set to a value of two or
extensions/amp-base-carousel/0.1/carousel-accessibility.js:105
MethodupdateWith
(bind)
extensions/amp-list/0.1/amp-list.js:1049
Functionupgrade
(upgrader)
src/polyfills/stubs/intersection-observer-stub.js:133
Functionupgrade
* @param {!Window} win * @return {!Object}
extensions/amp-resize-observer-polyfill/0.1/amp-resize-observer-polyfill.js:12
Functionupgrade
* @param {!Window} win * @return {!Object}
extensions/amp-intersection-observer-polyfill/0.1/amp-intersection-observer-polyfill.js:15
Methodupgrade
* Upgrade all custom elements inside root. * * @param {!Node} root
src/polyfills/custom-elements.js:170
MethodupgradeCallback
()
test/unit/test-custom-element.js:97
MethodupgradeCallback
@override
extensions/amp-carousel/0.1/amp-carousel.js:9
Methodupgrade_
* @param {!typeof IntersectionObserver} Ctor * @private
src/polyfills/stubs/intersection-observer-stub.js:253
Methodupgraded
* Signals that an element has been upgraded to the DOM. Resources manager * will perform build and enable layout/viewport signals for this element.
src/service/resources-interface.js:81
Methodupgraded
@override
src/inabox/inabox-resources.js:127
MethoduponSanitizeAttribute
(element, data)
src/purifier/index.js:275
MethoduponSanitizeElement
(node, data)
src/purifier/index.js:227
Functionurl
(url)
build-system/tasks/e2e/amp-driver.js:24
FunctionuseEventResultShouldNotBeCalledDuringRender
* Render methods should be pure, especially when concurrency is used, * so we will throw this error if the callback is called while rendering.
src/preact/hooks/useEvent.ts:38
FunctionuseMergeRefs
(refs)
src/preact/utils.js:36
FunctionusePanZoomStateTest
()
extensions/amp-pan-zoom/1.0/test/test-component.js:121
MethoduseRequestIdleCallback_
@override
src/chunk.js:267
FunctionuseStyles
()
build-system/babel-plugins/babel-plugin-transform-jss/test/fixtures/transform-assertions/should-transform-jss-var/output.mjs:11
FunctionuseStyles
()
build-system/babel-plugins/babel-plugin-transform-jss/test/fixtures/transform-assertions/ignore-unrelated-exports/output.mjs:6
Functionuser
()
src/purifier/noop.js:14
FunctionuserAssert
()
src/purifier/noop.js:24
FunctionuserAssertArray
(shouldBeArray, opt_message)
src/core/assert/user.js:124
FunctionuserAssertBoolean
(shouldBeBoolean, opt_message)
src/core/assert/user.js:142
FunctionuserAssertElement
(shouldBeElement, opt_message)
src/core/assert/user.js:67
FunctionuserAssertIsValidType
(type)
extensions/amp-fx-collection/0.1/fx-type.js:175
FunctionuserAssertNumber
(shouldBeNumber, opt_message)
src/core/assert/user.js:105
FunctionuserAssertString
(shouldBeString, opt_message)
src/core/assert/user.js:86
FunctionuserAssertValidProtocol
(element, url)
extensions/amp-story/1.0/utils.js:192
FunctionuserAsserts
(element)
extensions/amp-fx-collection/0.1/providers/amp-fx-presets.js:126
MethoduserInteracted
* @param {!../video-interface.VideoOrBaseElementDef|!Element} videoOrElement * @return {boolean}
src/service/video-manager-impl.js:377
MethodusesLoading
@override
src/builtins/amp-img/amp-img.js:55
MethodusesSentinel
* @override
extensions/amp-next-page/1.0/visibility-observer.js:132
Functionut
(n,t,e)
third_party/d3/d3.js:1
Functionuzou
(global, data)
ads/vendors/uzou.js:9
Functionv
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
Methodvalidate
@override
extensions/amp-a4a/0.1/template-validator.js:26
Methodvalidate
@override
extensions/amp-a4a/0.1/cryptographic-validator.js:52
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-object-enum/output.mjs:44
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-format/output.mjs:5
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-currency-code/output.mjs:6
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-refs/output.mjs:49
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-complex/output.mjs:611
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-format-date/output.mjs:6
Functionvalidate0
(data, instancePath = "")
build-system/babel-plugins/babel-plugin-transform-json-import/test/fixtures/transform-assertions/schema-one-of/output.mjs:3
MethodvalidateErrorReportingUrl
(urlObj)
src/service/real-time-config/real-time-config-impl.js:689
FunctionvalidateHtmlFixtures
* Makes sure that HTML fixtures used during tests contain valid AMPHTML. * @return {Promise<void>}
build-system/tasks/validate-html-fixtures.js:141
FunctionvalidateUrlAndLog
* Validates a URL input, and logs the result to console. * @param {string} url * @async
validator/cpp/engine/wasm/validator.js:218
Functionvalidator
* Simple wrapper around the python based validator tests. * @return {Promise<void>}
build-system/tasks/validator.js:15
FunctionvalidatorCpp
* Simple wrapper around the bazel based C++ validator tests. * @return {Promise<void>}
build-system/tasks/validator.js:26
FunctionvalidatorWebui
* Simple wrapper around the python based validator webui tests. * @return {Promise<void>}
build-system/tasks/validator.js:52
FunctionvalueSatisfiesExpectation
(value)
build-system/tasks/e2e/expect.js:197
Functionvaluecommerce
(global, data)
ads/vendors/valuecommerce.js:7
Functionvb
(a,b,c,d)
third_party/wgxpath/wgxpath.js:62
Functionvdoai
(global, data)
ads/vendors/vdoai.js:6
Methodverify_
@override
extensions/amp-form/0.1/form-verifiers.js:157
Functionversion
()
src/core/mode/version.js:10
FunctionverticalPositioning_
* Positions tooltip and its arrow vertically. * @param {!InteractiveComponentDef} component * @param {!ClientRect} pageRect * @param {!Object
extensions/amp-story/1.0/amp-story-embedded-component.js:628
Functionvideointelligence
(global, data)
ads/vendors/videointelligence.js:7
Functionvideonow
(global, data)
ads/vendors/videonow.js:10
FunctionviewabilityCb
(entries)
extensions/amp-iframe/1.0/component.js:43
FunctionviewabilityConfiguration
* Used to track ad during scrolling event and trigger checkIsAdVisible * method on PostRelease instance * @param {*} positions
ads/vendors/nativo.js:111
MethodviewerSetScrollTop_
* @param {!JsonObject} data * @private
src/service/viewport/viewport-impl.js:910
MethodviewportCallback
( /** @type {!Array<!IntersectionObserverEntry>} */ records )
src/service/video-manager-impl.js:198
Functionviqeoplayer
(global)
3p/viqeoplayer.js:97
Functionviralize
(global, data)
ads/vendors/viralize.js:11
MethodvisibilityForDoc
* @param {!Element|!../service/ampdoc-impl.AmpDoc} elementOrAmpDoc * @return {!Promise<!VisibilityInterface>}
src/inabox/host-services.js:56
FunctionvisibleForTestingUse
* VisibleForTestings must not be used in the class. * * @param {CompilerNode} node * @param {string} name * @param {boolean} used
build-system/eslint-rules/unused-private-field.js:123
FunctionvisualDiff
* Runs the AMP visual diff tests. * @return {Promise<void>}
build-system/tasks/visual-diff/index.js:596
Functionvlyby
(global, data)
ads/vendors/vlyby.js:8
Functionvmfive
(global, data)
ads/vendors/vmfive.js:7
Functionvn
(e,a,t)
third_party/react-dates/bundle.js:1
Functionvox
(global, data)
ads/vendors/vox.js:7
Functionvr
(n,t)
third_party/d3/d3.js:2
Functionvs
(e,a,t,s)
third_party/react-dates/bundle.js:1
Functionvt
(e,t)
examples/amp-script/vue-todomvc.js:7
Functionvt
()
third_party/d3/d3.js:1
← previousnext →18,501–18,600 of 18,703, ranked by callers