Tiny Slider's Javascript is globally initialized with our
KTAppwrapper defined in
src/js/components/app.jswithin the
initTinySlidersfunction.
To include Tiny Slider into your project, you need to include a HTML attribute
data-tns="true"within the slider element. For more options available, such as
loopparameters and more, please refer to the
options below.
Swapper instances can also be controlled programmatically. For more information on Smooth Scroll's other options, please refer to the official
plugin site.
Markup Reference
Tiny Slider uses HTML attributes to set specific configurations. Here are some references for each below. For complete list of options, please refer to the
official documentation.
HTML Attribute references
Name
Type
Description
data-tns
mandatory
Enables the current element as the Tiny Slider wrapper component. Accepts
trueor
falsevalues.