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
setEmbedderOrigin
* @param {string} value
third_party/subscriptions-project/swg.js:471
Method
setEvent
* @param {!AnalyticsEvent} value
third_party/subscriptions-project/swg.js:906
Function
setExtensionsToBuildFromDocuments
* Set the extensions to build from example documents * (for internal use by `amp performance`) * * @param {Array<string>} examples Path to example
build-system/tasks/extension-helpers.js:164
Function
setFws
(val)
extensions/amp-ad-network-doubleclick-impl/0.1/flexible-ad-slot-utils.js:113
Function
setFws
(val)
extensions/amp-ad-network-valueimpression-impl/0.1/flexible-ad-slot-utils.js:113
Function
setHideControlsTimeoutForTesting
(newTimeout)
ads/google/ima/ima-video.js:1641
Method
setIframeLoaded
* Sets whether the iframe has been loaded or not. * * @param {boolean} loaded
third_party/subscriptions-project/swg.js:15547
Method
setIntegrationVersion
* @param {string} value
third_party/subscriptions-project/swg.js:653
Function
setInterval
()
test/unit/test-friendly-iframe-embed.js:957
Method
setIsClicked
* @param {boolean} value
third_party/subscriptions-project/swg.js:1987
Method
setJwt
* @param {string} value
third_party/subscriptions-project/swg.js:1310
Method
setLightboxMode
@override
src/service/fixed-layer.js:1025
Method
setLinkRequested
* @param {boolean} value
third_party/subscriptions-project/swg.js:375
Method
setMessageDeliverer
* Provides a message delivery mechanism by which AMP document can send * messages to the viewer. * @param {function(string, (?JsonObject|string|
src/service/viewer-interface.js:163
Method
setMessageDeliverer
@override
src/inabox/inabox-viewer.js:121
Method
setMetaByName
@override
src/service/ampdoc-impl.js:969
Method
setModelRotation_
* @param {JsonObject} args * @private
3p/3d-gltf/viewer.js:72
Function
setMsz
(val)
extensions/amp-ad-network-doubleclick-impl/0.1/flexible-ad-slot-utils.js:114
Function
setMsz
(val)
extensions/amp-ad-network-valueimpression-impl/0.1/flexible-ad-slot-utils.js:114
Function
setMuteAdsManagerOnLoadedForTesting
(shouldMute)
ads/google/ima/ima-video.js:1585
Function
setNameframeExperimentConfigs
(headers, nameframeConfig)
ads/google/a4a/utils.js:936
Method
setNanos
* @param {number} value
third_party/subscriptions-project/swg.js:2536
Method
setNative
* @param {boolean} value
third_party/subscriptions-project/swg.js:2643
Method
setOldPlayOffer
* @param {string} value
third_party/subscriptions-project/swg.js:1885
Method
setOnContributionResponse
@override
third_party/subscriptions-project/swg.js:19426
Method
setOnEntitlementsResponse
@override
third_party/subscriptions-project/swg.js:19261
Method
setOnFlowCanceled
@override
third_party/subscriptions-project/swg.js:19459
Method
setOnFlowStarted
@override
third_party/subscriptions-project/swg.js:19454
Method
setOnLinkComplete
@override
third_party/subscriptions-project/swg.js:19349
Method
setOnLinkProgress
* @param {function()} callback
third_party/subscriptions-project/swg.js:9093
Method
setOnLoginRequest
@override
third_party/subscriptions-project/swg.js:19339
Method
setOnOffersFlowRequest
* @param {function()} callback
third_party/subscriptions-project/swg.js:9170
Method
setOnPayConfirmOpened
* @param {function(!../ui/activity-iframe-view.ActivityIframeView)} callback
third_party/subscriptions-project/swg.js:9134
Method
setOnPaymentResponse
@override
third_party/subscriptions-project/swg.js:19392
Method
setOnStateUpdated
* Configures a callback to be called when the state has been updated. * @param {function(!HistoryStateDef)} unusedCallback * @protected
src/service/history-impl.js:303
Method
setOnStateUpdated
@override
src/service/history-impl.js:889
Method
setOnSubscribeResponse
@override
third_party/subscriptions-project/swg.js:19387
Method
setOneTime
* @param {boolean} value
third_party/subscriptions-project/swg.js:1857
Method
setOpacity
(element)
extensions/amp-video-docking/0.1/amp-video-docking.js:966
Method
setOriginTimeMs
* Sets the originTimeMs. To be used only for tests. * * @param {number} originTimeMsTemp
third_party/subscriptions-project/swg.js:15519
Method
setOwner
* Assigns an owner for the specified element. This means that the resources * within this element will be managed by the owner and not Resources ma
src/service/owners-interface.js:12
Method
setOwner
@override
src/service/owners-impl.js:36
Method
setPlayOffer
* @param {string} value
third_party/subscriptions-project/swg.js:1871
Function
setPlayerStateForTesting
(newState)
ads/google/ima/ima-video.js:1632
Method
setPostMessageService
* Override postMessageService for testing. * * @param {!PostMessageService} messageService
third_party/subscriptions-project/swg.js:15528
Function
setProperty
(name, value)
test/integration/test-video-manager.js:359
Function
setProperty
(prop, value, priority)
test/unit/test-fixed-layer.js:234
Function
setProperty
(name, value)
extensions/amp-fit-text/0.1/test/test-amp-fit-text.js:244
Function
setPsz
(val)
extensions/amp-ad-network-doubleclick-impl/0.1/flexible-ad-slot-utils.js:115
Function
setPsz
(val)
extensions/amp-ad-network-valueimpression-impl/0.1/flexible-ad-slot-utils.js:115
Method
setPublisherProvidedId
* @param {string} value
third_party/subscriptions-project/swg.js:2096
Method
setPublisherProvidedId
* @param {string} value
third_party/subscriptions-project/swg.js:2164
Method
setPublisherProvidedId
@override
third_party/subscriptions-project/swg.js:19575
Method
setQuestionCategory
* @param {string} value
third_party/subscriptions-project/swg.js:2449
Method
setQuestionId
* @param {number} value
third_party/subscriptions-project/swg.js:2421
Method
setQuestionText
* @param {string} value
third_party/subscriptions-project/swg.js:2435
Method
setReaderSurfaceType
* @param {!ReaderSurfaceType} value
third_party/subscriptions-project/swg.js:639
Method
setReady
* Signals that the shadow doc is ready. * @restricted
src/service/ampdoc-impl.js:951
Method
setReadyToPay
* @param {boolean} isReadyToPay
third_party/subscriptions-project/swg.js:7984
Method
setRelayoutTop
* @param {number} relayoutTop * @package
src/service/resources-interface.js:147
Method
setRelayoutTop
@override
src/inabox/inabox-resources.js:179
Method
setRequestRetries
@param {number} retries
extensions/amp-a4a/0.1/amp-ad-network-base.js:129
Method
setRequested
* @param {boolean} value
third_party/subscriptions-project/swg.js:1702
Method
setScrollTop
@override
src/service/viewport/viewport-binding-natural.js:251
Method
setScrollTop
* Sets scroll top position to the specified value or the nearest possible. * @param {number} unusedScrollTop
src/service/viewport/viewport-binding-def.js:119
Method
setScrollTop
* Sets the desired scroll position on the viewport. * @param {number} scrollPos
src/service/viewport/viewport-interface.js:57
Method
setScrollTop
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:283
Method
setScrollTop
@override
src/inabox/inabox-viewport.js:837
Function
setServeMode
* Sets the server's mode. Uses command line arguments by default, but can be * overridden by passing in a modeOptions object. * @param {!Object} mod
build-system/server/app-utils.js:22
Method
setSharingPolicyEnabled
* @param {boolean} value
third_party/subscriptions-project/swg.js:1927
Method
setShowcaseEntitlement
@override
third_party/subscriptions-project/swg.js:19523
Method
setSize
(box)
3p/3d-gltf/viewer.js:115
Method
setSku
* @param {string} value
third_party/subscriptions-project/swg.js:555
Method
setSku
* @param {string} sku
third_party/subscriptions-project/swg.js:7861
Method
setSmartboxMessage
* @param {string} value
third_party/subscriptions-project/swg.js:1402
Function
setState_
* Sets new state for the embedded component. * @param {EmbeddedComponentState} state * @param {?InteractiveComponentDef} component * @private
extensions/amp-story/1.0/amp-story-embedded-component.js:245
Method
setSubscriberOrMember
* @param {boolean} value
third_party/subscriptions-project/swg.js:361
Method
setSubscriptionFlow
* @param {string} value
third_party/subscriptions-project/swg.js:1486
Method
setSuccess
* @param {boolean} value
third_party/subscriptions-project/swg.js:2110
Method
setSuccess
* @param {boolean} value
third_party/subscriptions-project/swg.js:2359
Method
setSurveyAnswersList
* @param {!Array<!SurveyAnswer>} value
third_party/subscriptions-project/swg.js:2463
Method
setSurveyQuestionsList
* @param {!Array<!SurveyQuestion>} value
third_party/subscriptions-project/swg.js:2306
Method
setSwgUserToken
* @param {string} value
third_party/subscriptions-project/swg.js:968
Method
setSwgUserToken
* @param {string} value
third_party/subscriptions-project/swg.js:1324
Method
setTargetOriginForTesting
* @param {string} value * @visibleForTesting
extensions/amp-iframe/0.1/amp-iframe.js:814
Method
setTransactionId
* @param {string} transactionId
third_party/subscriptions-project/swg.js:7829
Method
setTransitionTiming
(element)
extensions/amp-video-docking/0.1/amp-video-docking.js:971
Method
setUrl
* @param {string} url
third_party/subscriptions-project/swg.js:7868
Method
setUrlPath
* @param {string} value
third_party/subscriptions-project/swg.js:1755
Method
setUserEmail
* @param {string} value
third_party/subscriptions-project/swg.js:996
Method
setVariable
* @param {!../../../src/service/action-impl.ActionInvocation} invocation
extensions/amp-ad-exit/0.1/amp-ad-exit.js:178
Function
setVideoPlayerForTesting
(newPlayer)
ads/google/ima/ima-video.js:1623
Function
setVideoPlayerMutedForTesting
(shouldMute)
ads/google/ima/ima-video.js:1540
Function
setVideoWidthAndHeightForTesting
(width, height)
ads/google/ima/ima-video.js:1530
Method
setXhrAction
* Setter to change cached action-xhr. * @param {string} url
extensions/amp-form/0.1/amp-form.js:347
Function
setter
(value)
third_party/inputmask/inputmask.js:2521
Function
setter_
(v)
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:5
Method
setter_
(v)
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:23
Method
setter_
(v)
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/input.js:40
Function
setter_AMP_PRIVATE_
(v)
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:8
← previous
next →
17,901–18,000 of 18,703, ranked by callers