加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
doc.html 2.31 KB
一键复制 编辑 原始数据 按行查看 历史
Simba 提交于 2022-01-07 00:35 . 压缩dist以及转ES5
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>love-u.js文档</title>
<style>
h3 {
border-left: 4px solid #c33;
padding: 5px 10px;
background-color: #f5f5f5;
}
</style>
</head>
<body>
<div style="width: 600px;margin: 30px auto;">
<div style="text-align: center;">
<input type="search" id="key" style="padding-left:10px;height: 35px;width: 300px;">
</div>
<h3>repair0</h3><h3>convertObj2Str</h3><h3>eq</h3><h3>assign</h3><h3>pairs</h3><h3>convertStr2Obj</h3><h3>keys</h3><h3>values</h3><h3>trimFields</h3><h3>pickObj</h3><h3>arrayLike2Array</h3><h3>pick</h3><h3>indexOf</h3><h3>lastIndexOf</h3><h3>push</h3><h3>join</h3><h3>remove</h3><h3>removeAt</h3><h3>removeAll</h3><h3>splice</h3><h3>shift</h3><h3>reverse</h3><h3>insertAt</h3><h3>unshift</h3><h3>pop</h3><h3>forEach</h3><h3>some</h3><h3>every</h3><h3>count</h3><h3>filter</h3><h3>map</h3><h3>includes</h3><h3>find</h3><h3>findIndex</h3><h3>getQueryParams</h3><h3>loadScript</h3><h3>calcPostion</h3><h3>convertRem2Px</h3><h3>convertData2Tree</h3><h3>setCookie</h3><h3>removeCookie</h3><h3>getCookie</h3><h3>limitStr</h3><h3>reverseStr</h3><h3>includes</h3><h3>startsWith</h3><h3>toNumber</h3><h3>toCapitalized</h3><h3>mosaic</h3><h3>checkStrNullOrEmpty</h3><h3>hasVal</h3><h3>checkStrLength</h3><h3>getRndColor</h3><h3>getProvinceEName</h3><h3>convertMysqlTime2JSTime</h3><h3>formatMs2Obj</h3><h3>parseFullTime</h3><h3>parseYMD</h3><h3>parseHMS</h3><h3>parseWeek</h3><h3>parseHMSWeek</h3><h3>parseMS</h3><h3>parseTime</h3><h3>getFormatWeek</h3><h3>getCurrentWeekDates</h3><h3>getCurrentWeekDatesYMD</h3><h3>getCurrentWeekRange</h3><h3>getCurrentWeekRange2</h3><h3>debounce</h3><h3>throttling</h3><h3>compose</h3><h3>isLeapYear</h3><h3>toENChar</h3><h3>isOdd</h3><h3>isEven</h3>
</div>
</body>
<script>
let key = document.querySelector("#key")
let h3List = document.querySelectorAll("h3")
key.oninput = () => {
for (let i = 0; i < h3List.length; i++) {
const element = h3List[i];
element.style.display = element.textContent.includes(key.value) ? 'block' : 'none'
}
}
</script>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化