MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 1 callersMethodsetFullHeight_
* Expands the player's height in the DOM * @private
extensions/amp-delight-player/0.1/amp-delight-player.js:402
↓ 1 callersFunctionsetFullscreenOff
(element)
extensions/amp-apester-media/0.1/utils.js:164
↓ 1 callersFunctionsetFullscreenOn
(element)
extensions/amp-apester-media/0.1/utils.js:156
↓ 1 callersMethodsetGoogleTransactionId
* Sets the google transaction id. * * @param {string} txnId
third_party/subscriptions-project/swg.js:15510
↓ 1 callersMethodsetGpayTransactionId
* @param {string} value
third_party/subscriptions-project/swg.js:1416
↓ 1 callersFunctionsetGroupProp
(node, groupName, prop, setter, value)
src/core/context/index.js:129
↓ 1 callersMethodsetHadLogged
* @param {boolean} value
third_party/subscriptions-project/swg.js:1430
↓ 1 callersMethodsetHtml
* Bypasses template rendering and directly sets HTML. Should only be used * for server-side rendering case. To be implemented by subclasses. * @
src/base-template.js:44
↓ 1 callersMethodsetHtmlForTemplate
* Inserts the specified template element. * @param {!Element} templateElement * @param {string} html * @return {!Promise<(!Element|!Array<!El
src/service/template-impl.js:64
↓ 1 callersMethodsetHtml_
* @param {!../base-template.BaseTemplate} impl * @param {string} html * @return {!Element|!Array<!Element>} * @private
src/service/template-impl.js:335
↓ 1 callersMethodsetImageOrientation
(heading = 0, pitch = 0, roll = 0)
third_party/zuho/zuho.js:180
↓ 1 callersMethodsetInitialEngagedSignals_
Sets the initial states of the engaged signals used for all sessions.
extensions/amp-analytics/0.1/session-manager.js:120
↓ 1 callersMethodsetInlineHeight_
* Retracts the player's height in the DOM * @private
extensions/amp-delight-player/0.1/amp-delight-player.js:410
↓ 1 callersMethodsetInputValue_
* Updates the input value with the provided textual representation of the selected element. * @param {string} selectedText textual representation o
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1077
↓ 1 callersMethodsetIsFromUserAction
* @param {boolean} value
third_party/subscriptions-project/swg.js:736
↓ 1 callersMethodsetIsUserRegistered
* @param {boolean} value
third_party/subscriptions-project/swg.js:1234
↓ 1 callersMethodsetJwt
* @param {string} value
third_party/subscriptions-project/swg.js:1069
↓ 1 callersMethodsetLabelList
* @param {!Array<string>} value
third_party/subscriptions-project/swg.js:583
↓ 1 callersMethodsetLoadMoreFailed
* Shows the load-more-failed element and hides the load-more-button * element.
extensions/amp-list/0.1/service/load-more-service.js:232
↓ 1 callersMethodsetLoadMore_
* Sets up auto-load-more if automatic load-more is on. Otherwise, sets up * manual load-more. In manual, shows the load-more button if there are mo
extensions/amp-list/0.1/amp-list.js:1499
↓ 1 callersMethodsetLoadingViewWidth_
* Changes the size of the loading iframe on desktop to match the size of * the meter toast iframe.
third_party/subscriptions-project/swg.js:11837
↓ 1 callersFunctionsetLocalStorageState
* Set history state in localStorage. * State is keyed off of the URL-minus fragment of the Story. * @param {!Window} win * @param {*} state
extensions/amp-story/1.0/history.js:87
↓ 1 callersFunctionsetLocationHashParams
(params)
validator/js/webui/webui.js:25
↓ 1 callersFunctionsetMacro
* Sets macro type. * @param {string} type
ads/vendors/a9.js:136
↓ 1 callersMethodsetMapping
(code = '')
third_party/zuho/zuho.js:186
↓ 1 callersMethodsetMaxNumberOfBindingsForTesting
* @param {number} value * @visibleForTesting
extensions/amp-bind/0.1/bind-impl.js:647
↓ 1 callersMethodsetMeta
* @param {!AnalyticsEventMeta} value
third_party/subscriptions-project/swg.js:836
↓ 1 callersMethodsetOldSku
* @param {string} value
third_party/subscriptions-project/swg.js:1843
↓ 1 callersMethodsetOldTransactionId
* @param {string} value
third_party/subscriptions-project/swg.js:1458
↓ 1 callersMethodsetOnConsumeCallback
* Sets a callback function this class calls when a user dismisses the toast to consume a free read. * @param {function()} onConsumeCallback
third_party/subscriptions-project/swg.js:11794
↓ 1 callersMethodsetOnContributionResponse
* @param {function(!Promise<!../api/subscribe-response.SubscribeResponse>)} callback
third_party/subscriptions-project/swg.js:9201
↓ 1 callersMethodsetOnEntitlementsResponse
* @param {function(!Promise<!../api/entitlements.Entitlements>)} callback
third_party/subscriptions-project/swg.js:9054
↓ 1 callersMethodsetOnNativeSubscribeRequest
@override
third_party/subscriptions-project/swg.js:19382
↓ 1 callersMethodsetOnSubscribeRequest
* @param {function()} callback
third_party/subscriptions-project/swg.js:9149
↓ 1 callersMethodsetOnSubscribeResponse
* @param {function(!Promise<!../api/subscribe-response.SubscribeResponse>)} callback
third_party/subscriptions-project/swg.js:9191
↓ 1 callersFunctionsetOptionalAttrs
(req, doc)
build-system/server/app-video-testbench.js:326
↓ 1 callersMethodsetOrientationAttribute_
* Adds an orientation=landscape|portrait attribute. * If the story doesn't explicitly support landscape via the opt-in attribute, * it is always
extensions/amp-story/1.0/amp-story.js:1801
↓ 1 callersMethodsetOwnCssGridStyles_
* Copies the allowlisted CSS grid styles for the <amp-story-grid-layer> * element itself. * @private
extensions/amp-story/1.0/amp-story-grid-layer.js:121
↓ 1 callersMethodsetPageDescription_
* Sets the description of the page, from its title and its videos * alt/title attributes. * @private
extensions/amp-story/1.0/amp-story-page.js:1939
↓ 1 callersFunctionsetParams
* Sets the params.
ads/vendors/a9.js:149
↓ 1 callersMethodsetParams
* @param {!EventParams} value
third_party/subscriptions-project/swg.js:850
↓ 1 callersFunctionsetParent
(node, parent)
src/core/context/index.js:43
↓ 1 callersFunctionsetPassiveSupported
(passiveSupported)
test/unit/test-gesture.js:18
↓ 1 callersFunctionsetPercentageOfadViewed
* @param {number} percentage
ads/vendors/nativo.js:103
↓ 1 callersFunctionsetPercyBranch
* Disambiguates branch names by decorating them with the commit author name. * We do this for all non-push builds in order to prevent them from being
build-system/tasks/visual-diff/index.js:119
↓ 1 callersFunctionsetPercyTargetCommit
* Set the branching point's SHA to an env variable. * * This will let Percy determine which build to use as the baseline for this new * build. *
build-system/tasks/visual-diff/index.js:137
↓ 1 callersMethodsetPosterImage_
* @param {!VideoOrBaseElementDef} video * @private
extensions/amp-video-docking/0.1/amp-video-docking.js:1109
↓ 1 callersMethodsetReadyForLogging
* Sets ready for logging to true and logs all the client events that were previously buffered.
third_party/subscriptions-project/swg.js:7819
↓ 1 callersMethodsetRedirectUrl_
* @param {!Element} htmlElement
extensions/amp-link-rewriter/0.1/link-rewriter.js:148
↓ 1 callersFunctionsetRef
* @param {import('preact').Ref<T>} ref * @param {T} value * @template T
src/preact/utils.js:23
↓ 1 callersMethodsetReferringOrigin
* @param {string} value
third_party/subscriptions-project/swg.js:499
↓ 1 callersMethodsetResultDisplayDirection_
* Display results upwards or downwards based on location in the viewport. * Should be called in a measureMutate context. * @param {boolean} rend
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1002
↓ 1 callersFunctionsetSandbox
* We always set a sandbox. Default is that none of the things that need * to be opted in are allowed. * @param {!Element} element * @param {!Elemen
extensions/amp-iframe/0.1/amp-iframe.js:826
↓ 1 callersFunctionsetScrollPosition
(axis, el, position)
src/bento/components/bento-base-carousel/1.0/dimensions.js:205
↓ 1 callersFunctionsetScrollPosition
(axis, el, position)
extensions/amp-base-carousel/0.1/dimensions.js:200
↓ 1 callersMethodsetSessionState_
* Set current state to sessionStorage. * @private
extensions/amp-accordion/0.1/amp-accordion.js:251
↓ 1 callersFunctionsetShadowDomStreamingSupportedForTesting
(val)
src/shadow-embed.js:299
↓ 1 callersMethodsetSideAttribute_
* Sidebars within <amp-story> should be 'flipped'. * @param {!Side} side * @return {Side} * @private
extensions/amp-sidebar/0.2/amp-sidebar.js:633
↓ 1 callersMethodsetSideAttribute_
* Sidebars within <amp-story> should be 'flipped'. * @param {!Side} side * @return {Side} * @private
extensions/amp-sidebar/0.1/amp-sidebar.js:649
↓ 1 callersMethodsetSize_
* Force set the dimensions for an element * @param {Any} element * @param {number} newHeight * @param {number} newWidth
extensions/amp-ad/0.1/amp-ad-ui.js:410
↓ 1 callersMethodsetSize_
* Sets the size of the loader based element's size and a few special cases. * @private * @return {undefined}
extensions/amp-loader/0.1/amp-loader.js:157
↓ 1 callersMethodsetSku
* @param {string} value
third_party/subscriptions-project/swg.js:1829
↓ 1 callersMethodsetSlides
* @param {!Array<!Element>} slides The slides to create thumbnails for.
extensions/amp-inline-gallery/0.1/amp-inline-gallery-thumbnails.js:74
↓ 1 callersMethodsetSource
* @param {string} value
third_party/subscriptions-project/swg.js:1083
↓ 1 callersMethodsetSourceDimensions_
* Sets the source width and height based the natural dimensions of the * source image if loaded, and the offset dimensions of amp-img element *
extensions/amp-image-lightbox/0.1/amp-image-lightbox.js:221
↓ 1 callersMethodsetSourceDimensions_
* Sets the source width and height based the natural dimensions of the * source image if loaded, and the offset dimensions of amp-img element *
extensions/amp-image-viewer/0.1/amp-image-viewer.js:273
↓ 1 callersMethodsetSrc_
* Sets the story src to the iframe. * @param {!StoryDef} story * @param {string} url * @return {!Promise} * @private
src/amp-story-player/amp-story-player-impl.js:1337
↓ 1 callersMethodsetState
* Transitions to the newState and invokes the registered transition * callback, if one is defined. * @param {STATE} newState
src/core/data-structures/finite-state-machine.js:47
↓ 1 callersMethodsetState_
* @param {string} type * @param {?boolean} state * @private
extensions/amp-subscriptions/0.1/renderer.js:40
↓ 1 callersMethodsetStaticContext_
* @private
third_party/subscriptions-project/swg.js:7913
↓ 1 callersFunctionsetStyle
* Sets the CSS style of the specified element with optional units, e.g. "px". * @param {Element} element * @param {string} property * @param {?stri
third_party/subscriptions-project/swg-gaa.js:1131
↓ 1 callersFunctionsetStyleForPreset
(el, presetName)
extensions/amp-story/1.0/animation-presets.js:70
↓ 1 callersFunctionsetStyles
* Sets the CSS styles of the specified element. The styles * a specified as a map from CSS property names to their values. * @param {!Element} eleme
third_party/subscriptions-project/swg-gaa.js:1150
↓ 1 callersMethodsetStyles_
* Sets necessary CSS styles to select the language. See `buildStyles_` for * more details. * @private
extensions/amp-access/0.1/amp-login-done-dialog.js:66
↓ 1 callersMethodsetSubscribe
* @param {boolean} value
third_party/subscriptions-project/swg.js:2040
↓ 1 callersMethodsetSubscriptionTimestamp
* @param {!Timestamp} value
third_party/subscriptions-project/swg.js:1248
↓ 1 callersMethodsetTargetLength
* @param {number} len * @protected
extensions/amp-animation/0.1/web-animations.js:972
↓ 1 callersFunctionsetTestName
(name)
testing/console-logging-setup.js:23
↓ 1 callersFunctionsetTestRunner
(runner)
testing/console-logging-setup.js:32
↓ 1 callersMethodsetTestUrl
* Translate relative fixture specs into localhost test URL. * @param {!TestSpec} spec * @return {!TestSpec}
build-system/tasks/e2e/describes-e2e.js:620
↓ 1 callersFunctionsetTextBackgroundColor
(element)
extensions/amp-story/1.0/utils.js:274
↓ 1 callersMethodsetThemeColor_
* @private
extensions/amp-story/1.0/amp-story.js:622
↓ 1 callersMethodsetTitlePage
* Sets the title and url of the document to those of * the provided page * @param {?Page=} page
extensions/amp-next-page/1.0/service.js:462
↓ 1 callersMethodsetToken
* @param {string} value
third_party/subscriptions-project/swg.js:1220
↓ 1 callersMethodsetToken
* @param {string} value
third_party/subscriptions-project/swg.js:1648
↓ 1 callersFunctionsetTouchNonValidationReadonly
* Mark an element to receive the `readonly` property on focus. * That will prevent the touch keyboard from appearing when it is not desired. * @para
extensions/amp-date-picker/0.1/amp-date-picker.js:1969
↓ 1 callersFunctionsetTrackingIframeTimeoutForTesting
(ms)
extensions/amp-iframe/0.1/amp-iframe.js:851
↓ 1 callersFunctionsetTransformTranslateStyle
(axis, el, delta)
extensions/amp-base-carousel/0.1/dimensions.js:97
↓ 1 callersFunctionsetTruncated
* Marks an element as truncateed, showing the overflow button. * @param {!Element} element
extensions/amp-truncate-text/0.1/truncate-text.js:57
↓ 1 callersMethodsetUiMode_
* @param {string} mode * @private
extensions/amp-onetap-google/0.1/amp-onetap-google.js:173
↓ 1 callersMethodsetUpActivityListeners_
@private
extensions/amp-analytics/0.1/activity-impl.js:226
↓ 1 callersMethodsetUpMessagingForStory_
* Sets up messaging for a story inside an iframe. * @param {!StoryDef} story * @private
src/amp-story-player/amp-story-player-impl.js:600
↓ 1 callersFunctionsetUpMockXhrs
(sandbox)
extensions/amp-live-list/0.1/test/test-live-list-manager.js:39
↓ 1 callersFunctionsetUpStoryWithShoppingTag
()
extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-tag.js:61
↓ 1 callersFunctionsetUpTest
* @param {{ * environment: *, * ampDriver: *, * controller: *, * }} param0 * @param {TestSpec} param1 * @return {Promise<void>}
build-system/tasks/e2e/describes-e2e.js:656
↓ 1 callersFunctionsetUpTesting_
* Set up the e2e testing environment. * @return {!Promise<void>}
build-system/tasks/e2e/index.js:39
↓ 1 callersFunctionsetUpgradeForTest
(fn)
extensions/amp-script/0.1/amp-script.js:85
↓ 1 callersMethodsetUsedEntitlement
* @param {!EntitlementJwt} value
third_party/subscriptions-project/swg.js:1164
↓ 1 callersMethodsetUtmCampaign
* @param {string} value
third_party/subscriptions-project/swg.js:527
↓ 1 callersMethodsetUtmMedium
* @param {string} value
third_party/subscriptions-project/swg.js:541
← previousnext →11,401–11,500 of 18,703, ranked by callers