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
Function
getRoot_
()
extensions/amp-story/1.0/progress-bar.js:492
Method
getScopedCid
* Returns scoped CID retrieved from the Viewer. * @param {string|undefined} apiKey * @param {string} scope * @return {!Promise<?JsonObject|st
src/service/viewer-cid-api.js:45
Method
getScopedCid
* Returns scoped CID retrieved from the Viewer. * @param {string} scope * @return {!Promise<?string>}
src/service/cache-cid-api.js:63
Method
getScoreFactorStates
* gets Score factors for all platforms * @return {!Promise<!JsonObject>}
extensions/amp-subscriptions/0.1/service-adapter.js:57
Method
getScoreFactorStates
* Gets Score Factors for all platforms * @return {!Promise<!JsonObject>}
extensions/amp-subscriptions/0.1/amp-subscriptions.js:289
Method
getScriptReleaseVersion
* Returns the script release version, otherwise ScriptReleaseVersion.UNKNOWN. * @return {!ScriptReleaseVersion}
validator/js/engine/htmlparser-interface.js:352
Method
getScrollDirection
* Returns the direction the user last scrolled. * - -1 for scrolling up * - 1 for scrolling down * - Defaults to 1 * TODO(lannka): this
src/service/resources-interface.js:67
Method
getScrollDirection
@override
src/inabox/inabox-resources.js:115
Method
getScrollHeight
@override
src/service/viewport/viewport-binding-natural.js:189
Method
getScrollHeight
* Returns the scroll height of the content of the document, including the * padding top for the viewer header. * The scrollHeight will be the vi
src/service/viewport/viewport-binding-def.js:140
Method
getScrollHeight
* Returns the scroll height of the content of the document, including the * padding top for the viewer header. * The scrollHeight will be the vi
src/service/viewport/viewport-interface.js:99
Method
getScrollHeight
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:231
Function
getScrollLeft
()
ads/google/a4a/test/test-utils.js:409
Method
getScrollLeft
* Returns the left scroll position for the viewport. * @return {number}
src/service/viewport/viewport-binding-def.js:125
Method
getScrollLeft
* Returns the viewport's horizontal scroll position. * @return {number}
src/service/viewport/viewport-interface.js:51
Method
getScrollLeft
@override
src/inabox/inabox-viewport.js:592
Function
getScrollTop
()
ads/google/a4a/test/test-utils.js:410
Method
getScrollTop
* Returns the top scroll position for the viewport. * @return {number}
src/service/viewport/viewport-binding-def.js:113
Method
getScrollTop
* Returns the viewport's vertical scroll position. * @return {number}
src/service/viewport/viewport-interface.js:45
Method
getScrollTop
@override
src/inabox/inabox-viewport.js:587
Method
getScrollWidth
@override
src/service/viewport/viewport-binding-natural.js:184
Method
getScrollWidth
* Returns the scroll width of the content of the document. * @return {number}
src/service/viewport/viewport-binding-def.js:131
Method
getScrollWidth
* Returns the scroll width of the content of the document. Note that this * method is not cached since we there's no indication when it might chang
src/service/viewport/viewport-interface.js:88
Method
getScrollWidth
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:226
Method
getScrollWidth
@override
src/inabox/inabox-viewport.js:803
Method
getScrollingElement
* Returns the element considered the root scroller for this binding. * @return {!Element}
src/service/viewport/viewport-binding-def.js:180
Method
getScrollingElement
* @return {!Element}
src/service/viewport/viewport-interface.js:191
Method
getScrollingElement
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:311
Method
getScrollingElementScrollsLikeViewport
@override
src/service/viewport/viewport-binding-natural.js:276
Method
getScrollingElementScrollsLikeViewport
* Whether the root scroller is a native root scroller (behaves like a * viewport), or an overflow scroller (scrolls like an element). * @return
src/service/viewport/viewport-binding-def.js:187
Method
getScrollingElementScrollsLikeViewport
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:316
Method
getScrollingElementScrollsLikeViewport
@override
src/inabox/inabox-viewport.js:602
Function
getSelectedDate
(wrapper)
extensions/amp-date-picker/1.0/test/test-helpers.js:37
Method
getServeNpaSignal
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:847
Method
getServeNpaSignal
@override
extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js:441
Method
getSharingPolicyEnabled
* @return {?boolean}
third_party/subscriptions-project/swg.js:1920
Function
getShowControlsThrottledForTesting
()
ads/google/ima/ima-video.js:1502
Method
getShowEndpoint_
* Executes a `GET` request to the url given on the `data-show-if-href` * attribute. * @param {string} ampUserId * @return {!Promise<!GetRespo
extensions/amp-user-notification/0.1/amp-user-notification.js:241
Method
getSigningServiceNames
@override
extensions/amp-ad-network-oblivki-impl/0.1/amp-ad-network-oblivki-impl.js:28
Method
getSigningServiceNames
@override
extensions/amp-ad-network-smartads-impl/0.1/amp-ad-network-smartads-impl.js:26
Method
getSize
@override
src/service/viewport/viewport-binding-natural.js:151
Method
getSize
* Returns the size of the viewport. * @return {!{width: number, height: number}}
src/service/viewport/viewport-binding-def.js:107
Method
getSize
* Returns the size of the viewport. * @return {!{width: number, height: number}}
src/service/viewport/viewport-interface.js:69
Method
getSize
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:206
Method
getSize
@override
src/inabox/inabox-viewport.js:579
Method
getSizing
@override
extensions/amp-auto-ads/0.1/alright-network-config.js:88
Method
getSizing
@override
extensions/amp-auto-ads/0.1/denakop-network-config.js:93
Method
getSizing
@override
extensions/amp-auto-ads/0.1/firstimpression.io-network-config.js:134
Method
getSizing
@override
extensions/amp-auto-ads/0.1/wunderkind-network-config.js:78
Method
getSizing
@override
extensions/amp-auto-ads/0.1/premiumads-network-config.js:76
Method
getSizing
@override
extensions/amp-auto-ads/0.1/doubleclick-network-config.js:81
Method
getSizing
@override
extensions/amp-auto-ads/0.1/adsense-network-config.js:101
Method
getSizing
@override
extensions/amp-auto-ads/0.1/ping-network-config.js:68
Method
getSku
* @return {?string}
third_party/subscriptions-project/swg.js:548
Method
getSku
* @return {?string}
third_party/subscriptions-project/swg.js:1822
Method
getSku
* Returns the SKU associated with this entitlement. * @return {?string}
third_party/subscriptions-project/swg.js:4637
Method
getSku
* @return {?string}
third_party/subscriptions-project/swg.js:7854
Function
getSlide
(controller, n)
extensions/amp-carousel/0.2/test/test-e2e/helpers.js:9
Method
getSmartboxMessage
* @return {?string}
third_party/subscriptions-project/swg.js:1395
Method
getSource
* Expose the underlying AccessSource for use by laterpay. * @param {number} index * @return {!AccessSource}
extensions/amp-access/0.1/amp-access.js:724
Method
getSource
* @return {?string}
third_party/subscriptions-project/swg.js:1076
Function
getSourceRoot
* Computes the base url for sourcemaps. Custom sourcemap URLs have placeholder * {version} that should be replaced with the actual version. Also, ens
build-system/compile/helpers.js:13
Method
getStartTime
* @return {time}
src/friendly-iframe-embed.js:416
Method
getStartTime
@override
extensions/amp-analytics/0.1/visibility-manager.js:645
Method
getStartTime
@override
extensions/amp-analytics/0.1/visibility-manager.js:865
Method
getState
* @return {!PaginationButtonStateDef}
extensions/amp-story/1.0/pagination-buttons.js:121
Function
getStateValue
(key)
test/unit/test-url-replacements.js:663
Function
getStderr
* Executes the provided command, returning its stderr. * @param {string} cmd * @param {?Object=} options * @return {string}
build-system/common/process.js:58
Method
getSubscriptionTimestamp
* @return {?Timestamp}
third_party/subscriptions-project/swg.js:1241
Method
getSuccess
* @return {?boolean}
third_party/subscriptions-project/swg.js:2103
Method
getSuccess
* @return {?boolean}
third_party/subscriptions-project/swg.js:2352
Method
getSupportedScoreFactor
@override
extensions/amp-subscriptions/0.1/local-subscription-platform-base.js:211
Method
getSupportedScoreFactor
@override
extensions/amp-subscriptions/0.1/viewer-subscription-platform.js:246
Method
getSurveyAnswersList
* @return {!Array<!SurveyAnswer>}
third_party/subscriptions-project/swg.js:2456
Method
getSurveyQuestionsList
* @return {!Array<!SurveyQuestion>}
third_party/subscriptions-project/swg.js:2299
Method
getSwgUserToken
* @return {?string}
third_party/subscriptions-project/swg.js:961
Method
getSwgUserToken
* @return {?string}
third_party/subscriptions-project/swg.js:1317
Method
getTargetLength
@override
extensions/amp-animation/0.1/web-animations.js:1217
Function
getTargetRect
()
test/unit/inabox/test-inabox-messaging-host.js:251
Function
getTemplate_
* Returns template if already built. If not built, returns a built template. * @param {string} templateId * @param {?ShoppingConfigDataDef} prod
extensions/amp-story-shopping/0.1/amp-story-shopping-attachment.js:267
Function
getTestConfig
* Gets the config for babel transforms run during `amp [unit|integration|e2e]`. * * @return {!Object}
build-system/babel-config/test-config.js:12
Method
getTheme
* Gets the theme the UI should be displayed in. See * src/api/basic-subscriptions.ClientOptions.theme. * @return {!../api/basic-subscriptions.Cl
third_party/subscriptions-project/swg.js:9689
Method
getTitle
* Get the title of the current document. * @return {!Promise<string>}
build-system/tasks/e2e/selenium-webdriver-controller.js:535
Method
getToken
* @return {?string}
third_party/subscriptions-project/swg.js:1213
Method
getToken
* @return {?string}
third_party/subscriptions-project/swg.js:1641
Method
getTotalEngagedTime
* Get the total engaged time up to the given time recorded in * ActivityHistory. * @param {number} time * @return {number}
extensions/amp-analytics/0.1/activity-impl.js:91
Method
getTransactionId
* @return {string}
third_party/subscriptions-project/swg.js:7847
Function
getTransformStyles
(r)
third_party/react-dates/bundle.js:1
Method
getType
@override
extensions/amp-analytics/0.1/analytics-root.js:473
Method
getType
@override
extensions/amp-analytics/0.1/analytics-root.js:534
Method
getType
* @return {string} Type attribute of parent amp-analytics instance * @visibleForTesting
extensions/amp-analytics/0.1/iframe-transport.js:319
Method
getType
@override
extensions/amp-story/1.0/page-advancement.js:334
Method
getType
@override
extensions/amp-story/1.0/page-advancement.js:839
Method
getType
@override
extensions/amp-story/1.0/page-advancement.js:1028
Method
getType
* @return {string}
third_party/subscriptions-project/swg.js:18018
Method
getUnconfirmedReferrerUrl
* Returns an unconfirmed "referrer" URL that can be optionally customized by * the viewer. Consider using `getReferrerUrl()` instead, which returns
src/service/viewer-interface.js:107
Method
getUnmaskedValue
* Get the unmasked value from the element * @return {string}
extensions/amp-inputmask/0.1/mask-interface.js:29
Function
getUnminifiedSsrCssConfig
* Gets the config for babel transforms run during `amp build` with `IS_SSR` * set to true. * * @return {!Object}
build-system/babel-config/unminified-ssr-css-config.js:11
Method
getUpdateTime
* Retrieves the highest update time from the live list. * * @return {time}
extensions/amp-live-list/0.1/amp-live-list.js:80
Method
getUpdateTime
()
extensions/amp-live-list/0.1/test/test-live-list-manager.js:82
← previous
next →
15,701–15,800 of 18,703, ranked by callers