MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 2 callersMethodsetReadyToPay
* @param {boolean} value
third_party/subscriptions-project/swg.js:569
↓ 2 callersMethodsetRoleAttribute_
* Adds the 'role' attribute to the element. * For amp-lists with 'single-item' enabled, we should not specify the * role of 'list' on the contai
extensions/amp-list/0.1/amp-list.js:578
↓ 2 callersMethodsetService
* @param {!AmpScriptService} service * @visibleForTesting
extensions/amp-script/0.1/amp-script.js:213
↓ 2 callersFunctionsetSlides
* @param {number} count * @return {!Array<!Element>}
extensions/amp-base-carousel/0.1/test/test-carousel.js:30
↓ 2 callersMethodsetStateAndUpdateHistory_
* Merges a state object into the current global state. * @param {!JsonObject} state * @return {!Promise} * @private
extensions/amp-bind/0.1/bind-impl.js:353
↓ 2 callersMethodsetStateWithObject
* Sanitizes a state object and merges the resulting object into the current * state. * @param {!JsonObject} state * @return {!Promise}
extensions/amp-bind/0.1/bind-impl.js:338
↓ 2 callersFunctionsetStruct
* * @param {Map<K, V>} map * @param {K} key * @param {CompilerNode} node * @param {*} declaration * @return {string[]}
build-system/eslint-rules/prefer-destructuring.js:66
↓ 2 callersMethodsetSubscriptionTimestamp
* @param {!Timestamp} value
third_party/subscriptions-project/swg.js:1500
↓ 2 callersMethodsetTrackingInfo
* Setter to update the tracking data from outside the class. * This is mainly used for setting the guid that we receive from beaconAPI. * @param
extensions/amp-skimlinks/0.1/tracking.js:66
↓ 2 callersFunctionsetTransparentBody
* Sets the document body to transparent to allow for frame "merging". * @param {!Window} win * @param {!HTMLBodyElement} body * @private
extensions/amp-lightbox/0.1/amp-lightbox.js:875
↓ 2 callersMethodsetUpAdvancementConfig_
* Sets up the advancement config depending upon the * @param {boolean=} handlePreviewToVisibleTransition * @private
extensions/amp-story/1.0/amp-story-page.js:356
↓ 2 callersMethodsetUpCaptions_
* Connects to amp-story-captions component. * @private
extensions/amp-video/0.1/amp-video.js:769
↓ 2 callersFunctionsetUpInlinedVideoResponse
()
extensions/amp-video/0.1/test/test-video-cache.js:697
↓ 2 callersMethodsetUpListenersFromArray_
* @private * @param {!EventTarget} target * @param {Array<string>} events * @param {function()} listener
extensions/amp-analytics/0.1/activity-impl.js:255
↓ 2 callersMethodsetVideoElement
* Attaches caption rendering to a video element. Called from amp-video. * @param {!HTMLVideoElement} video
extensions/amp-story-captions/0.1/amp-story-captions.js:63
↓ 2 callersMethodsetViewportMetaString_
* Updates touch zoom meta data. Returns `true` if any actual * changes have been done. * @param {string} viewportMetaString * @return {boolea
src/service/viewport/viewport-impl.js:876
↓ 2 callersMethodsetVolume_
* Updates the volume of the provided media element. * @param {!DomElementDef} domMediaEl The media element whose volume will be set. * @param {n
extensions/amp-story/1.0/media-pool.js:929
↓ 2 callersMethodset_
* @param {string} href
testing/fake-dom.js:465
↓ 2 callersFunctionsetupAutocomplete
( attributes, json = '{ "items" : ["apple", "banana", "orange"] }', wantInlineData = true
extensions/amp-autocomplete/0.1/test/test-amp-autocomplete-init.js:18
↓ 2 callersMethodsetupButtonInteraction
* @param {!HTMLDivElement} button * @param {*} onInteraction
extensions/amp-carousel/0.2/amp-carousel.js:218
↓ 2 callersMethodsetupButtonInteraction
* @param {HTMLDivElement} button * @param {*} onInteraction
extensions/amp-carousel/0.1/carousel-controls.js:76
↓ 2 callersMethodsetupEvents_
* @private
extensions/amp-pan-zoom/0.1/amp-pan-zoom.js:451
↓ 2 callersMethodsetupGestures_
@private
extensions/amp-image-viewer/0.1/amp-image-viewer.js:451
↓ 2 callersMethodsetupGestures_
* Set up gestures for the specified element. * @param {!Element} element * @private
extensions/amp-sidebar/0.2/amp-sidebar.js:590
↓ 2 callersMethodsetupGestures_
* Set up gestures for the specified element. * @param {!Element} element * @private
extensions/amp-sidebar/0.1/amp-sidebar.js:595
↓ 2 callersMethodsetupMessaging
* @param {!./messaging/messaging.Messaging} messaging
extensions/amp-viewer-integration/0.1/highlight-handler.js:433
↓ 2 callersMethodsetupMetadataFromContext_
* Set the metadata attributes from the "context" instance directly. * @param {!Object} context * @private
3p/ampcontext.js:359
↓ 2 callersMethodsetupMetadata_
* Parse the metadata attributes from the name and add them to * the class instance. * @param {string} data * @private
3p/ampcontext.js:332
↓ 2 callersFunctionsetupMockXhr
()
test/unit/test-xhr-document-fetcher.js:11
↓ 2 callersFunctionsetupPDP
()
extensions/amp-story-shopping/0.1/test/test-amp-story-shopping-attachment.js:237
↓ 2 callersMethodsetupTemplates_
* Fetch and parse any templates specified via the `src` attribute. * @return {!Promise} * @private
extensions/amp-date-picker/0.1/amp-date-picker.js:1187
↓ 2 callersFunctionshallowDiffers
* Duplicated from Preact PureComponent implementation. * https://github.com/developit/preact-compat/blob/ae018abb/src/index.js#L402 * Shallow compar
extensions/amp-date-picker/0.1/react-utils.js:70
↓ 2 callersFunctionshallowEqual
(t,e)
third_party/react-dates/bundle.js:1
↓ 2 callersMethodshift_
* Move the slider by a given amount. * @param {number} delta
extensions/amp-story-interactive/0.1/amp-story-interactive-slider.js:262
↓ 2 callersMethodshouldAllowScroll
* Returns whether scrolling on main page should be allowed when * subscription or contribution dialog is displayed. * @return {boolean}
third_party/subscriptions-project/swg.js:9698
↓ 2 callersMethodshouldAutoAdvance_
* @return {boolean} Whether or not autodadvancing should occur. * @private
extensions/amp-base-carousel/0.1/auto-advance.js:203
↓ 2 callersFunctionshouldBuildVendorConfigs
* Returns true when the CLI flags indicate that vendor configs should be built. * @return {boolean}
build-system/tasks/3p-vendor-helpers.js:18
↓ 2 callersMethodshouldFadeBody
* @return {boolean} * @abstract
third_party/subscriptions-project/swg.js:2862
↓ 2 callersFunctionshouldFail
(id)
test/integration/test-errors.js:50
↓ 2 callersMethodshouldInitializePromiseChain_
* @return {boolean} whether environment/element should initialize ad request * promise chain. * @private
extensions/amp-a4a/0.1/amp-a4a.js:602
↓ 2 callersFunctionshouldMutationForNodeListBeRerendered
* @param {NodeList} nodeList * @return {boolean}
src/preact/base-element.js:943
↓ 2 callersMethodshouldPreferentialRenderWithoutCrypto
* Whether preferential render should still be utilized if web crypto is * unavailable, and crypto signature header is present. * @return {boolea
extensions/amp-a4a/0.1/amp-a4a.js:2471
↓ 2 callersMethodshouldRenderAbove_
* Returns true if the input is in the bottom half of the viewport. * Should be called in a measureMutate context. * @return {boolean} * @priv
extensions/amp-autocomplete/0.1/amp-autocomplete.js:1015
↓ 2 callersMethodshowCloseAction
* Renders or hides the "Close" action button. For some flows, this button * should be hidden. * @param {boolean} show
extensions/amp-subscriptions/0.1/dialog.js:188
↓ 2 callersMethodshowContributionOptions
@override
third_party/subscriptions-project/swg.js:19315
↓ 2 callersMethodshowControls
@override
extensions/amp-jwplayer/0.1/amp-jwplayer.js:183
↓ 2 callersMethodshowControls
@override
extensions/amp-3q-player/0.1/amp-3q-player.js:251
↓ 2 callersMethodshowControls
@override
extensions/amp-delight-player/0.1/amp-delight-player.js:605
↓ 2 callersMethodshowControls
@override
extensions/amp-ima-video/0.1/amp-ima-video.js:399
↓ 2 callersMethodshowFirstPageHintOverlay
* Show navigation overlay DOM.
extensions/amp-story/1.0/amp-story-hint.js:191
↓ 2 callersMethodshowHint_
* Shows the given hint, only if not desktop. * @param {string} hintClass * @private
extensions/amp-story/1.0/amp-story-hint.js:150
↓ 2 callersMethodshowOverlay_
* Show the lightbox overlay (description and controls). * @private
extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.js:578
↓ 2 callersMethodshowPostloadSection_
@private
extensions/amp-web-push/0.1/amp-web-push-permission-dialog.js:196
↓ 2 callersMethodshowSubscriptionsDialog_
* @private
extensions/amp-story/1.0/amp-story.js:1690
↓ 2 callersMethodshowTargetPermissionSection_
@private
extensions/amp-web-push/0.1/amp-web-push-permission-dialog.js:175
↓ 2 callersMethodshowTemplate_
* @param {!Element} template * @private
extensions/amp-story-education/0.1/amp-story-education.js:259
↓ 2 callersFunctionshowVideoAd
* @param {!AmpElement} adWrap * @param {!AmpElement} progressBar * @param {!JsonObject} idleOptions
extensions/amp-apester-media/0.1/monetization/inUnit/video.js:54
↓ 2 callersMethodshow_
@private
extensions/amp-video-docking/0.1/controls.js:387
↓ 2 callersMethodshow_
* Show the iframe. * @private
third_party/subscriptions-project/swg.js:11128
↓ 2 callersMethodsignalPending
* The recognizer can call this method to communicate that it needs more * time (timeLeft) to match the gesture. By the end of this time the * re
src/gesture.js:626
↓ 2 callersMethodsignals
* See `BaseElement`. * @return {!./utils/signals.Signals}
src/video-interface.js:31
↓ 2 callersMethodsingleValue_
* @param {!Object} json * @param {string} name * @return {*}
third_party/subscriptions-project/config.js:966
↓ 2 callersMethodsize
* The current buffer size. * @return {number}
extensions/amp-viewer-integration/0.1/findtext.js:45
↓ 2 callersMethodskipEdge
()
testing/test-config.js:56
↓ 2 callersFunctionskipMicro
()
test/unit/test-runtime.js:362
↓ 2 callersFunctionskipMicroTask
()
test/unit/test-custom-element.js:157
↓ 2 callersMethodskipViewerDemo
* @return {ItConfig}
build-system/tasks/e2e/describes-e2e.js:312
↓ 2 callersFunctionslideChangeEventAfterClicking
* Attach an event listener to page to capture the 'slideChange' event. * If given a selector, click on it to fire the event being listened for.
extensions/amp-base-carousel/0.1/test-e2e/test-mixed-length-arrows.js:20
↓ 2 callersMethodslowScan_
* Removes bindings for nodes in `remove`, then scans for bindings in `add`. * Return promise that resolves upon completion with struct containing n
extensions/amp-bind/0.1/bind-impl.js:1578
↓ 2 callersMethodsortInDomOrder_
* @private
src/service/fixed-layer.js:768
↓ 2 callersFunctionsourceIncludes
* Returns `true` if the class's source contains the given substring. * * @param {typeof BaseElement} implClass * @param {string} substring * @retu
testing/element-v1.js:143
↓ 2 callersFunctionsources
* Returns the source element for which the callback returns true. * @param {!Element} video * @param {function(!HTMLSourceElement):boolean} fn * @r
extensions/amp-video/0.1/flexible-bitrate.js:312
↓ 2 callersFunctionspawnProcess
* Spawns the given command in a child process with the given options. * Special-cases the AMP task runner so that it is correctly spawned on all * p
build-system/common/process.js:21
↓ 2 callersFunctionsquaredCompare
(set, callback)
extensions/amp-auto-lightbox/0.1/test/test-amp-auto-lightbox.js:74
↓ 2 callersFunctionst
(n,t,e)
third_party/d3/d3.js:1
↓ 2 callersMethodstart
* Do some initial setup.
extensions/amp-access/0.1/amp-access-source.js:276
↓ 2 callersMethodstart
* Invoked when the advancement configuration should begin taking effect. * @param {number=} unusedProgressStartVal An optional value at which to
extensions/amp-story/1.0/page-advancement.js:163
↓ 2 callersMethodstart
* Starts the payments completion flow. * @param {{ * productType: string, * oldSku: ?string, * paymentRecurrence: ?number, * }} r
third_party/subscriptions-project/swg.js:5921
↓ 2 callersMethodstartDoc
* Handler called when the parser is starting to parse the document.
validator/js/engine/htmlparser-interface.js:425
↓ 2 callersMethodstartInternal_
@private
extensions/amp-access/0.1/amp-access.js:317
↓ 2 callersMethodstartListening
* @public
extensions/amp-story/1.0/amp-story-viewer-messaging-handler.js:104
↓ 2 callersMethodstartMeasuringAllVideoPerformance_
* Starts measuring video performance metrics, if performance tracking is on. * Has to be called directly before playing the video. * @private
extensions/amp-story/1.0/amp-story-page.js:1711
↓ 2 callersFunctionstartObserver
(target, cb, opt_errorMessage)
extensions/amp-image-slider/0.1/test/integration/test-amp-image-slider.js:1023
↓ 2 callersMethodstartTag
* Handler called when the parser found a new tag. * @param {!ParsedHtmlTag} tag
validator/js/engine/htmlparser-interface.js:401
↓ 2 callersMethodstart_
* @return {!AccessService} * @private * @restricted
extensions/amp-access/0.1/amp-access.js:307
↓ 2 callersMethodstart_
* Starts the payments flow for the given version. * @param {!string=} paySwgVersion * @return {!Promise}
third_party/subscriptions-project/swg.js:5745
↓ 2 callersMethodstatesToTransition_
* Transforms the state transition into a key which identifies a callback. * @private * @param {STATE} oldState * @param {STATE} newState *
src/core/data-structures/finite-state-machine.js:63
↓ 2 callersFunctionstep
(method, result)
testing/yield.js:23
↓ 2 callersMethodstepLeft_
* One step left * @param {boolean=} opt_toEnd * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:569
↓ 2 callersMethodstepRight_
* One step right * @param {boolean=} opt_toEnd * @private
extensions/amp-image-slider/0.1/amp-image-slider.js:605
↓ 2 callersMethodstop
@public
src/service/video-manager-impl.js:1480
↓ 2 callersMethodstop
* Stops the auto advance. Once stopped, auto advance cannot be started * again. This sets the `stopped_` flag, which is checked in * `shouldAut
extensions/amp-base-carousel/0.1/auto-advance.js:96
↓ 2 callersMethodstopMeasuringAllVideoPerformance_
* Stops measuring video performance metrics, if performance tracking is on. * Computes and sends the metrics. * @param {boolean=} sendMetrics
extensions/amp-story/1.0/amp-story-page.js:1743
↓ 2 callersMethodstopTimer_
* @param {number} timerId * @private
extensions/amp-analytics/0.1/events.js:1321
↓ 2 callersMethodstorageFor_
* @param {!StorageLocation} location * @return {?Storage} * @private
extensions/amp-script/0.1/amp-script.js:941
↓ 2 callersMethodstoreAndMaybeUpdateAspectRatio_
* Store aspect ratio of the loaded story and and maybe update the active aspect ratio. * @param {!StoryDef} story * @private
src/amp-story-player/amp-story-player-impl.js:1160
↓ 2 callersFunctionstoreShoppingConfig
(pageElement, config)
extensions/amp-story-shopping/0.1/amp-story-shopping-config.js:83
↓ 2 callersMethodstore_
* @param {?JsonObject} data * @private
extensions/amp-access/0.1/amp-access-iframe.js:237
↓ 2 callersFunctionstreamer
* @param {string} text * @param {boolean} done
ads/google/a4a/line-delimited-response-handler.js:16
↓ 2 callersFunctionstringifyValue
* Transforms a statically computable sourcetext path (aka an AST node) into * a JSON stringified value. * * Special "includes" may be used jo
build-system/babel-plugins/babel-plugin-transform-json-configuration/index.js:33
← previousnext →6,901–7,000 of 18,703, ranked by callers