MCPcopy Index your code
hub / github.com/TruthHun/BookStack / ilazyload

Function ilazyload

static/js/bookstack.js:23–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23function ilazyload(){
24 $("img.lazy").lazyload({
25 effect: "fadeIn", // 载入使用何种效果
26 threshold: 200, // 提前开始加载
27 container: $(".manual-right"), // 对某容器中的图片实现效果
28 failurelimit : 0, // 图片排序混乱时
29 skip_invisible: false,
30 appear:function(ele,settings) {
31 $(this).attr("src", $(this).attr("data-original"))
32 },
33 });
34}
35
36function show_copy_btn() {
37 var btn="<button class='btn btn-danger btn-sm btn-copy'><i class='fa fa-copy'></i> 复制代码</button>";

Callers 2

load_docFunction · 0.85
bookstack.jsFile · 0.85

Calls 1

$Function · 0.50

Tested by

no test coverage detected