Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ functions
Functions
18,703 in github.com/ampproject/amphtml
⨍
Functions
18,703
◇
Types & classes
2,331
↓ 1 callers
Function
relativeModule
* @param {string} fromFilename * @param {string} toModule * @return {string}
build-system/babel-plugins/babel-plugin-amp-config-urls/index.js:18
↓ 1 callers
Function
relativeToRoot
(path)
build-system/babel-plugins/babel-plugin-transform-log-methods/index.js:56
↓ 1 callers
Method
releaseSwipe_
* Releases the user's swipe to dismiss gesture. This carries the momentum * forwards and either closes the lightbox or snaps back based on the spee
extensions/amp-lightbox-gallery/0.1/swipe-to-dismiss.js:258
↓ 1 callers
Method
releaseSwipe_
* Releases the user's swipe to dismiss gesture. This carries the momentum * forwards and either closes the lightbox or snaps back based on the spee
extensions/amp-sidebar/0.2/swipe-to-dismiss.js:263
↓ 1 callers
Method
releaseSwipe_
* Releases the user's swipe to dismiss gesture. This carries the momentum * forwards and either closes the lightbox or snaps back based on the spee
extensions/amp-sidebar/0.1/swipe-to-dismiss.js:263
↓ 1 callers
Method
remeasureAllElements_
@private
src/inabox/inabox-viewport.js:647
↓ 1 callers
Function
removeAfterTimeout
(context, element, timeout)
extensions/amp-story-dev-tools/0.1/utils.js:25
↓ 1 callers
Method
removeAllAddedListeners
Removes all listeners added to this advancement config.
extensions/amp-story/1.0/page-advancement.js:151
↓ 1 callers
Function
removeAlphaFromColor
(rgbaColor)
src/core/dom/style.js:287
↓ 1 callers
Method
removeAsContainerInternal
* See `BaseElement.removeAsContainer`. * @restricted * @final
src/custom-element.js:845
↓ 1 callers
Function
removeAttrs
(node)
build-system/server/app-video-testbench.js:292
↓ 1 callers
Method
removeAutoplay_
* Remove autoplay. * @private
extensions/amp-carousel/0.1/slidescroll.js:1124
↓ 1 callers
Method
removeCachedSources_
* Disables AMP Cache video caching (cdn.ampproject.org), opted-in through * amp-orig-src. * @private
extensions/amp-video/0.1/amp-video.js:498
↓ 1 callers
Method
removeChild_
* @param {!VisibilityManager} child * @private
extensions/amp-analytics/0.1/visibility-manager.js:135
↓ 1 callers
Function
removeChildren
* Removes all children from the parent element. * @param {!Element} parent
third_party/subscriptions-project/swg.js:3731
↓ 1 callers
Method
removeCustomCSS_
@private
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools.js:242
↓ 1 callers
Function
removeData
* Remove the xpath test id data param. * @param {!HTMLElement} node
build-system/tasks/e2e/driver/query-xpath.js:107
↓ 1 callers
Method
removeDevice_
* Try to remove a device with the name passed. * @private * @param {string} deviceName * @return {bool} whether a device was found and remove
extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-preview.js:610
↓ 1 callers
Method
removeDirtyField_
* Mark the field as clean and decrease the overall dirty field count, if the * field is previously dirty. * @param {string} fieldName * @priv
extensions/amp-form/0.1/form-dirtiness.js:215
↓ 1 callers
Function
removeElement
* Removes the element. * @param {!Element} element
third_party/subscriptions-project/swg.js:3721
↓ 1 callers
Function
removeEvent
(ev, namespace, handler)
third_party/inputmask/inputmask.dependencyLib.js:77
↓ 1 callers
Method
removeFromDom_
* @param {!StoryDef} story * @private
src/amp-story-player/amp-story-player-impl.js:1323
↓ 1 callers
Function
removeFromExperimentsConfig
* @param {string} id * @param {Array} removedFromConfig * @return {Array<string>} modified files
build-system/tasks/sweep-experiments/index.js:88
↓ 1 callers
Function
removeFromRuntimeSource
* @param {string} id * @param {number} percentage * @return {Array<string>} modified files
build-system/tasks/sweep-experiments/index.js:138
↓ 1 callers
Function
removeHoverEventFromElement
(element, callback)
ads/google/ima/ima-video.js:483
↓ 1 callers
Method
removeIframe_
@private
extensions/amp-vimeo/0.1/amp-vimeo.js:130
↓ 1 callers
Method
removeIframe_
@private
extensions/amp-video-iframe/0.1/amp-video-iframe.js:216
↓ 1 callers
Function
removeInternalVars
* @param {?JsonObject|undefined} details * @return {!JsonObject|undefined}
extensions/amp-analytics/0.1/events.js:1547
↓ 1 callers
Method
removeLinkerParam_
* Remove the linker param from the current url * @param {!Location} url * @param {string} name
extensions/amp-analytics/0.1/linker-reader.js:70
↓ 1 callers
Function
removeListener
(cb)
test/unit/core/dom/test-media-query-props.js:161
↓ 1 callers
Method
removeMessageEventListener_
* Remove the event listener for listening to messages. * * @param {function(!Event)} callback * @private
third_party/subscriptions-project/swg.js:15471
↓ 1 callers
Function
removeNoscript
* Removes <noscript> elements from doc and its iframes. * @param {Document} doc document to operate on recursively.
build-system/tasks/visual-diff/snippets/remove-no-script.js:12
↓ 1 callers
Method
removeOverflowItems_
* Remove items from the live DOM if number of valid live items is over * the `max-items-per-page` limit. `data-tombstone`d items are not considered
extensions/amp-live-list/0.1/amp-live-list.js:551
↓ 1 callers
Method
removePosterForAndroidBug_
* See `createPosterForAndroidBug_`. * @private
extensions/amp-video/0.1/amp-video.js:993
↓ 1 callers
Method
removePosterForAndroidBug_
* @param {!Element} parent * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:1663
↓ 1 callers
Method
removeSlot
* Removes the slot with the given ID. * @param {string} id The ID of the slot to be removed.
extensions/amp-ad-network-adsense-impl/0.1/adsense-shared-state.js:49
↓ 1 callers
Function
removeTruncation
* Clears the effects of truncation for a given subtree, unhiding Elements that * were hidden and restoring text content for Text Nodes. * @param {!N
extensions/amp-truncate-text/0.1/truncate-text.js:100
↓ 1 callers
Function
removeValidityStateClasses
* Removes all validity classes from elements in the given form. * @param {!Element} form
extensions/amp-form/0.1/amp-form.js:1474
↓ 1 callers
Method
removeViewerQueryBeforeNavigation_
* Temporarily remove viewer query params from iframe (e.g. amp_js_v, usqp) * to prevent document.referrer from being reduced to eTLD+1 (e.g. amppro
src/service/navigation.js:555
↓ 1 callers
Method
removeVisibleAttribute_
* Removes `amp-story-visible` attribute from the fie body.
extensions/amp-story-auto-ads/0.1/amp-story-auto-ads.js:489
↓ 1 callers
Function
render
(data)
extensions/amp-date-countdown/1.0/test/test-component.js:11
↓ 1 callers
Method
render
* Renders the pin widget. * * @return {!Promise}
extensions/amp-pinterest/0.1/pin-widget.js:317
↓ 1 callers
Method
renderActions_
* @param {!JsonObject} renderState
extensions/amp-subscriptions/0.1/local-subscription-platform-renderer.js:58
↓ 1 callers
Function
renderActivateButtonTemplate
()
extensions/amp-story-360/0.1/amp-story-360.js:48
↓ 1 callers
Method
renderActivateButton_
* A button to ask for permissons. * @private
extensions/amp-story-360/0.1/amp-story-360.js:561
↓ 1 callers
Function
renderAdFox
* @param {!Window} global * @param {!Object} data
ads/vendors/adfox.js:18
↓ 1 callers
Function
renderCloseButtonHeader
* @param {!Element} ctx * @return {!Element}
extensions/amp-lightbox/0.1/amp-lightbox.js:80
↓ 1 callers
Method
renderContainerDom_
* @return {!Element} * @private
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:404
↓ 1 callers
Method
renderContainerDom_
* @return {!Element} * @private
extensions/amp-base-carousel/0.1/amp-base-carousel.js:299
↓ 1 callers
Method
renderContainerDom_
* @return {!Element} * @private
extensions/amp-carousel/0.2/amp-carousel.js:335
↓ 1 callers
Function
renderContent
(continueAnyway)
extensions/amp-story/1.0/amp-story-unsupported-browser-layer.js:15
↓ 1 callers
Function
renderControls
(html)
extensions/amp-video-docking/0.1/controls.js:85
↓ 1 callers
Method
renderCount
* Render helper for the optional count bubble * @param {string} count The data-count attribute * @param {string} heightClass The height class to
extensions/amp-pinterest/0.1/save-button.js:111
↓ 1 callers
Method
renderDayTemplate_
* Render the template that corresponds to the date with its data. * @param {!moment} date * @return {!Promise<string>} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1709
↓ 1 callers
Function
renderDiscoveryTemplate
()
extensions/amp-story-360/0.1/amp-story-360.js:97
↓ 1 callers
Function
renderDockedOverlay
(html)
extensions/amp-video-docking/0.1/controls.js:76
↓ 1 callers
Function
renderDrawerElement
()
extensions/amp-story-page-attachment/0.1/amp-story-draggable-drawer.js:49
↓ 1 callers
Function
renderErrorMessage
* Renders the error message for a single error. * * @param {!Object} error * @return {string}
validator/cpp/engine/wasm/validator.js:125
↓ 1 callers
Function
renderErrorMessageElement
()
extensions/amp-story/1.0/amp-story-page.js:134
↓ 1 callers
Function
renderExtensionDropdown
(doc, opt_extension)
build-system/server/app-video-testbench.js:216
↓ 1 callers
Method
renderFriendlyTrustless_
* @param {!./head-validation.ValidatedHeadDef} headData * @param {function()} checkStillCurrent * @return {!Promise} Whether the creative was su
extensions/amp-a4a/0.1/amp-a4a.js:1834
↓ 1 callers
Function
renderHeaderElement
()
extensions/amp-story-page-attachment/0.1/amp-story-draggable-drawer.js:63
↓ 1 callers
Function
renderHintElement
()
extensions/amp-story/1.0/amp-story-hint.js:20
↓ 1 callers
Function
renderIcon
(win, elOrDoc)
src/service/video/autoplay.js:39
↓ 1 callers
Method
renderInfoTemplate_
* Render any template for the info section of the date picker. * @return {!Promise<string>} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1740
↓ 1 callers
Function
renderInteractionOverlay
(elOrDoc, metadata)
src/service/video/autoplay.js:19
↓ 1 callers
Function
renderOptionalAttrsCheckboxes
(doc)
build-system/server/app-video-testbench.js:238
↓ 1 callers
Method
renderOutsideViewport
* Whether this is allowed to render when not in viewport. * @return {boolean}
src/service/resource.js:794
↓ 1 callers
Function
renderPageAttachmentUI
(pageEl, attachmentEl)
extensions/amp-story-page-attachment/0.1/amp-story-open-page-attachment.js:78
↓ 1 callers
Function
renderPageDescription
(page, videos)
extensions/amp-story/1.0/semantic-render.js:13
↓ 1 callers
Function
renderPaginationButton
(initialState, onClick)
extensions/amp-story/1.0/pagination-buttons.js:54
↓ 1 callers
Function
renderPlayMessageElement
(onClick)
extensions/amp-story/1.0/amp-story-page.js:115
↓ 1 callers
Method
renderPoool_
* @private
extensions/amp-access-poool/0.1/poool-impl.js:181
↓ 1 callers
Method
renderRecBoxTemplate_
* Renders the template inside the recommendation box using * data from the current articles * * @return {!Promise}
extensions/amp-next-page/1.0/service.js:1052
↓ 1 callers
Function
renderShareItemElement
(child)
extensions/amp-story-share-menu/0.1/amp-story-share-menu.js:72
↓ 1 callers
Function
renderSlides
* How the slides are ordered when looping: * * We want to make sure that the user can scroll all the way to the opposite * end (either forwards or
src/bento/components/bento-base-carousel/1.0/scroller.js:325
↓ 1 callers
Function
renderStart
()
test/unit/ads/test-adplugg.js:24
↓ 1 callers
Method
renderStartMsgHandler_
* callback functon on receiving render-start * @param {{data: !JsonObject}} info * @private
extensions/amp-ad/0.1/amp-ad-xorigin-iframe-handler.js:373
↓ 1 callers
Function
renderSystemLayerElement
(element, children, isVisible)
extensions/amp-story/1.0/amp-story-system-layer.js:99
↓ 1 callers
Function
renderTags
* @param {!Window} global * @param {!Object} data
ads/vendors/adunity.js:87
↓ 1 callers
Function
renderTemplate
* @param {{ * basepath?: string, * css?: string * fileSet?: Array, * serveMode?: string, * htmlEnvelopePrefix?: string, * }=} opt_params *
build-system/server/app-index/template.js:65
↓ 1 callers
Method
renderTemplate
* Render the follow button * @return {Element}
extensions/amp-pinterest/0.1/follow-button.js:53
↓ 1 callers
Method
renderTemplate_
* Render the given template with the given data. If the template does not * exist, use a fallback string. * The fallback string will be rendered
extensions/amp-date-picker/0.1/amp-date-picker.js:1775
↓ 1 callers
Method
renderTemplate_
* @param {!Element} element * @param {!Element} templateOrPrev * @param {!JsonObject} response * @return {!Promise} * @private
extensions/amp-access/0.1/amp-access.js:539
↓ 1 callers
Method
renderTemplates_
* Discovers and renders templates. * @param {!Element} element * @param {!JsonObject} response * @return {?Promise} * @private
extensions/amp-access/0.1/amp-access.js:507
↓ 1 callers
Function
renderUnsupportedBrowserLayer
(context, continueAnyway)
extensions/amp-story/1.0/amp-story-unsupported-browser-layer.js:40
↓ 1 callers
Method
renderViaIframeGet_
* Creates iframe whose src matches that of the ad URL. For standard * Fast Fetch running on the AMP cdn, an XHR request will typically have * al
extensions/amp-a4a/0.1/amp-a4a.js:2136
↓ 1 callers
Method
renderViaNameAttrOfXOriginIframe_
* Render the creative via some "cross domain iframe that accepts the creative * in the name attribute". This could be SafeFrame or the AMP-native
extensions/amp-a4a/0.1/amp-a4a.js:2173
↓ 1 callers
Function
renderYandex
* @param {!Window} global * @param {!Object} data
ads/vendors/yandex.js:18
↓ 1 callers
Method
render_
* @param {!Array<!Element>} elements * @param {boolean=} opt_append * @return {!Promise} * @private
extensions/amp-list/0.1/amp-list.js:1124
↓ 1 callers
Method
render_
* @param {!Sheet.State} state * @private
extensions/amp-access-scroll/0.1/scroll-sheet.js:61
↓ 1 callers
Function
repeatedEnv
* Defines a repeating test within a sandboxed wrapper.
testing/describes.js:240
↓ 1 callers
Method
replace
@override
src/service/history-impl.js:552
↓ 1 callers
Function
replaceCdnJsUrls
* @param {string} mode * @param {string} html * @param {string} hostName * @param {boolean} useMaxNames * @return {string}
build-system/server/app-utils.js:103
↓ 1 callers
Function
replaceCustomElementScript
( doc, fromExtension, toExtension, version = '0.1')
build-system/server/app-video-testbench.js:277
↓ 1 callers
Function
replaceExpression
@param {babel.NodePath} path
build-system/babel-plugins/babel-plugin-jsx-style-object/index.js:127
↓ 1 callers
Function
replaceExtension
(doc, toExtension)
build-system/server/app-video-testbench.js:299
↓ 1 callers
Function
replaceIdentifier
* Replaces an Identifer node in the AST with a Member node. * @param {!Object} ast The AST subtree we are currently mutating. * @param {function(!Ob
third_party/react-dates/scope-require.js:60
↓ 1 callers
Function
replaceMemberExpression
* Replacess MemberExpressions. * @example * In: * ``` * import {useStyles} from 'foo'; * const a = useStyles(); * a.b; *
build-system/babel-plugins/babel-plugin-transform-jss/index.js:109
↓ 1 callers
Function
replaceObjectPattern
* Replaces VariableDeclarations that use ObjectPatterns (destructuring). * @example * In: * ``` * import {useStyles} from 'foo'; *
build-system/babel-plugins/babel-plugin-transform-jss/index.js:143
← previous
next →
11,001–11,100 of 18,703, ranked by callers