MCPcopy Create free account

hub / github.com/ampproject/amphtml / functions

Functions18,703 in github.com/ampproject/amphtml

↓ 37 callersMethodgetPageById
* @param {string} id The ID of the page to be retrieved. * @return {!./amp-story-page.AmpStoryPage} Retrieves the page with the * specified
extensions/amp-story/1.0/amp-story.js:2276
↓ 37 callersFunctioni
(t)
third_party/d3-geo-projection/d3-geo-projection.js:1
↓ 37 callersMethodinit
* @param {function()} startTimer
extensions/amp-analytics/0.1/events.js:1035
↓ 37 callersFunctionisOpened
(sidebarElement)
extensions/amp-sidebar/1.0/test/test-component.js:8
↓ 37 callersMethodisResultValid
* Returns true if `value` is a valid result for a (tag, property) binding. * Otherwise, returns false. * @param {string} tag * @param {string
extensions/amp-bind/0.1/bind-validator.js:91
↓ 37 callersMethodmeasureMutateElement
* Runs the specified measure, then runs the mutation on the element and * ensures that remeasures and layouts are performed for the affected * e
src/base-element.js:969
↓ 37 callersFunctiontryFocus
(element)
src/core/dom/index.js:389
↓ 37 callersMethodunmount
* Unmounts the element and makes it ready for the next mounting * operation. * @final
src/custom-element.js:728
↓ 36 callersFunctionA
(e,t)
examples/amp-script/vue-todomvc.js:7
↓ 36 callersMethodassertNumber
* Throws an error if the first argument isn't a number. The allowed values * include `0` and `NaN`. * * For more details see `assert`. *
src/utils/log.js:453
↓ 36 callersMethodbuildCallback
@override
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js:570
↓ 36 callersMethodcompileCallback
@override
extensions/amp-mustache/0.1/amp-mustache.js:42
↓ 36 callersMethodcustomSnap_
* Animate and snap to the correct slide for a given scrollLeft. * @param {number} currentScrollLeft scrollLeft value of the slides container. *
extensions/amp-carousel/0.1/slidescroll.js:633
↓ 36 callersFunctionendsWith
(string, suffix)
src/core/types/string/index.js:51
↓ 36 callersMethodget
* Creates if not yet created and returns the shared Gestures instance for * the specified element. * @param {!Element} element * @param {bool
src/gesture.js:55
↓ 36 callersMethodgetLastVisibleTime
* Returns the time when the document has become visible for the last time. * If document has not yet become visible, the returned value is `null`.
src/service/ampdoc-impl.js:717
↓ 36 callersMethodgetRootElement
* Gets the root element. * @visibleForTesting * @return {?Element}
extensions/amp-story-interactive/0.1/amp-story-interactive-abstract.js:210
↓ 36 callersMethodgetSize
(el)
extensions/amp-story/1.0/background-blur.js:267
↓ 36 callersMethodisVisible
* @return {boolean}
extensions/amp-next-page/1.0/page.js:137
↓ 36 callersMethodnotifySync
(entryOrEntries)
testing/resize-observer-stub.js:34
↓ 36 callersFunctionresetServiceForTesting
(holder, id)
src/service-helpers.js:618
↓ 36 callersFunctionresolvedCss
(node, opt_normalize)
extensions/amp-animation/0.1/test/test-css-expr-resolve-calc.js:17
↓ 36 callersMethodsetVisibilityState_
* Sets the viewer defined visibility state. * @param {?string|undefined} state * @private
src/service/viewer-impl.js:517
↓ 36 callersMethodsubscribe
@override
third_party/subscriptions-project/swg.js:19397
↓ 36 callersMethodtearDown
()
testing/helpers/service.js:207
↓ 36 callersFunctiontoggleAttribute
(element, name, forced)
src/core/dom/index.js:457
↓ 36 callersFunctionutf8Encode
(string)
src/core/types/string/bytes.js:29
↓ 36 callersFunctionwaitForCarouselImg
(controller, n)
extensions/amp-base-carousel/0.1/test-e2e/helpers.js:16
↓ 36 callersFunctionwaitForNoSendRequest
(analytics)
extensions/amp-analytics/0.1/test/test-amp-analytics.js:173
↓ 35 callersFunctiona
(n)
third_party/d3/d3.js:1
↓ 35 callersFunctionel
(id)
test/unit/core/context/test-node-values.js:75
↓ 35 callersMethodget
* Get the LINKER_PARAM(name, id) value from url and clean the value * @param {string} name * @param {string} id * @return {?string}
extensions/amp-consent/0.1/linker-reader.js:29
↓ 35 callersMethodgetHandlerCount
* Returns number of handlers. Mostly needed for tests. * @return {number}
src/core/data-structures/observable.js:71
↓ 35 callersMethodgetTracker
* Returns the tracker for the specified name and type. If the tracker * has not been requested before, it will be created. * * @param {string
extensions/amp-analytics/0.1/analytics-root.js:153
↓ 35 callersMethodinitialize_
* Returns promise that resolves when page and platform configs are processed. * @return {!Promise} * @private
extensions/amp-subscriptions/0.1/amp-subscriptions.js:350
↓ 35 callersMethodlayoutCallback
@override
extensions/amp-ad/0.1/amp-ad-3p-impl.js:347
↓ 35 callersFunctionnewPerformanceResourceTiming
( url, initiatorType, startTime, duration, bodySize, cached )
extensions/amp-analytics/0.1/test/test-resource-timing.js:42
↓ 35 callersMethodregisterApiAction
* Register an action for AMP documents to execute an API handler. * * This has no effect on Bento documents, since they lack an Actions system.
src/preact/amp-base-element.js:108
↓ 35 callersFunctionremoveFragment
(url)
src/url.js:354
↓ 35 callersMethodrender
@override
extensions/amp-mustache/0.1/amp-mustache.js:109
↓ 35 callersMethodsendMessage
@override
src/service/viewer-impl.js:768
↓ 35 callersFunctionxhrServiceForTesting
(window)
src/service/xhr-impl.js:209
↓ 34 callersMethodbuildCallback
@override
extensions/amp-user-notification/0.1/amp-user-notification.js:123
↓ 34 callersFunctionformat
(val, relativeTo = 0)
extensions/amp-analytics/0.1/resource-timing.js:240
↓ 34 callersMethodgetLayoutBox
* Returns a previously measured layout box adjusted to the viewport. This * mainly affects fixed-position elements that are adjusted to be always
src/base-element.js:329
↓ 34 callersFunctiongetSlide
(styles, controller, n)
extensions/amp-base-carousel/1.0/test-e2e/helpers.js:20
↓ 34 callersFunctionisCiBuild
* Returns true if this is a CI build. * @return {boolean}
build-system/common/ci.js:24
↓ 34 callersMethodisSingleDoc
* Whether the runtime in the single-doc mode. Alternative is the shadow-doc * mode that supports multiple documents per a single window. * @retu
src/service/ampdoc-impl.js:319
↓ 34 callersMethodisVisible
* Whether the AMP document currently visible. The reasons why it might not * be visible include user switching to another tab, browser running the
src/service/ampdoc-impl.js:745
↓ 34 callersFunctionscopedQuerySelector
(root, selector)
src/core/dom/query.js:53
↓ 34 callersMethodshow
* Display the UI. * @param {boolean} isActionPromptTrigger
extensions/amp-consent/0.1/consent-ui.js:233
↓ 34 callersMethodsign
* @param {!Uint8Array} data * @return {!Promise<!Uint8Array>}
extensions/amp-a4a/0.1/test/test-signature-verifier.js:83
↓ 34 callersFunctionsnapshot
(component)
extensions/amp-list/1.0/test/test-component.js:14
↓ 34 callersMethodthen
@override
build-system/tasks/e2e/controller-promise.js:52
↓ 34 callersMethodtrigger
* @param {number} time * @param {...*} args
extensions/amp-video-docking/0.1/timeout.js:24
↓ 34 callersFunctionwaitForNextPass
()
test/integration/test-visibility-states.js:76
↓ 34 callersMethodwhenBuilt
* Returns promise that resolves when the element has been built. * @return {!Promise}
src/service/resource.js:313
↓ 33 callersMethodcontains
* Whether the node is currently contained in the DOM of the root. * @param {?Node} node * @return {boolean}
src/service/ampdoc-impl.js:551
↓ 33 callersMethoddispose
@override @abstract
extensions/amp-analytics/0.1/events.js:312
↓ 33 callersMethodexecute
* @param {!HTMLMediaElement} mediaEl The element on which this task should be * executed. * @return {!Promise} A promise that is resolved wh
extensions/amp-story/1.0/media-tasks.js:159
↓ 33 callersFunctionhas
(t,e)
third_party/react-dates/bundle.js:1
↓ 33 callersFunctioninstallTimerService
(window)
src/service/timer-impl.js:169
↓ 33 callersMethodisEnabled
()
extensions/amp-live-list/0.1/test/test-live-list-manager.js:70
↓ 33 callersFunctionisProxyOrigin
(url)
src/url.js:381
↓ 33 callersMethodmutate
* Runs the mutate operation via vsync. * @param {function():undefined} mutator
src/service/vsync-impl.js:214
↓ 33 callersMethodparseAndValidate
* Called to parse and validate the value of a mutation * @return {boolean}
extensions/amp-experiment/1.0/mutation/mutation.js:15
↓ 33 callersFunctionpropagateAttributes
( attributes, sourceElement, updateElement, opt_removeMissingAttrs )
src/core/dom/propagate-attributes.js:13
↓ 33 callersMethodregister
@param {!../video-interface.VideoInterface} video
src/service/video-manager-impl.js:182
↓ 33 callersMethodreset
* Clears the singleton variables.
third_party/subscriptions-project/swg.js:15535
↓ 33 callersMethodresolveListQuery
* @param {string} exprString * @return {string} value
src/core/dom/media-query-props.js:58
↓ 33 callersMethodset
* @param {string} hash * @param {Promise<T>} transformPromise
build-system/common/transform-cache.js:54
↓ 33 callersMethodsetDate
(date: Date)
extensions/amp-date-picker/1.0/types.ts:59
↓ 33 callersFunctionsetUrl
@param {string} href
test/unit/test-viewer.js:45
↓ 33 callersFunctiontestOrigin
(href, sourceHref)
test/unit/test-url.js:653
↓ 32 callersFunctionattachPlayerWithStories
(playerEl, numStories)
test/unit/test-amp-story-player.js:728
↓ 32 callersFunctionenv
* Shorthand to extract an environment variable. * @param {string} key * @return {string}
build-system/common/ci.js:16
↓ 32 callersFunctiongetExperimentBranch
(win, experimentName)
src/experiments/index.js:342
↓ 32 callersMethodgetRootVisibility
* @return {number}
extensions/amp-analytics/0.1/visibility-manager.js:216
↓ 32 callersFunctionhandler
(event)
extensions/amp-analytics/0.1/test/test-events.js:2292
↓ 32 callersMethodlayoutCallback
@override
extensions/amp-autocomplete/0.1/amp-autocomplete.js:510
↓ 32 callersMethodsend
* Sends a message to all subscribed windows. * @param {string} type Type of the message. * @param {!JsonObject} data Message payload.
src/iframe-helper.js:474
↓ 32 callersMethodsendMessageAwaitResponse
@override
src/service/viewer-impl.js:773
↓ 32 callersFunctionwaitForDiscover
(...nodesOrContextNodes)
test/unit/core/context/test-node-discover.js:84
↓ 31 callersMethodattachShadowDoc
* Implementation for `attachShadowDoc` function. Attaches the shadow doc and * configures ampdoc for it. * @param {!Element} hostElement * @p
src/multidoc-manager.js:219
↓ 31 callersMethodattr
(name)
extensions/amp-story-360/0.1/amp-story-360.js:305
↓ 31 callersFunctionboundValue
(val, min, max, extent)
src/core/math.js:95
↓ 31 callersFunctioncomposeStoreValue
(consentInfo)
extensions/amp-consent/0.1/consent-info.js:173
↓ 31 callersFunctionfetchCachedSources
( videoEl, ampdoc, maxBitrate = Number.POSITIVE_INFINITY )
extensions/amp-video/0.1/video-cache.js:27
↓ 31 callersMethodflush
* Ask the viewer to flush the ticks
src/service/performance-impl.js:879
↓ 31 callersFunctionfromIterator
(iterator)
src/core/types/array.js:111
↓ 31 callersFunctiongetImplSyncForTesting
(element)
src/custom-element.js:2212
↓ 31 callersFunctiongetStoreService
(win)
extensions/amp-story/1.0/amp-story-store-service.js:24
↓ 31 callersMethodgo
* @param {number} steps
testing/fake-dom.js:563
↓ 31 callersFunctionisEnumValue
(enumObj, val)
src/core/types/enum.js:11
↓ 31 callersMethodloadConfig
* @return {!Promise<JsonObject>}
extensions/amp-analytics/0.1/config.js:61
↓ 31 callersMethodonInput
* @param {!Event} unusedEvent
extensions/amp-form/0.1/form-validators.js:102
↓ 31 callersMethodonTouchStart
* The Gestures instance calls this method for each "touchstart" event. If * the recognizer wants to receive other touch events in the series, it ha
src/gesture.js:672
↓ 31 callersFunctiononce
(fn)
src/core/types/function/index.js:15
↓ 31 callersFunctionopenWindowDialog
(win, url, target, opt_features)
src/open-window-dialog.js:18
↓ 31 callersMethodregisterLocalizedStringBundles
* @param {!{[key: string]: !LocalizedStringBundleDef}} localizedStringBundles * The localized string bundle to register. * @public
src/service/localization/index.js:121
← previousnext →401–500 of 18,703, ranked by callers