Skip to main content
Version: 4.12.0

Rendering elements inside the wrapper element

You can place elements inside the .flicking-viewport element like the following:

html
<div id="flick" class="flicking-viewport">
<div class="flicking-camera">
<div class="panel">1</div>
<div class="panel">2</div>
<div class="panel">3</div>
</div>
<span class="item-inside-viewport"></span>
<span class="item-inside-viewport"></span>
</div>
js
import Flicking from "@egjs/flicking";

const flicking = new Flicking("#flick", {
circular: true
});