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
getFormData
* Returns the wrapped native `FormData` object. * * @return {!FormData}
src/form-data-wrapper.js:287
Method
getFragment
* Get the fragment from the url or the viewer. * Strip leading '#' in the fragment * @return {!Promise<string>}
src/service/history-impl.js:350
Method
getFragment
@override
src/service/history-impl.js:813
Method
getFragment
* `getFragment` * * Request: undefined * Response: string * * @override
src/service/history-impl.js:1073
Method
getGpayTransactionId
* @return {?string}
third_party/subscriptions-project/swg.js:1409
Function
getGrantStatusAndUpdateState_
* @private
extensions/amp-story-subscriptions/0.1/amp-story-subscriptions.js:138
Method
getHadLogged
* @return {?boolean}
third_party/subscriptions-project/swg.js:1423
Method
getHead
* The `Document.head` element or analog. Returns `null` if not available * yet. * @return {!Element}
third_party/subscriptions-project/config.js:138
Method
getHead
@override
third_party/subscriptions-project/config.js:204
Method
getHeadNode
@override
src/service/ampdoc-impl.js:823
Method
getHeadNode
@override
src/service/ampdoc-impl.js:911
Method
getHeadNode
@override
src/service/ampdoc-impl.js:1026
Method
getHeight
* Returns the height of the viewport. * @return {number}
src/service/viewport/viewport-interface.js:75
Method
getHostElement
@override
extensions/amp-analytics/0.1/analytics-root.js:483
Method
getHostElement
@override
extensions/amp-analytics/0.1/analytics-root.js:544
Method
getIframe
* Gets the attached iframe instance. * @return {!FriendlyIframe}
third_party/subscriptions-project/swg.js:11017
Method
getImageBox
* Returns the boundaries of the image element. * @return {?../../../src/layout-rect.LayoutRectDef}
extensions/amp-image-viewer/0.1/amp-image-viewer.js:227
Function
getIncomingDoc
(params)
validator/js/webui/webui.js:42
Function
getInitialFirstExpandedSegmentIndex_
* Snap the firstExpandedSegmentIndex_ to its most appropiate place, depending * where on the story the user is (could be in the middle of the story
extensions/amp-story/1.0/progress-bar.js:551
Function
getInputHeight
(t,e)
third_party/react-dates/bundle.js:1
Method
getIntegrationVersion
* @return {?string}
third_party/subscriptions-project/swg.js:646
Method
getInteractiveId_
@override
extensions/amp-story-interactive/0.1/test/test-amp-story-interactive.js:56
Method
getIntersection
* Gets the video's intersection with the document's viewport. * @param {function(!JsonObject)} callback
src/video-iframe-integration.js:383
Method
getIntersectionElementLayoutBox
()
test/unit/test-custom-element.js:68
Method
getInterval
* The interval of when the LiveList should be at best notified * of new updates. * * @return {number}
extensions/amp-live-list/0.1/amp-live-list.js:51
Function
getIosMajorVersion
* Returns the major ios version in number. * @return {?number}
src/preact/utils/platform.js:170
Function
getIosVersionString
* Returns the minor ios version in string. * The ios version can contain two numbers (10.2) or three numbers (10.2.1). * Direct string equality
src/preact/utils/platform.js:155
Method
getIsPromptUiOnForTesting
* @return {boolean} * @visibleForTesting
extensions/amp-consent/0.1/amp-consent.js:949
Method
getIsUserRegistered
* @return {?boolean}
third_party/subscriptions-project/swg.js:1227
Method
getIssue
* Get a GitHub issue by title * @param {string} title * @return {Promise<GraphQlQueryResponseData|undefined>}
build-system/release-tagger/utils.js:112
Function
getItems
(response: {items: Item[]})
src/bento/components/bento-autocomplete/1.0/component/component.tsx:40
Function
getJsonLd
(root)
extensions/amp-story/1.0/jsonld.js:12
Method
getJwt
* @return {?string}
third_party/subscriptions-project/swg.js:1303
Method
getLabel
* Get label * @param {string} name * @return {Promise<Object|undefined>}
build-system/release-tagger/utils.js:234
Method
getLabel
* @return {?string}
third_party/subscriptions-project/config.js:311
Method
getLastContributionsFlow
* Get the last contribution offers flow. * @return {?ContributionsFlow}
third_party/subscriptions-project/swg.js:19326
Method
getLastOffersFlow
* Get the last subscription offers flow. * @return {?OffersFlow}
third_party/subscriptions-project/swg.js:19506
Function
getLayout
()
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-fluid.js:122
Method
getLayout
* Returns the layout of the element. * @return {!Layout_Enum}
src/custom-element.js:1603
Function
getLayoutBox
()
test/unit/test-resources.js:103
Method
getLayoutPriority
* Get the priority to load the element. * @return {number} * TODO(#31915): remove once R1 migration is complete.
src/custom-element.js:457
Method
getLayoutPriority
@override
extensions/amp-bind/0.1/amp-bind-macro.js:9
Method
getLayoutPriority
@override
extensions/amp-bind/0.1/amp-state.js:40
Method
getLayoutPriority
@override
extensions/amp-action-macro/0.1/amp-action-macro.js:40
Method
getLayoutRect
@override
src/service/viewport/viewport-binding-natural.js:231
Method
getLayoutRect
* Returns the rect of the element within the document. * @param {!Element} unusedEl * @param {number=} unusedScrollLeft Optional arguments that
src/service/viewport/viewport-binding-def.js:168
Method
getLayoutRect
* Returns the rect of the element within the document. * Note that this function should be called in vsync measure. Please consider * using `get
src/service/viewport/viewport-interface.js:133
Method
getLayoutRect
@override
src/service/viewport/viewport-binding-ios-embed-wrapper.js:263
Method
getLayoutRect
@override
src/inabox/inabox-viewport.js:557
Function
getLayoutSize
()
extensions/amp-iframe/0.1/test/test-amp-iframe.js:866
Method
getLayoutSize
* Returns a previously measured layout size. * @return {!./layout-rect.LayoutSizeDef} * @final
src/custom-element.js:1506
Method
getLine
* The current line in the HTML source from which the most recent SAX event * was generated. This value is only sensible once an event has been *
validator/js/engine/htmlparser-interface.js:460
Method
getLogger
@override
third_party/subscriptions-project/swg.js:19518
Method
getLoginUrl
* Expose the getLoginUrl method with the current ampdoc context * @param {string|!Promise<string>} urlOrPromise * @return {!Promise<string>}
extensions/amp-access/0.1/amp-access-source.js:405
Function
getMajorVersion
()
test/unit/test-form-data-wrapper.js:403
Function
getMajorVersion
* Returns the major version of the browser. * @return {number}
src/preact/utils/platform.js:111
Method
getMarginStr
(marginNum)
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:1571
Method
getMaxAllowedHeightRatio
* Returns the max allowed height of the view as a ratio of viewport height. * @return {number}
third_party/subscriptions-project/swg.js:11041
Method
getMeta
@override
src/service/ampdoc-impl.js:964
Function
getMetaByName
* @param {string} metaName * @return {string|null}
src/preact/utils/docInfo.js:8
Method
getMetadata
@return {!JsonObject}
src/video-iframe-integration.js:108
Method
getMetadata
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:193
Method
getMetadata
@override
extensions/amp-3q-player/0.1/amp-3q-player.js:289
Method
getMetadata
@override
extensions/amp-gfycat/0.1/amp-gfycat.js:278
Method
getMetadata
@override
extensions/amp-vimeo/0.1/amp-vimeo.js:297
Method
getMetadata
@override
extensions/amp-powr-player/0.1/amp-powr-player.js:401
Method
getMetadata
@override
extensions/amp-mowplayer/0.1/amp-mowplayer.js:339
Method
getMetadata
@override
extensions/amp-dailymotion/0.1/amp-dailymotion.js:373
Method
getMetadata
@override
extensions/amp-minute-media-player/0.1/amp-minute-media-player.js:377
Method
getMetadata
@override
extensions/amp-delight-player/0.1/amp-delight-player.js:634
Method
getMetadata
@override
extensions/amp-youtube/0.1/amp-youtube.js:603
Method
getMetadata
@override
extensions/amp-wistia-player/0.1/amp-wistia-player.js:276
Method
getMetadata
@override
extensions/amp-slikeplayer/0.1/amp-slikeplayer.js:393
Method
getMetadata
@override
extensions/amp-video-iframe/0.1/amp-video-iframe.js:515
Method
getMetadata
@override
extensions/amp-brightcove/0.1/amp-brightcove.js:476
Method
getMetadata
@override
extensions/amp-google-read-aloud-player/0.1/amp-google-read-aloud-player.js:198
Method
getMetadata
@override
extensions/amp-video/0.1/amp-video.js:943
Method
getMetadata
@override
extensions/amp-connatix-player/0.1/amp-connatix-player.js:526
Method
getMetadata
@override
extensions/amp-ima-video/0.1/amp-ima-video.js:424
Method
getMetadata
@override
extensions/amp-ooyala-player/0.1/amp-ooyala-player.js:275
Method
getMetadata
@override
extensions/amp-nexxtv-player/0.1/amp-nexxtv-player.js:305
Method
getMetadata
@override
extensions/amp-viqeo-player/0.1/amp-viqeo-player.js:295
Method
getMetadata
@override
extensions/amp-brid-player/0.1/amp-brid-player.js:460
Function
getMetric
(unused)
extensions/amp-analytics/0.1/test/test-variables.js:268
Function
getMiddleware
* Returns a list of middleware handler functions to use while serving * @return {!Array<function()>}
build-system/tasks/serve.js:72
Function
getMinifiedSsrCssConfig
* Gets the config for minified babel transforms run, used by 3p vendors with * IS_SSR set to true. * * @return {!Object}
build-system/babel-config/minified-ssr-css-config.js:11
Method
getMode
* Returns the mode of the activity: iframe, popup or redirect. * @return {!web-activities/activity-ports.ActivityMode}
third_party/subscriptions-project/swg.js:6867
Method
getName_
* @return {string} Returns a string to identify this tag. May not be unique * if the element name is not unique. * @protected
extensions/amp-bind/0.1/amp-bind-macro.js:35
Method
getNanos
* @return {?number}
third_party/subscriptions-project/swg.js:2529
Function
getNextArrowSlot
(controller)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:56
Function
getNoModuleLoaderConfig
@return {{[string: string]: any}}
build-system/babel-config/nomodule-loader-config.js:2
Method
getNumberOfOptions
@override
extensions/amp-story-interactive/0.1/amp-story-interactive-slider.js:282
Method
getOffers
@override
third_party/subscriptions-project/swg.js:19266
Method
getOldPlayOffer
* @return {?string}
third_party/subscriptions-project/swg.js:1878
Method
getOldTransactionId
* @return {?string}
third_party/subscriptions-project/swg.js:1451
Method
getOption
(name, fmt, dflt)
extensions/amp-3d-gltf/0.1/amp-3d-gltf.js:101
Method
getOrigin_
* @param {string} url * @return {string}
examples/pwa/pwa.js:354
Method
getPaddingTop
* Returns the top padding mandated by the viewer. * @return {number}
src/service/viewport/viewport-interface.js:39
Method
getPaddingTop
@override
src/service/viewport/viewport-impl.js:287
Method
getPageConfig
* Returns Page config * @return {!PageConfigInterface}
extensions/amp-subscriptions/0.1/amp-subscriptions.js:257
← previous
next →
15,501–15,600 of 18,703, ranked by callers