MCPcopy
hub / github.com/imakewebthings/deck.js / updateContainerState

Function updateContainerState

core/deck.core.js:90–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 };
89
90 var updateContainerState = function() {
91 var oldIndex = $container.data('onSlide');
92 $container.removeClass(options.classes.onPrefix + oldIndex);
93 $container.addClass(options.classes.onPrefix + currentIndex);
94 $container.data('onSlide', currentIndex);
95 };
96
97 var updateChildCurrent = function() {
98 var $oldCurrent = $('.' + options.classes.current);

Callers 1

updateStatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected