Javascript 如何在幻灯片中添加点

Javascript 如何在幻灯片中添加点,javascript,slider,Javascript,Slider,Im为滑块使用tihs如何为滑块添加单选按钮 $(document).ready(function () { $('#owl-example').sliderPro({ width: '100%', buttons: false, slideDistance: 0, touchSwipe: false, autoplay: false, keyboard: false, bre

Im为滑块使用tihs如何为滑块添加单选按钮

$(document).ready(function () {
    $('#owl-example').sliderPro({
        width: '100%',
        buttons: false,
        slideDistance: 0,
        touchSwipe: false,
        autoplay: false,
        keyboard: false,
        breakpoints: {
            1920: {
                height: '800px',
            },
            1600: {
                height: '650px',
            },
            1024: {
                height: '590px',
            },
            720: {
                height: '360px',
            },
            525: {
                height: '285px',
            },
            400: {
                height: '220px',
            },
            320: {
                height: '180px',
            }
        }
    });

我尝试添加点:true,但它不起作用。是否有其他方法可以添加以使按钮显示?

按钮:false更改为
按钮:true
,或将其删除

@Pepito I删除了OP的C#标签。免费标签垃圾邮件:-(
buttons
    Indicates whether the buttons will be created.
    Default value: true