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
setter_AMP_PRIVATE_
(v)
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:36
Method
setter_AMP_PRIVATE_
(v)
build-system/babel-plugins/babel-plugin-transform-rename-privates/test/fixtures/transform/rename-amp-privates/output.mjs:63
Function
setup
(build)
build-system/tasks/remap-dependencies-plugin/remap-dependencies.js:27
Function
setup
(build)
build-system/common/esbuild-babel.js:81
Function
setup
()
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:892
Method
setup
* @return {Promise<void>}
build-system/tasks/runtime-test/runtime-test-base.js:316
Method
setup
* @param {!Object} env * @return {!Promise|undefined}
testing/describes.js:390
Method
setup
@override
testing/describes.js:414
Method
setup
@override
testing/describes.js:486
Method
setup
@override
testing/describes.js:563
Method
setup
@override
testing/describes.js:602
Method
setupSlideBehavior_
@override
extensions/amp-carousel/0.1/test/test-slidescroll-slides.js:57
Function
setupTestcase
* Sets up the initial state required by individual test cases.
testing/init-tests-helpers.js:118
Method
setup_
()
extensions/amp-viewer-integration/0.1/test/integration/test-amp-viewer-integration.js:54
Function
sevio
(global, data)
ads/vendors/sevio.js:7
Method
shadowDoc
@return {?../../../src/runtime.ShadowDoc}
extensions/amp-next-page/1.0/page.js:106
Function
shallowCompare
(l,a,o)
third_party/react-dates/bundle.js:1
Function
sharethrough
(global, data)
ads/vendors/sharethrough.js:7
Function
shemedia
(global, data)
ads/vendors/shemedia.js:7
Method
shouldAutocomplete
()
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-single.ts:8
Method
shouldAutocomplete
* Returns true if a match on the publisher-provided trigger is found in the input element value. * Otherwise, should not display any suggestions.
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-inline.ts:52
Method
shouldAutocomplete
* Whether the binding should attempt to display * autocomplete suggestions on user input. * @param {!HTMLInputElement} unusedInputEl * @retur
extensions/amp-autocomplete/0.1/autocomplete-binding-def.js:13
Method
shouldAutocomplete
* Returns true if a match on the publisher-provided trigger is found in the input element value. * Otherwise, should not display any suggestions.
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:52
Method
shouldAutocomplete
* Always try to autocomplete. * @param {!HTMLInputElement} unusedInputEl * @return {boolean}
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:45
Method
shouldEnableButton
* Determines whether a subscription or contribution button should be disabled. * @returns {!Promise<boolean|undefined>}
third_party/subscriptions-project/swg.js:9719
Method
shouldFadeBody
* Returns if document should fade for this view. * @return {boolean}
third_party/subscriptions-project/swg.js:3943
Method
shouldPreferentialRenderWithoutCrypto
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:609
Method
shouldPreventDefaultOnEnter
( unusedActiveElement: boolean, submitOnEnter: boolean )
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-single.ts:16
Method
shouldPreventDefaultOnEnter
* If results are not showing or there is no actively navigated-to suggestion item, * the user should be able to 'Enter' to add a new line.
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-inline.ts:73
Method
shouldPreventDefaultOnEnter
* Whether the autocomplete should escape the 'Enter' keydown event * @param {boolean} unusedActiveElement * @return {boolean}
extensions/amp-autocomplete/0.1/autocomplete-binding-def.js:74
Method
shouldPreventDefaultOnEnter
* If results are not showing or there is no actively navigated-to suggestion item, * the user should be able to 'Enter' to add a new line. * @pa
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:178
Method
shouldPreventDefaultOnEnter
* If results are showing or the publisher provided "submit-on-enter", * the user should only be able to 'Enter' to select a suggestion. * @param
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:125
Method
shouldShow
* Promise that is resolved with a boolean on whether this Notification * should be shown or not. * @return {!Promise<boolean>}
extensions/amp-user-notification/0.1/amp-user-notification.js:49
Method
shouldShowOnFocus
()
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-single.ts:4
Method
shouldShowOnFocus
()
src/bento/components/bento-autocomplete/1.0/component/autocomplete-binding-inline.ts:18
Method
shouldShowOnFocus
* Never show suggestions on focus because focus occurs every selection. * @return {boolean}
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:156
Method
shouldShowOnFocus
* Always display suggestions if there are any on focus. * @return {boolean}
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:87
Method
shouldSuggestFirst
* Always accept the "suggest-first" attribute regardless of filter type. * This is because this binding does not perform any highlighting via the
extensions/amp-autocomplete/0.1/autocomplete-binding-inline.js:148
Method
shouldSuggestFirst
@return {boolean}
extensions/amp-autocomplete/0.1/autocomplete-binding-single.js:79
Method
shouldUnblock
* Returns whether the current consent policy state should be unblocked * Caller need to make sure that policy status has resolved * @return {boo
extensions/amp-consent/0.1/consent-policy-manager.js:516
Function
shouldUpdate
(nextProps)
src/preact/compat/memo.js:40
Method
shouldValidateOnInteraction
@override
extensions/amp-form/0.1/form-validators.js:453
Method
shouldValidateOnInteraction
@override
extensions/amp-form/0.1/form-validators.js:480
Method
shouldValidateOnInteraction
@override
extensions/amp-form/0.1/form-validators.js:488
Method
shouldValidateOnInteraction
@override
extensions/amp-form/0.1/form-validators.js:502
Method
show
* Turns the Notification Component visible. * @return {!Promise}
extensions/amp-user-notification/0.1/amp-user-notification.js:55
Method
show
* Shows the graypane. * @param {boolean=} animated * @return {!Promise|undefined}
third_party/subscriptions-project/swg.js:10428
Method
show
* Shows the loading indicator within the container element.
third_party/subscriptions-project/swg.js:10530
Method
show
* Returns a promise for a Google user object. * The user object will be a: * - GaaUserDef, if you use the GaaGoogleSignInButton * - GoogleIde
third_party/subscriptions-project/swg-gaa.js:1899
Method
show
* Renders the Google Sign-In button. * @nocollapse * @param {{ allowedOrigins: !Array<string> }} params
third_party/subscriptions-project/swg-gaa.js:2416
Method
show
* Renders the third party Google Sign-In button for external authentication. * @nocollapse * @param {{ * allowedOrigins: !Array<string>,
third_party/subscriptions-project/swg-gaa.js:2641
Method
showBestAudienceAction
@override
third_party/subscriptions-project/swg.js:19570
Function
showBubbleElement
* Updates text content, positions and displays the bubble. * @param {!Object} state * @private
extensions/amp-form/0.1/validation-bubble.js:130
Method
showContainerAndIframeWithAnimation_
* @param {!Element} container * @param {!HTMLIFrameElement} iframe * @param {!PaymentDataRequest} paymentDataRequest * @private
third_party/subscriptions-project/swg.js:16813
Method
showControls
* @override
test/integration/test-video-manager.js:563
Method
showControls
@override
extensions/amp-gfycat/0.1/amp-gfycat.js:248
Method
showControls
@override
extensions/amp-vimeo/0.1/amp-vimeo.js:287
Method
showControls
@override
extensions/amp-powr-player/0.1/amp-powr-player.js:362
Method
showControls
@override
extensions/amp-mowplayer/0.1/amp-mowplayer.js:305
Method
showControls
* @override
extensions/amp-dailymotion/0.1/amp-dailymotion.js:318
Method
showControls
@override
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:357
Method
showControls
@override
extensions/amp-youtube/0.1/amp-youtube.js:569
Method
showControls
@override
extensions/amp-wistia-player/0.1/amp-wistia-player.js:238
Method
showControls
@override
extensions/amp-brightcove/0.1/amp-brightcove.js:437
Method
showControls
@override
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:188
Method
showControls
* @override
extensions/amp-video/0.1/amp-video.js:912
Method
showControls
@override
extensions/amp-connatix-player/0.1/amp-connatix-player.js:479
Method
showControls
@override
extensions/amp-ooyala-player/0.1/amp-ooyala-player.js:241
Method
showControls
@override
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:271
Method
showControls
@override
extensions/amp-viqeo-player/0.1/amp-viqeo-player.js:257
Method
showControls
@override
extensions/amp-brid-player/0.1/amp-brid-player.js:422
Method
showLoginNotification
@override
third_party/subscriptions-project/swg.js:19375
Method
showLoginPrompt
@override
third_party/subscriptions-project/swg.js:19368
Method
showNoEntitlementFoundToast
* Shows "no subscription found" on activity iFrame view.
third_party/subscriptions-project/swg.js:6544
Method
showNoEntitlementFoundToast
* Shows "no contribution found" on activity iFrame view.
third_party/subscriptions-project/swg.js:10029
Method
showSubscribeOption
@override
third_party/subscriptions-project/swg.js:19299
Method
showUpdateOffers
@override
third_party/subscriptions-project/swg.js:19283
Method
showViewerHeader
@override
src/service/viewport/viewport-binding-natural.js:122
Method
showViewerHeader
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:181
Method
showViewerHeader
@override
src/inabox/inabox-viewport.js:825
Method
showWithNative3PRegistrationButton
* This method opens a metering regwall dialog, * where users can sign in with Google. * * @nocollapse * @param {{ caslUrl: string, authori
third_party/subscriptions-project/swg-gaa.js:1984
Method
showWithNativeRegistrationButton
* Returns a promise for a Google user object. * The user object will be a GoogleIdentityV1 * * This method opens a metering regwall dialog,
third_party/subscriptions-project/swg-gaa.js:1940
Method
show_
* Show prompt UI * Do not invoke the function except in scheduleDisplay_ * @param {boolean} isActionPromptTrigger * @return {!Promise}
extensions/amp-consent/0.1/amp-consent.js:410
Function
si
(n)
third_party/d3/d3.js:2
Method
signOut
* Signs out of Google Sign-In. * This is useful for developers who are testing their * SwG integrations. * @nocollapse * @return {!Promise
third_party/subscriptions-project/swg-gaa.js:2018
Method
signal
@return {!AbortSignal}
src/polyfills/abort-controller.js:29
Function
signals
()
test/unit/test-resources.js:1376
Method
signals
@return {!Signals}
src/custom-element.js:306
Method
signals
@override
extensions/amp-analytics/0.1/analytics-root.js:489
Method
signals
@override
extensions/amp-analytics/0.1/analytics-root.js:549
Function
simpleArrayFrom
(arrayLike)
third_party/react-dates/index.js:7
Function
simpleArrayFrom
(r)
third_party/react-dates/bundle.js:1
Function
singleFile
()
extensions/amp-gist/1.0/storybook/Basic.amp.js:24
Method
skipA4aFie
* @return {ItConfig}
build-system/tasks/e2e/describes-e2e.js:320
Method
skipChrome
()
testing/test-config.js:52
Method
skipClientSideValidation
* @override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:681
Method
skipClientSideValidation
* @override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:480
Function
skipIfAutoplayUnsupported
(win)
test/integration/test-video-players-helper.js:22
Method
skipIos
()
testing/test-config.js:68
Method
skipModuleBuild
()
testing/test-config.js:48
← previous
next →
18,001–18,100 of 18,703, ranked by callers