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
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:745
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:859
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:915
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1019
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1092
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1257
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1333
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1509
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1586
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1657
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1711
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1764
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1936
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:1996
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2049
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2119
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2173
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2260
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2315
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2368
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2472
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2599
Method
toArray
* @param {boolean=} includeLabel * @return {!Array<?>} * @override
third_party/subscriptions-project/swg.js:2652
Function
toISODateString
(e,t)
third_party/react-dates/bundle.js:1
Function
toISOMonthString
(t,e)
third_party/react-dates/bundle.js:1
Function
toLocalizedDateString
(e,t)
third_party/react-dates/bundle.js:1
Function
toMomentObject
(t,e)
third_party/react-dates/bundle.js:1
Method
toString
@override
extensions/amp-experiment/1.0/mutation/character-data-mutation.js:32
Method
toString
@override
extensions/amp-experiment/1.0/mutation/attribute-mutation-default-style.js:146
Method
toString
@override
extensions/amp-experiment/1.0/mutation/attribute-mutation-default-class.js:44
Method
toString
@override
extensions/amp-experiment/1.0/mutation/attribute-mutation-default-url.js:71
Function
toUpperCase
* @param {string} _match * @param {string} character * @return {string}
src/core/types/string/index.js:6
Method
today
* @param {number|undefined} offset
extensions/amp-date-picker/1.0/component.type.js:10
Method
todayAction_
* Trigger an action that consumes the current day plus an offset * @param {function(!moment)} cb * @param {!../../../src/service/action-impl.Act
extensions/amp-date-picker/0.1/amp-date-picker.js:664
Method
toggle
* Sets or removes the `disabled` property on the amp-live-list component. * * @param {boolean} unusedValue
extensions/amp-live-list/0.1/amp-live-list.js:58
Method
toggleAmpPlay_
* @param {boolean} value * @private
3p/3d-gltf/viewer.js:262
Method
toggleAmpViewport_
* @param {boolean} inVp * @private
3p/3d-gltf/viewer.js:270
Method
toggleAnimation
@param {boolean} isPlaying
src/service/video-manager-impl.js:848
Method
toggleChecked
* Action toggleChecked. * @param {boolean} condition * @protected
extensions/amp-access-scroll/0.1/scroll-component.js:100
Method
toggleClass
* * @param {string} className * @param {boolean} condition * @protected
extensions/amp-access-scroll/0.1/scroll-component.js:86
Function
toggleDetailsText_
* Expands or collapses details text. * @param {!Element} detailsContainer * @param {boolean} shouldOpen * @private
extensions/amp-story-shopping/0.1/amp-story-shopping-attachment.js:338
Method
toggleElements
@param {boolean} shouldDisplay
src/service/video-manager-impl.js:839
Function
toggleExperiment_
* Toggles the experiment. * @param {string} id * @param {string} name * @param {boolean=} opt_on
tools/experiments/experiments.js:313
Method
toggleFallback
* Hides or shows the fallback, if available. This function must only * be called inside a mutate context. * @param {boolean} show * @pa
src/custom-element.js:1972
Function
toggleFullscreen
* @param {object} global
ads/google/ima/ima-video.js:1255
Function
toggleObserveIntersection
()
examples/ac-creative.js:50
Function
toggleObserveVisibility
()
examples/ac-creative.js:59
Method
togglePauseAction_
* @return {?Promise} * @private
extensions/amp-animation/0.1/amp-animation.js:262
Method
togglePlay
* The togglePlay action. * @param {string} id Receiver id.
extensions/amp-gwd-animation/0.1/amp-gwd-animation-impl.js:333
Function
toggleProxy
(unusedE)
testing/local-amp-chrome-extension/popup.js:5
Method
toggleRuntime
()
src/service/viewer-interface.js:71
Method
toggleRuntime
@override
src/inabox/inabox-viewer.js:65
Function
toggleShoppingTagActive_
* Toggling the active attribute to make the animations play on the active page. * @param {string} currentPageId * @private
extensions/amp-story-shopping/0.1/amp-story-shopping-tag.js:112
Method
tokenMessageHandler_
* Function to handle token messages from the recaptcha iframe * * NOTE: Use bracket notation to access message properties, * As the externs w
extensions/amp-recaptcha-input/0.1/amp-recaptcha-service.js:366
Function
top
()
test/unit/test-fixed-layer.js:261
Method
top
* @return {?RelativePositions_Enum}
extensions/amp-next-page/1.0/visibility-observer.js:52
Function
torimochi
(global, data)
ads/vendors/torimochi.js:9
Method
touchEndHandler_
* Handles touchend event. * @private
extensions/amp-carousel/0.1/slidescroll.js:413
Method
touchMoveHandler_
* Handles touchmove event. * @private
extensions/amp-carousel/0.1/slidescroll.js:324
Method
tr
(time)
src/service/fixed-layer.js:890
Function
tracdelight
(global, data)
ads/vendors/tracdelight.js:7
Function
track
({componentColor, trackId, ...args})
extensions/amp-soundcloud/1.0/storybook/Basic.js:12
Method
track
* @param {!AmpElement} element
src/service/loading-indicator.js:63
Function
trafficstars
(global, data)
ads/vendors/trafficstars.js:31
Method
transferTo
@override
src/service/fixed-layer.js:1071
Function
transform
(payload: Partial<PickState<'posX' | 'posY' | 'scale'>>)
extensions/amp-pan-zoom/1.0/hooks/usePanZoomState.ts:203
Function
transformRootSelectors
* Replaces top-level selectors such as `html` and `body` with their polyfill * counterparts: `amp-html` and `amp-body`. * @param {string} selector
src/shadow-embed.js:249
Function
transformSync
(content: string)
build-system/server/new-server/transforms/transform.ts:34
Function
translateX
(value)
src/core/dom/style.js:246
Method
trigger
* @param {string} eventType * @param {!JsonObject=} opt_vars A map of vars and their values.
src/extension-analytics.js:97
Method
trigger
* Triggers a custom event for the associated root, or buffers them if the * observables aren't present yet. * @param {!AnalyticsEvent} event
extensions/amp-analytics/0.1/events.js:612
Method
triggerEvent
@override
extensions/amp-accordion/1.0/amp-accordion.js:38
Method
triggerEvent
@override
extensions/amp-base-carousel/1.0/amp-base-carousel.js:49
Method
triggerEvent
@override
extensions/amp-lightbox/1.0/amp-lightbox.js:52
Method
triggerEventForTarget
(nodeOrDoc, eventType, opt_vars)
test/unit/test-extension-analytics.js:232
Method
triggerLoginRequest
@override
third_party/subscriptions-project/swg.js:19344
Method
trigger_
* Triggers the signal. * @return {*} TODO(#23582): Specify return type * @private
src/builtins/amp-pixel/amp-pixel.js:62
Method
trimOrigin
(origin)
src/service/viewer-impl.js:401
Function
triplelift
(global, data)
ads/vendors/triplelift.js:7
Function
trueThunk
()
third_party/react-dates/bundle.js:1
Function
trugaze
(global)
ads/vendors/trugaze.js:6
Function
typeCheck
* Performs tsc type-checking on the target provided. * @param {string} targetName key in TSC_TYPECHECK_TARGETS * @return {!Promise<void>}
build-system/tasks/check-types.js:31
Function
u
()
examples/amp-script/todomvc.ssr.js:2
Function
ua
(t,n)
third_party/d3-geo-projection/d3-geo-projection.js:1
Function
uas
(global, data)
ads/vendors/uas.js:58
Function
ucfunnel
(global, data)
ads/vendors/ucfunnel.js:7
Function
uiTickerClick
* Called when our ui timer goes off. Updates the player UI.
ads/google/ima/ima-video.js:934
Function
un
()
examples/amp-script/vue-todomvc.js:7
Function
unannotatedUse
* Unannotated fields must be used in the class * * @param {CompilerNode} node * @param {string} name * @param {boolean} used
build-system/eslint-rules/unused-private-field.js:150
Function
unassignSlot
(node, slot)
src/core/context/index.js:32
Function
uncheckableUse
* Protected and Override are uncheckable. Let Closure handle that.
build-system/eslint-rules/unused-private-field.js:139
Function
unit
* @return {Promise<void>}
build-system/tasks/unit.js:34
Method
unlayoutCallback
* Requests the element to unload any expensive resources when the element * goes into non-visible state. The scope is up to the actual component.
src/custom-element.js:1727
Method
unlayoutCallback
* Requests the element to unload any expensive resources when the element * goes into non-visible state. The scope is up to the actual component.
src/base-element.js:635
Method
unlayoutCallback
@override
extensions/amp-facebook-like/0.1/amp-facebook-like.js:115
Method
unlayoutCallback
@override
extensions/amp-date-countdown/0.1/amp-date-countdown.js:176
Method
unlayoutCallback
@override
extensions/amp-gfycat/0.1/amp-gfycat.js:160
Method
unlayoutCallback
@override
extensions/amp-riddle-quiz/0.1/amp-riddle-quiz.js:86
Method
unlayoutCallback
@override
extensions/amp-stream-gallery/0.1/amp-stream-gallery.js:377
Method
unlayoutCallback
@override
extensions/amp-facebook-page/0.1/amp-facebook-page.js:121
← previous
next →
18,301–18,400 of 18,703, ranked by callers