MCPcopy Create free account
hub / github.com/ampproject/amphtml / updateLoop

Method updateLoop

extensions/amp-base-carousel/0.1/carousel.js:580–583  ·  view source on GitHub ↗

* @param {boolean} loop Whether or not the scrollable should loop when * reaching the last slide.

(loop)

Source from the content-addressed store, hash-verified

578 * reaching the last slide.
579 */
580 updateLoop(loop) {
581 this.loop_ = loop;
582 this.updateUi();
583 }
584
585 /**
586 * @param {boolean} mixedLength Whether the slides used mixed lengths or they

Callers 4

createCarouselFunction · 0.95
updateLoop_Method · 0.80
getAttributeConfig_Method · 0.80
configureCarousel_Method · 0.80

Calls 1

updateUiMethod · 0.95

Tested by

no test coverage detected