Skip to content

Commit

Permalink
更新到4.10版本
Browse files Browse the repository at this point in the history
* 添加了对parent next prev的多次操作参数,现在可以通过例如_(ele).parent(3);一次性向上寻找3层了。
* 添加了jsDoc注释
* 添加了选择器出错时输出具体错误讯息
* 修复了设定css时dataUrl中的符号导致出错的问题
* 修复了getClass逻辑错误
* 修复了addClass removeClass 会使被选择的元素Class变成一样的BUG(因为replaceClass内部使用此二者实现,因此被自动修复)
* 修复了coloricon会无限增生的问题
* 优化了部份代码逻辑
* 清理了开发中残留的输出代码
  • Loading branch information
velade authored Mar 11, 2024
1 parent c0791c0 commit 7b55616
Show file tree
Hide file tree
Showing 3 changed files with 898 additions and 217 deletions.
9 changes: 6 additions & 3 deletions Help/Developer Manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -1587,10 +1587,11 @@ <h2>JavaScript</h2>
<span class="content">
<div class="w3-panel w3-card w3-light-vel">
<div class="w3-code jsHigh notranslate">
_(<元素>).parent();
_(<元素>).parent(<层数>);
</div>
<ul>
<li>_(<元素>):velfun对象,需要注意的是它与jQuery对象不通用</li>
<li><层数>:向上寻找父级的次数(层数),省略默认为一层父级</li>
</ul>
</div>
</span>
Expand All @@ -1606,10 +1607,11 @@ <h2>JavaScript</h2>
<span class="content">
<div class="w3-panel w3-card w3-light-vel">
<div class="w3-code jsHigh notranslate">
_(<元素>).next();
_(<元素>).next(<次数>);
</div>
<ul>
<li>_(<元素>):velfun对象,需要注意的是它与jQuery对象不通用</li>
<li><层数>:向后寻找兄弟元素的次数,省略默认为下一个元素</li>
</ul>
</div>
</span>
Expand All @@ -1625,10 +1627,11 @@ <h2>JavaScript</h2>
<span class="content">
<div class="w3-panel w3-card w3-light-vel">
<div class="w3-code jsHigh notranslate">
_(<元素>).prev();
_(<元素>).prev(<层数>);
</div>
<ul>
<li>_(<元素>):velfun对象,需要注意的是它与jQuery对象不通用</li>
<li><层数>:向前寻找兄弟元素的次数,省略默认为上一个元素</li>
</ul>
</div>
</span>
Expand Down
Loading

0 comments on commit 7b55616

Please sign in to comment.