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
Method
schedulePass
* Schedules the work pass at the latest with the specified delay. * @param {number=} opt_delay * @param {boolean=} opt_relayoutAll * @return
src/service/resources-interface.js:110
Method
schedulePassVsync
* Schedules the work pass at the latest with the specified delay. * @package
src/service/resources-interface.js:124
Method
schedulePassVsync
@override
src/inabox/inabox-resources.js:163
Method
schedulePause
* Invokes `unload` on the elements' resource which in turn will invoke * the `documentBecameInactive` callback on the custom element. * Resource
src/service/owners-interface.js:43
Method
schedulePreload
* Schedules preload for the specified sub-elements that are children of the * parent element. The parent element may choose to send this signal eit
src/service/owners-interface.js:23
Method
scheduleResume
* Invokes `resume` on the elements' resource which in turn will invoke * `resumeCallback` only on paused custom elements. * Resources that call
src/service/owners-interface.js:52
Method
scheduleUnlayout
* Schedules unlayout for specified sub-elements that are children of the * parent element. The parent element can choose to send this signal when
src/service/owners-interface.js:61
Function
scopeRules
(cssRules, scopeSelector, opt_transformer)
third_party/webcomponentsjs/ShadowCSS.js:130
Method
scrollHandler
()
src/amp-story-player/amp-story-component-manager.js:27
Method
scrollHandler_
* Function to handle scroll events from the Scroll manager * @param {!{[key: number]: boolean}} boundsH * @param {!{[key: number]: boolean}} bou
extensions/amp-analytics/0.1/events.js:756
Method
scrollHandler_
* Handles scroll on the carousel container. * @private
extensions/amp-carousel/0.1/scrollable-carousel.js:235
Method
scrollIntoView
* Scrolls element into view much like Element. scrollIntoView does but * in the AMP/Viewer environment. * @param {!Element} element * @return
src/service/viewport/viewport-interface.js:163
Function
scrollToTopFunction
()
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:748
Method
scroll_
@private
src/service/viewport/viewport-impl.js:997
Function
search
()
test/unit/test-alp-handler.js:59
Function
seedingalliance
(global, data)
ads/vendors/seedingalliance.js:7
Function
seedtag
(global, data)
ads/vendors/seedtag.js:23
Method
seekTo
* Seeks the video to a specified time. * @param {number} unusedTimeSeconds
src/video-interface.js:188
Method
seekTo
@override
extensions/amp-3q-player/0.1/amp-3q-player.js:322
Method
seekTo
@override
extensions/amp-gfycat/0.1/amp-gfycat.js:311
Method
seekTo
@override
extensions/amp-vimeo/0.1/amp-vimeo.js:329
Method
seekTo
@override
extensions/amp-powr-player/0.1/amp-powr-player.js:429
Method
seekTo
@override
extensions/amp-mowplayer/0.1/amp-mowplayer.js:372
Method
seekTo
@override
extensions/amp-dailymotion/0.1/amp-dailymotion.js:406
Method
seekTo
@override
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:451
Method
seekTo
@override
extensions/amp-delight-player/0.1/amp-delight-player.js:664
Method
seekTo
@override
extensions/amp-youtube/0.1/amp-youtube.js:643
Method
seekTo
@override
extensions/amp-wistia-player/0.1/amp-wistia-player.js:311
Method
seekTo
@override
extensions/amp-video-iframe/0.1/amp-video-iframe.js:538
Method
seekTo
@override
extensions/amp-brightcove/0.1/amp-brightcove.js:501
Method
seekTo
@override
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:230
Method
seekTo
@override
extensions/amp-connatix-player/0.1/amp-connatix-player.js:559
Method
seekTo
@override
extensions/amp-ima-video/0.1/amp-ima-video.js:454
Method
seekTo
@override
extensions/amp-ooyala-player/0.1/amp-ooyala-player.js:308
Method
seekTo
@override
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:338
Method
seekTo
@override
extensions/amp-viqeo-player/0.1/amp-viqeo-player.js:349
Method
seekTo
@override
extensions/amp-brid-player/0.1/amp-brid-player.js:491
Method
seekToAction_
* @param {!../../../src/service/action-impl.ActionInvocation} invocation * @return {?Promise} * @private
extensions/amp-animation/0.1/amp-animation.js:283
Method
seekToPercent
* @override * Seeks to a relative position within the animation timeline given a * percentage (0 to 1 number). * @param {number} percent betw
extensions/amp-animation/0.1/runners/native-web-animation-runner.js:178
Function
sekindo
(global, data)
ads/vendors/sekindo.js:9
Function
selUnlisten
()
extensions/amp-analytics/0.1/test/test-events.js:134
Function
selectAndSetExperiments
( win, element, branches, expName, optAddExpIdToElement )
ads/google/a4a/experiment-utils.js:18
Method
selectPlatformForLogin
* Returns login platform based on platform selection * * @return {!./subscription-platform.SubscriptionPlatform}
extensions/amp-subscriptions/0.1/service-adapter.js:114
Method
selectPlatformForLogin
* Evaluates platforms and select the one to be selected for login. * @return {!./subscription-platform.SubscriptionPlatform}
extensions/amp-subscriptions/0.1/amp-subscriptions.js:341
Function
selectorExpansionTest
(selector)
extensions/amp-analytics/0.1/test/test-amp-analytics.js:740
Method
sendBeacon
@override
third_party/subscriptions-project/swg.js:13825
Method
sendErrorMessageToParent
()
third_party/subscriptions-project/swg-gaa.js:2448
Method
sendErrorMessageToParent
()
third_party/subscriptions-project/swg-gaa.js:2698
Method
sendEvent
@override
third_party/subscriptions-project/swg.js:14547
Method
sendEvent
@override
third_party/subscriptions-project/swg.js:18661
Method
sendImpressionTracking_
* Fires impression tracking after beacon API request. * @param {!JsonObject} beaconData - Json response from Beacon API. * @private
extensions/amp-skimlinks/0.1/amp-skimlinks.js:106
Method
sendLinkSaveToken_
* @param {LinkingInfoResponse} response * @private
third_party/subscriptions-project/swg.js:14395
Function
sendMessage
(unusedEventType, unusedData)
extensions/amp-story/1.0/test/test-amp-story-viewer-messaging-handler.js:28
Method
sendMessage
* Sends the message to the viewer without waiting for any response. * If cancelUnsent is true, the previous message of the same message type will
src/service/viewer-interface.js:181
Method
sendMessage
@override
src/inabox/inabox-viewer.js:129
Method
sendMessageAwaitResponse
* Sends the message to the viewer and wait for response. * If cancelUnsent is true, the previous message of the same message type will * be canc
src/service/viewer-interface.js:195
Method
sendMessageAwaitResponse
@override
src/inabox/inabox-viewer.js:132
Method
sendPost
@override
extensions/amp-subscriptions-google/0.1/amp-subscriptions-google.js:1055
Method
sendReply_
* id, and topic is supplied by .bind(..). When sendReply is called by the * user, only the 'data' parameter is provided * * @param {string} i
extensions/amp-web-push/0.1/window-messenger.js:448
Method
sendRequest
* Sends an AMP Analytics trigger event to a vendor's cross-domain iframe, * or queues the message if the frame is not yet ready to receive messages
extensions/amp-analytics/0.1/iframe-transport.js:272
Method
sendScrollDataToItem_
* Relays scroll data to iframe. * * @param {{height: number, left: number, relayoutAll: boolean, top: number, velocity: number, width: number }}
extensions/amp-playbuzz/0.1/amp-playbuzz.js:291
Method
sendSubscriptionState
@override
third_party/subscriptions-project/swg.js:18622
Method
sendXhrRequest
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1603
Function
separateStyles
(e)
third_party/react-dates/bundle.js:1
Function
serve
* Entry point of the `amp serve` task. * @return {Promise<void>}
build-system/tasks/serve.js:207
Function
serveIndex
* @param {*} param0 require(express).Request * @param {*} res require(express).Response * @param {*=} next require(express).NextFunction * @return
build-system/server/app-index/index.js:23
Function
serverTests
* Tests for AMP server custom transforms. Entry point for `amp server-tests`. * @return {Promise<void>}
build-system/tasks/server-tests.js:186
Function
set
(v)
test/unit/polyfills/test-custom-elements.js:139
Function
set
(value)
extensions/amp-video/1.0/test/test-video-iframe.js:197
Function
set
(value)
extensions/amp-form/0.1/form-proxy.js:213
Function
set
(value)
extensions/amp-form/0.1/test/test-form-verifiers.js:13
Function
set
(value)
extensions/amp-form/0.1/test/test-form-validators.js:26
Method
set
* Saves the value (restricted to boolean value) of the specified property. * Returns the promise that's resolved when the operation completes. *
src/service/storage-impl.js:81
Method
setAction
* @param {!ActionType} value
third_party/subscriptions-project/swg.js:305
Method
setActionCompleted
* @param {boolean} value
third_party/subscriptions-project/swg.js:982
Function
setAdDisplayContainerForTesting
(adc)
ads/google/ima/ima-video.js:1520
Function
setAdRequestFailedForTesting
(newValue)
ads/google/ima/ima-video.js:1558
Function
setAdsLoaderForTesting
(newAdsLoader)
ads/google/ima/ima-video.js:1567
Function
setAdsManagerDimensionsOnLoadForTesting
(width, height)
ads/google/ima/ima-video.js:1604
Function
setAdsManagerForTesting
(newAdsManager)
ads/google/ima/ima-video.js:1594
Function
setAdsRequestForTesting
(newAdsRequest)
ads/google/ima/ima-video.js:1576
Function
setAllAdsCompletedForTesting
(newValue)
ads/google/ima/ima-video.js:1549
Method
setAlreadyCompleted
* @param {boolean} value
third_party/subscriptions-project/swg.js:1010
Method
setAnonymous
* @param {boolean} value
third_party/subscriptions-project/swg.js:1913
Method
setAnswerCategory
* @param {string} value
third_party/subscriptions-project/swg.js:2251
Method
setAnswerId
* @param {number} value
third_party/subscriptions-project/swg.js:2223
Method
setAnswerText
* @param {string} value
third_party/subscriptions-project/swg.js:2237
Function
setAttribute
()
test/integration/test-video-manager.js:352
Function
setAttribute
(name, value)
test/unit/test-fixed-layer.js:317
Function
setBigPlayDivForTesting
(div)
ads/google/ima/ima-video.js:1511
Function
setBodyMadeVisibleForTesting
(value)
src/style-installer.js:186
Function
setContentCompleteForTesting
(newContentComplete)
ads/google/ima/ima-video.js:1614
Function
setContextForTesting
(newContext)
ads/google/ima/ima-video.js:1649
Function
setCorsHeaders
* * @param {express.Request} req * @param {express.Response} res * @param {express.NextFunction} next
build-system/server/test-server.js:19
Method
setCustomMessage
* @param {string} value
third_party/subscriptions-project/swg.js:1899
Function
setDOM
* @description * Updates existing dom to match a new dom. * * @param {Node} oldNode - The html entity to update. * @param {String|Node} newNode -
third_party/set-dom/original.js:23
Method
setDate
* @param {Date|undefined} date
extensions/amp-date-picker/1.0/component.type.js:15
Method
setDates
* @param {Date|undefined} startDate * @param {Date|undefined} endDate
extensions/amp-date-picker/1.0/component.type.js:36
Method
setDirtyBit
* Set dirtyBit to current consent info. Refresh stored consent value with * dirtyBit * @param {boolean=} dirty * @return {Promise<void>} *
extensions/amp-consent/0.1/consent-state-manager.js:254
Method
setDocLocator
@override
validator/js/engine/htmlparser_test.js:463
← previous
next →
17,801–17,900 of 18,703, ranked by callers