gpt4 book ai didi

jquery - 从 div 中删除 slimscroll

转载 作者:行者123 更新时间:2023-12-03 22:12:28 26 4
gpt4 key购买 nike

我有一个 div,为了让它更漂亮,我使用 SlimScroll jQuery plugin在那个 div 上

$('#scrollable').slimscroll({
color: '#900',
size: '8px',
width: '300px',
height: '500px'
});

现在有一刻我希望这个 div 不再具有此属性(但具有浏览器默认滚动条)。如何删除 slimscroll

最佳答案

$("#scrollable").slimScroll({destroy: true});

关于jquery - 从 div 中删除 slimscroll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9152206/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com