Currently using bootstrap.min.js in my share point slider web-part.
i have custom property "Speed" ,trying to control speed of carousel from code behind
how to do it?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Some R&D ,find solution for solution click here
Data Attributes Method Add
data-interval="3000"to your carousel div like this.
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="3000">
If you are using bootstrap carousel, then you need to provide the data-interval attribute on your main carousel div to change the speed of carousel. Ex.
<div id="my-carousel" class="carousel slide" data-interval="3000" data-ride="carousel"></div>
Here the value 3000 is in msec.
If you are not using bootstrap carousel, then specify more details what exactly you have done so far.