MCPcopy
hub / github.com/metafizzy/flickity / checkSelectHeight

Function checkSelectHeight

test/unit/adaptive-height.js:10–13  ·  view source on GitHub ↗
( index, height )

Source from the content-addressed store, hash-verified

8 // 2,1,3, 1,4,2, 1,2,1
9
10 function checkSelectHeight( index, height ) {
11 flkty.select( index, false, true );
12 assert.equal( flkty.viewport.style.height, height + 'px', 'slide ' + index );
13 }
14
15 checkSelectHeight( 0, 200 );
16 checkSelectHeight( 1, 100 );

Callers 1

adaptive-height.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…